diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..daf913b --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test +*.prof diff --git a/README.md b/README.md new file mode 100644 index 0000000..9809ddd --- /dev/null +++ b/README.md @@ -0,0 +1,497 @@ +# Go API client for lidarr + +Lidarr API docs + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. + +- API version: 1.0.0 +- Package version: 0.0.1 +- Build package: org.openapitools.codegen.languages.GoClientCodegen + +## Installation + +Install the following dependencies: + +```shell +go get github.com/stretchr/testify/assert +go get golang.org/x/oauth2 +go get golang.org/x/net/context +``` + +Put the package under your project folder and add the following in import: + +```golang +import lidarr "github.com/devopsarr/lidarr-go" +``` + +To use a proxy, set the environment variable `HTTP_PROXY`: + +```golang +os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port") +``` + +## Configuration of Server URL + +Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification. + +### Select Server Configuration + +For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`. + +```golang +ctx := context.WithValue(context.Background(), lidarr.ContextServerIndex, 1) +``` + +### Templated Server URL + +Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`. + +```golang +ctx := context.WithValue(context.Background(), lidarr.ContextServerVariables, map[string]string{ + "basePath": "v2", +}) +``` + +Note, enum values are always validated and all unused variables are silently ignored. + +### URLs Configuration per Operation + +Each operation can use different server URL defined using `OperationServers` map in the `Configuration`. +An operation is uniquely identified by `"{classname}Service.{nickname}"` string. +Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. + +```golang +ctx := context.WithValue(context.Background(), lidarr.ContextOperationServerIndices, map[string]int{ + "{classname}Service.{nickname}": 2, +}) +ctx = context.WithValue(context.Background(), lidarr.ContextOperationServerVariables, map[string]map[string]string{ + "{classname}Service.{nickname}": { + "port": "8443", + }, +}) +``` + +## Documentation for API Endpoints + +All URIs are relative to *http://localhost:8686* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*AlbumApi* | [**CreateApiV1Album**](docs/AlbumApi.md#createapiv1album) | **Post** /api/v1/album | +*AlbumApi* | [**DeleteApiV1Album**](docs/AlbumApi.md#deleteapiv1album) | **Delete** /api/v1/album/{id} | +*AlbumApi* | [**GetApiV1AlbumById**](docs/AlbumApi.md#getapiv1albumbyid) | **Get** /api/v1/album/{id} | +*AlbumApi* | [**ListApiV1Album**](docs/AlbumApi.md#listapiv1album) | **Get** /api/v1/album | +*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 | +*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} | +*ArtistApi* | [**GetApiV1ArtistById**](docs/ArtistApi.md#getapiv1artistbyid) | **Get** /api/v1/artist/{id} | +*ArtistApi* | [**ListApiV1Artist**](docs/ArtistApi.md#listapiv1artist) | **Get** /api/v1/artist | +*ArtistApi* | [**UpdateApiV1Artist**](docs/ArtistApi.md#updateapiv1artist) | **Put** /api/v1/artist/{id} | +*ArtistEditorApi* | [**DeleteApiV1ArtistEditor**](docs/ArtistEditorApi.md#deleteapiv1artisteditor) | **Delete** /api/v1/artist/editor | +*ArtistEditorApi* | [**PutApiV1ArtistEditor**](docs/ArtistEditorApi.md#putapiv1artisteditor) | **Put** /api/v1/artist/editor | +*ArtistLookupApi* | [**GetApiV1ArtistLookup**](docs/ArtistLookupApi.md#getapiv1artistlookup) | **Get** /api/v1/artist/lookup | +*AuthenticationApi* | [**CreateLogin**](docs/AuthenticationApi.md#createlogin) | **Post** /login | +*AuthenticationApi* | [**GetLogout**](docs/AuthenticationApi.md#getlogout) | **Get** /logout | +*BackupApi* | [**CreateApiV1SystemBackupRestoreById**](docs/BackupApi.md#createapiv1systembackuprestorebyid) | **Post** /api/v1/system/backup/restore/{id} | +*BackupApi* | [**CreateApiV1SystemBackupRestoreUpload**](docs/BackupApi.md#createapiv1systembackuprestoreupload) | **Post** /api/v1/system/backup/restore/upload | +*BackupApi* | [**DeleteApiV1SystemBackup**](docs/BackupApi.md#deleteapiv1systembackup) | **Delete** /api/v1/system/backup/{id} | +*BackupApi* | [**ListApiV1SystemBackup**](docs/BackupApi.md#listapiv1systembackup) | **Get** /api/v1/system/backup | +*BlocklistApi* | [**DeleteApiV1Blocklist**](docs/BlocklistApi.md#deleteapiv1blocklist) | **Delete** /api/v1/blocklist/{id} | +*BlocklistApi* | [**DeleteApiV1BlocklistBulk**](docs/BlocklistApi.md#deleteapiv1blocklistbulk) | **Delete** /api/v1/blocklist/bulk | +*BlocklistApi* | [**GetApiV1Blocklist**](docs/BlocklistApi.md#getapiv1blocklist) | **Get** /api/v1/blocklist | +*CalendarApi* | [**GetApiV1CalendarById**](docs/CalendarApi.md#getapiv1calendarbyid) | **Get** /api/v1/calendar/{id} | +*CalendarApi* | [**ListApiV1Calendar**](docs/CalendarApi.md#listapiv1calendar) | **Get** /api/v1/calendar | +*CalendarFeedApi* | [**GetFeedV1CalendarLidarrIcs**](docs/CalendarFeedApi.md#getfeedv1calendarlidarrics) | **Get** /feed/v1/calendar/lidarr.ics | +*CommandApi* | [**CreateApiV1Command**](docs/CommandApi.md#createapiv1command) | **Post** /api/v1/command | +*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} | +*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} | +*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 | +*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} | +*HistoryApi* | [**GetApiV1History**](docs/HistoryApi.md#getapiv1history) | **Get** /api/v1/history | +*HistoryApi* | [**ListApiV1HistoryArtist**](docs/HistoryApi.md#listapiv1historyartist) | **Get** /api/v1/history/artist | +*HistoryApi* | [**ListApiV1HistorySince**](docs/HistoryApi.md#listapiv1historysince) | **Get** /api/v1/history/since | +*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} | +*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} | +*IndexerApi* | [**GetApiV1IndexerById**](docs/IndexerApi.md#getapiv1indexerbyid) | **Get** /api/v1/indexer/{id} | +*IndexerApi* | [**ListApiV1Indexer**](docs/IndexerApi.md#listapiv1indexer) | **Get** /api/v1/indexer | +*IndexerApi* | [**ListApiV1IndexerSchema**](docs/IndexerApi.md#listapiv1indexerschema) | **Get** /api/v1/indexer/schema | +*IndexerApi* | [**TestApiV1Indexer**](docs/IndexerApi.md#testapiv1indexer) | **Post** /api/v1/indexer/test | +*IndexerApi* | [**TestallApiV1Indexer**](docs/IndexerApi.md#testallapiv1indexer) | **Post** /api/v1/indexer/testall | +*IndexerApi* | [**UpdateApiV1Indexer**](docs/IndexerApi.md#updateapiv1indexer) | **Put** /api/v1/indexer/{id} | +*IndexerConfigApi* | [**GetApiV1ConfigIndexer**](docs/IndexerConfigApi.md#getapiv1configindexer) | **Get** /api/v1/config/indexer | +*IndexerConfigApi* | [**GetApiV1ConfigIndexerById**](docs/IndexerConfigApi.md#getapiv1configindexerbyid) | **Get** /api/v1/config/indexer/{id} | +*IndexerConfigApi* | [**UpdateApiV1ConfigIndexer**](docs/IndexerConfigApi.md#updateapiv1configindexer) | **Put** /api/v1/config/indexer/{id} | +*InitializeJsApi* | [**GetInitializeJs**](docs/InitializeJsApi.md#getinitializejs) | **Get** /initialize.js | +*LanguageApi* | [**GetApiV1LanguageById**](docs/LanguageApi.md#getapiv1languagebyid) | **Get** /api/v1/language/{id} | +*LanguageApi* | [**ListApiV1Language**](docs/LanguageApi.md#listapiv1language) | **Get** /api/v1/language | +*LocalizationApi* | [**GetApiV1Localization**](docs/LocalizationApi.md#getapiv1localization) | **Get** /api/v1/localization | +*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} | +*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} | +*MetadataApi* | [**CreateApiV1Metadata**](docs/MetadataApi.md#createapiv1metadata) | **Post** /api/v1/metadata | +*MetadataApi* | [**CreateApiV1MetadataActionByName**](docs/MetadataApi.md#createapiv1metadataactionbyname) | **Post** /api/v1/metadata/action/{name} | +*MetadataApi* | [**DeleteApiV1Metadata**](docs/MetadataApi.md#deleteapiv1metadata) | **Delete** /api/v1/metadata/{id} | +*MetadataApi* | [**GetApiV1MetadataById**](docs/MetadataApi.md#getapiv1metadatabyid) | **Get** /api/v1/metadata/{id} | +*MetadataApi* | [**ListApiV1Metadata**](docs/MetadataApi.md#listapiv1metadata) | **Get** /api/v1/metadata | +*MetadataApi* | [**ListApiV1MetadataSchema**](docs/MetadataApi.md#listapiv1metadataschema) | **Get** /api/v1/metadata/schema | +*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} | +*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} | +*MetadataProviderConfigApi* | [**UpdateApiV1ConfigMetadataprovider**](docs/MetadataProviderConfigApi.md#updateapiv1configmetadataprovider) | **Put** /api/v1/config/metadataprovider/{id} | +*MissingApi* | [**GetApiV1WantedMissing**](docs/MissingApi.md#getapiv1wantedmissing) | **Get** /api/v1/wanted/missing | +*MissingApi* | [**GetApiV1WantedMissingById**](docs/MissingApi.md#getapiv1wantedmissingbyid) | **Get** /api/v1/wanted/missing/{id} | +*NamingConfigApi* | [**GetApiV1ConfigNaming**](docs/NamingConfigApi.md#getapiv1confignaming) | **Get** /api/v1/config/naming | +*NamingConfigApi* | [**GetApiV1ConfigNamingById**](docs/NamingConfigApi.md#getapiv1confignamingbyid) | **Get** /api/v1/config/naming/{id} | +*NamingConfigApi* | [**GetApiV1ConfigNamingExamples**](docs/NamingConfigApi.md#getapiv1confignamingexamples) | **Get** /api/v1/config/naming/examples | +*NamingConfigApi* | [**UpdateApiV1ConfigNaming**](docs/NamingConfigApi.md#updateapiv1confignaming) | **Put** /api/v1/config/naming/{id} | +*NotificationApi* | [**CreateApiV1Notification**](docs/NotificationApi.md#createapiv1notification) | **Post** /api/v1/notification | +*NotificationApi* | [**CreateApiV1NotificationActionByName**](docs/NotificationApi.md#createapiv1notificationactionbyname) | **Post** /api/v1/notification/action/{name} | +*NotificationApi* | [**DeleteApiV1Notification**](docs/NotificationApi.md#deleteapiv1notification) | **Delete** /api/v1/notification/{id} | +*NotificationApi* | [**GetApiV1NotificationById**](docs/NotificationApi.md#getapiv1notificationbyid) | **Get** /api/v1/notification/{id} | +*NotificationApi* | [**ListApiV1Notification**](docs/NotificationApi.md#listapiv1notification) | **Get** /api/v1/notification | +*NotificationApi* | [**ListApiV1NotificationSchema**](docs/NotificationApi.md#listapiv1notificationschema) | **Get** /api/v1/notification/schema | +*NotificationApi* | [**TestApiV1Notification**](docs/NotificationApi.md#testapiv1notification) | **Post** /api/v1/notification/test | +*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} | +*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 | +*QueueApi* | [**GetApiV1Queue**](docs/QueueApi.md#getapiv1queue) | **Get** /api/v1/queue | +*QueueApi* | [**GetApiV1QueueById**](docs/QueueApi.md#getapiv1queuebyid) | **Get** /api/v1/queue/{id} | +*QueueActionApi* | [**CreateApiV1QueueGrabBulk**](docs/QueueActionApi.md#createapiv1queuegrabbulk) | **Post** /api/v1/queue/grab/bulk | +*QueueActionApi* | [**CreateApiV1QueueGrabById**](docs/QueueActionApi.md#createapiv1queuegrabbyid) | **Post** /api/v1/queue/grab/{id} | +*QueueDetailsApi* | [**GetApiV1QueueDetailsById**](docs/QueueDetailsApi.md#getapiv1queuedetailsbyid) | **Get** /api/v1/queue/details/{id} | +*QueueDetailsApi* | [**ListApiV1QueueDetails**](docs/QueueDetailsApi.md#listapiv1queuedetails) | **Get** /api/v1/queue/details | +*QueueStatusApi* | [**GetApiV1QueueStatus**](docs/QueueStatusApi.md#getapiv1queuestatus) | **Get** /api/v1/queue/status | +*QueueStatusApi* | [**GetApiV1QueueStatusById**](docs/QueueStatusApi.md#getapiv1queuestatusbyid) | **Get** /api/v1/queue/status/{id} | +*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} | +*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} | +*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} | +*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} | +*StaticResourceApi* | [**GetContentByPath**](docs/StaticResourceApi.md#getcontentbypath) | **Get** /content/{path} | +*StaticResourceApi* | [**GetLogin**](docs/StaticResourceApi.md#getlogin) | **Get** /login | +*SystemApi* | [**CreateApiV1SystemRestart**](docs/SystemApi.md#createapiv1systemrestart) | **Post** /api/v1/system/restart | +*SystemApi* | [**CreateApiV1SystemShutdown**](docs/SystemApi.md#createapiv1systemshutdown) | **Post** /api/v1/system/shutdown | +*SystemApi* | [**GetApiV1SystemRoutes**](docs/SystemApi.md#getapiv1systemroutes) | **Get** /api/v1/system/routes | +*SystemApi* | [**GetApiV1SystemRoutesDuplicate**](docs/SystemApi.md#getapiv1systemroutesduplicate) | **Get** /api/v1/system/routes/duplicate | +*SystemApi* | [**GetApiV1SystemStatus**](docs/SystemApi.md#getapiv1systemstatus) | **Get** /api/v1/system/status | +*TagApi* | [**CreateApiV1Tag**](docs/TagApi.md#createapiv1tag) | **Post** /api/v1/tag | +*TagApi* | [**DeleteApiV1Tag**](docs/TagApi.md#deleteapiv1tag) | **Delete** /api/v1/tag/{id} | +*TagApi* | [**GetApiV1TagById**](docs/TagApi.md#getapiv1tagbyid) | **Get** /api/v1/tag/{id} | +*TagApi* | [**ListApiV1Tag**](docs/TagApi.md#listapiv1tag) | **Get** /api/v1/tag | +*TagApi* | [**UpdateApiV1Tag**](docs/TagApi.md#updateapiv1tag) | **Put** /api/v1/tag/{id} | +*TagDetailsApi* | [**GetApiV1TagDetailById**](docs/TagDetailsApi.md#getapiv1tagdetailbyid) | **Get** /api/v1/tag/detail/{id} | +*TagDetailsApi* | [**ListApiV1TagDetail**](docs/TagDetailsApi.md#listapiv1tagdetail) | **Get** /api/v1/tag/detail | +*TaskApi* | [**GetApiV1SystemTaskById**](docs/TaskApi.md#getapiv1systemtaskbyid) | **Get** /api/v1/system/task/{id} | +*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} | +*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} | +*UpdateApi* | [**ListApiV1Update**](docs/UpdateApi.md#listapiv1update) | **Get** /api/v1/update | +*UpdateLogFileApi* | [**GetApiV1LogFileUpdateByFilename**](docs/UpdateLogFileApi.md#getapiv1logfileupdatebyfilename) | **Get** /api/v1/log/file/update/{filename} | +*UpdateLogFileApi* | [**ListApiV1LogFileUpdate**](docs/UpdateLogFileApi.md#listapiv1logfileupdate) | **Get** /api/v1/log/file/update | + + +## Documentation For Models + + - [AddAlbumOptions](docs/AddAlbumOptions.md) + - [AddArtistOptions](docs/AddArtistOptions.md) + - [Album](docs/Album.md) + - [AlbumAddType](docs/AlbumAddType.md) + - [AlbumLazyLoaded](docs/AlbumLazyLoaded.md) + - [AlbumListLazyLoaded](docs/AlbumListLazyLoaded.md) + - [AlbumRelease](docs/AlbumRelease.md) + - [AlbumReleaseLazyLoaded](docs/AlbumReleaseLazyLoaded.md) + - [AlbumReleaseListLazyLoaded](docs/AlbumReleaseListLazyLoaded.md) + - [AlbumReleaseResource](docs/AlbumReleaseResource.md) + - [AlbumResource](docs/AlbumResource.md) + - [AlbumResourcePagingResource](docs/AlbumResourcePagingResource.md) + - [AlbumStatisticsResource](docs/AlbumStatisticsResource.md) + - [AlbumStudioArtistResource](docs/AlbumStudioArtistResource.md) + - [AlbumStudioResource](docs/AlbumStudioResource.md) + - [AlbumsMonitoredResource](docs/AlbumsMonitoredResource.md) + - [AllowFingerprinting](docs/AllowFingerprinting.md) + - [ApplyTags](docs/ApplyTags.md) + - [Artist](docs/Artist.md) + - [ArtistEditorResource](docs/ArtistEditorResource.md) + - [ArtistLazyLoaded](docs/ArtistLazyLoaded.md) + - [ArtistMetadata](docs/ArtistMetadata.md) + - [ArtistMetadataLazyLoaded](docs/ArtistMetadataLazyLoaded.md) + - [ArtistResource](docs/ArtistResource.md) + - [ArtistStatisticsResource](docs/ArtistStatisticsResource.md) + - [ArtistStatusType](docs/ArtistStatusType.md) + - [ArtistTitleInfo](docs/ArtistTitleInfo.md) + - [AuthenticationType](docs/AuthenticationType.md) + - [BackupResource](docs/BackupResource.md) + - [BackupType](docs/BackupType.md) + - [BlocklistBulkResource](docs/BlocklistBulkResource.md) + - [BlocklistResource](docs/BlocklistResource.md) + - [BlocklistResourcePagingResource](docs/BlocklistResourcePagingResource.md) + - [CertificateValidationType](docs/CertificateValidationType.md) + - [Command](docs/Command.md) + - [CommandPriority](docs/CommandPriority.md) + - [CommandResource](docs/CommandResource.md) + - [CommandStatus](docs/CommandStatus.md) + - [CommandTrigger](docs/CommandTrigger.md) + - [CustomFilterResource](docs/CustomFilterResource.md) + - [DelayProfileResource](docs/DelayProfileResource.md) + - [DiskSpaceResource](docs/DiskSpaceResource.md) + - [DownloadClientConfigResource](docs/DownloadClientConfigResource.md) + - [DownloadClientResource](docs/DownloadClientResource.md) + - [DownloadProtocol](docs/DownloadProtocol.md) + - [EntityHistoryEventType](docs/EntityHistoryEventType.md) + - [Field](docs/Field.md) + - [FileDateType](docs/FileDateType.md) + - [HealthCheckResult](docs/HealthCheckResult.md) + - [HealthResource](docs/HealthResource.md) + - [HistoryResource](docs/HistoryResource.md) + - [HistoryResourcePagingResource](docs/HistoryResourcePagingResource.md) + - [HostConfigResource](docs/HostConfigResource.md) + - [HttpUri](docs/HttpUri.md) + - [ImportListExclusionResource](docs/ImportListExclusionResource.md) + - [ImportListMonitorType](docs/ImportListMonitorType.md) + - [ImportListResource](docs/ImportListResource.md) + - [ImportListType](docs/ImportListType.md) + - [IndexerConfigResource](docs/IndexerConfigResource.md) + - [IndexerResource](docs/IndexerResource.md) + - [IsoCountry](docs/IsoCountry.md) + - [LanguageResource](docs/LanguageResource.md) + - [Links](docs/Links.md) + - [LogFileResource](docs/LogFileResource.md) + - [LogResource](docs/LogResource.md) + - [LogResourcePagingResource](docs/LogResourcePagingResource.md) + - [ManualImportResource](docs/ManualImportResource.md) + - [MediaCover](docs/MediaCover.md) + - [MediaCoverTypes](docs/MediaCoverTypes.md) + - [MediaInfoModel](docs/MediaInfoModel.md) + - [MediaInfoResource](docs/MediaInfoResource.md) + - [MediaManagementConfigResource](docs/MediaManagementConfigResource.md) + - [Medium](docs/Medium.md) + - [MediumResource](docs/MediumResource.md) + - [Member](docs/Member.md) + - [MetadataProfile](docs/MetadataProfile.md) + - [MetadataProfileLazyLoaded](docs/MetadataProfileLazyLoaded.md) + - [MetadataProfileResource](docs/MetadataProfileResource.md) + - [MetadataProviderConfigResource](docs/MetadataProviderConfigResource.md) + - [MetadataResource](docs/MetadataResource.md) + - [MonitorTypes](docs/MonitorTypes.md) + - [MonitoringOptions](docs/MonitoringOptions.md) + - [NamingConfigResource](docs/NamingConfigResource.md) + - [NewItemMonitorTypes](docs/NewItemMonitorTypes.md) + - [NotificationResource](docs/NotificationResource.md) + - [PagingResourceFilter](docs/PagingResourceFilter.md) + - [ParseResource](docs/ParseResource.md) + - [ParsedAlbumInfo](docs/ParsedAlbumInfo.md) + - [ParsedTrackInfo](docs/ParsedTrackInfo.md) + - [PrimaryAlbumType](docs/PrimaryAlbumType.md) + - [ProfilePrimaryAlbumTypeItem](docs/ProfilePrimaryAlbumTypeItem.md) + - [ProfilePrimaryAlbumTypeItemResource](docs/ProfilePrimaryAlbumTypeItemResource.md) + - [ProfileReleaseStatusItem](docs/ProfileReleaseStatusItem.md) + - [ProfileReleaseStatusItemResource](docs/ProfileReleaseStatusItemResource.md) + - [ProfileSecondaryAlbumTypeItem](docs/ProfileSecondaryAlbumTypeItem.md) + - [ProfileSecondaryAlbumTypeItemResource](docs/ProfileSecondaryAlbumTypeItemResource.md) + - [ProperDownloadTypes](docs/ProperDownloadTypes.md) + - [ProviderMessage](docs/ProviderMessage.md) + - [ProviderMessageType](docs/ProviderMessageType.md) + - [ProxyType](docs/ProxyType.md) + - [Quality](docs/Quality.md) + - [QualityDefinitionResource](docs/QualityDefinitionResource.md) + - [QualityModel](docs/QualityModel.md) + - [QualityProfile](docs/QualityProfile.md) + - [QualityProfileLazyLoaded](docs/QualityProfileLazyLoaded.md) + - [QualityProfileQualityItem](docs/QualityProfileQualityItem.md) + - [QualityProfileQualityItemResource](docs/QualityProfileQualityItemResource.md) + - [QualityProfileResource](docs/QualityProfileResource.md) + - [QueueBulkResource](docs/QueueBulkResource.md) + - [QueueResource](docs/QueueResource.md) + - [QueueResourcePagingResource](docs/QueueResourcePagingResource.md) + - [QueueStatusResource](docs/QueueStatusResource.md) + - [Ratings](docs/Ratings.md) + - [Rejection](docs/Rejection.md) + - [RejectionType](docs/RejectionType.md) + - [ReleaseProfileResource](docs/ReleaseProfileResource.md) + - [ReleaseResource](docs/ReleaseResource.md) + - [ReleaseStatus](docs/ReleaseStatus.md) + - [RemotePathMappingResource](docs/RemotePathMappingResource.md) + - [RenameTrackResource](docs/RenameTrackResource.md) + - [RescanAfterRefreshType](docs/RescanAfterRefreshType.md) + - [RetagTrackResource](docs/RetagTrackResource.md) + - [Revision](docs/Revision.md) + - [RootFolderResource](docs/RootFolderResource.md) + - [SecondaryAlbumType](docs/SecondaryAlbumType.md) + - [SelectOption](docs/SelectOption.md) + - [SortDirection](docs/SortDirection.md) + - [StringInt32KeyValuePair](docs/StringInt32KeyValuePair.md) + - [TagDetailsResource](docs/TagDetailsResource.md) + - [TagDifference](docs/TagDifference.md) + - [TagResource](docs/TagResource.md) + - [TaskResource](docs/TaskResource.md) + - [TimeSpan](docs/TimeSpan.md) + - [Track](docs/Track.md) + - [TrackFile](docs/TrackFile.md) + - [TrackFileLazyLoaded](docs/TrackFileLazyLoaded.md) + - [TrackFileListResource](docs/TrackFileListResource.md) + - [TrackFileResource](docs/TrackFileResource.md) + - [TrackListLazyLoaded](docs/TrackListLazyLoaded.md) + - [TrackResource](docs/TrackResource.md) + - [TrackedDownloadState](docs/TrackedDownloadState.md) + - [TrackedDownloadStatus](docs/TrackedDownloadStatus.md) + - [TrackedDownloadStatusMessage](docs/TrackedDownloadStatusMessage.md) + - [UiConfigResource](docs/UiConfigResource.md) + - [UpdateChanges](docs/UpdateChanges.md) + - [UpdateMechanism](docs/UpdateMechanism.md) + - [UpdateResource](docs/UpdateResource.md) + - [Version](docs/Version.md) + - [WriteAudioTagsType](docs/WriteAudioTagsType.md) + + +## Documentation For Authorization + + + +### X-Api-Key + +- **Type**: API key +- **API key parameter name**: X-Api-Key +- **Location**: HTTP header + +Note, each API key must be added to a map of `map[string]APIKey` where the key is: X-Api-Key and passed in as the auth context for each request. + + +### apikey + +- **Type**: API key +- **API key parameter name**: apikey +- **Location**: URL query string + +Note, each API key must be added to a map of `map[string]APIKey` where the key is: apikey and passed in as the auth context for each request. + + +## Documentation for Utility Methods + +Due to the fact that model structure members are all pointers, this package contains +a number of utility functions to easily obtain pointers to values of basic types. +Each of these functions takes a value of the given basic type and returns a pointer to it: + +* `PtrBool` +* `PtrInt` +* `PtrInt32` +* `PtrInt64` +* `PtrFloat` +* `PtrFloat32` +* `PtrFloat64` +* `PtrString` +* `PtrTime` + +## Author + + + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1b6b079 --- /dev/null +++ b/go.mod @@ -0,0 +1,12 @@ +module github.com/devopsarr/lidarr-go + +go 1.19 + +require golang.org/x/oauth2 v0.3.0 + +require ( + github.com/golang/protobuf v1.5.2 // indirect + golang.org/x/net v0.3.0 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/protobuf v1.28.0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..aca107b --- /dev/null +++ b/go.sum @@ -0,0 +1,23 @@ +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.3.0 h1:VWL6FNY2bEEmsGVKabSlHu5Irp34xmMRoqb/9lF9lxk= +golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= +golang.org/x/oauth2 v0.3.0 h1:6l90koy8/LaBLmLu8jpHeHexzMwEita0zFfYlggy2F8= +golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= +google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/lidarr/.openapi-generator/FILES b/lidarr/.openapi-generator/FILES new file mode 100644 index 0000000..fd8579a --- /dev/null +++ b/lidarr/.openapi-generator/FILES @@ -0,0 +1,442 @@ +.gitignore +README.md +api/openapi.yaml +api_album.go +api_album_lookup.go +api_album_studio.go +api_api_info.go +api_artist.go +api_artist_editor.go +api_artist_lookup.go +api_authentication.go +api_backup.go +api_blocklist.go +api_calendar.go +api_calendar_feed.go +api_command.go +api_custom_filter.go +api_cutoff.go +api_delay_profile.go +api_disk_space.go +api_download_client.go +api_download_client_config.go +api_file_system.go +api_health.go +api_history.go +api_host_config.go +api_import_list.go +api_import_list_exclusion.go +api_indexer.go +api_indexer_config.go +api_initialize_js_.go +api_language.go +api_localization.go +api_log.go +api_log_file.go +api_manual_import.go +api_media_cover.go +api_media_management_config.go +api_metadata.go +api_metadata_profile.go +api_metadata_profile_schema.go +api_metadata_provider_config.go +api_missing.go +api_naming_config.go +api_notification.go +api_parse.go +api_quality_definition.go +api_quality_profile.go +api_quality_profile_schema.go +api_queue.go +api_queue_action.go +api_queue_details.go +api_queue_status.go +api_release.go +api_release_profile.go +api_release_push.go +api_remote_path_mapping.go +api_rename_track.go +api_retag_track.go +api_root_folder.go +api_search.go +api_static_resource.go +api_system.go +api_tag.go +api_tag_details.go +api_task.go +api_track.go +api_track_file.go +api_ui_config.go +api_update.go +api_update_log_file.go +client.go +configuration.go +docs/AddAlbumOptions.md +docs/AddArtistOptions.md +docs/Album.md +docs/AlbumAddType.md +docs/AlbumApi.md +docs/AlbumLazyLoaded.md +docs/AlbumListLazyLoaded.md +docs/AlbumLookupApi.md +docs/AlbumRelease.md +docs/AlbumReleaseLazyLoaded.md +docs/AlbumReleaseListLazyLoaded.md +docs/AlbumReleaseResource.md +docs/AlbumResource.md +docs/AlbumResourcePagingResource.md +docs/AlbumStatisticsResource.md +docs/AlbumStudioApi.md +docs/AlbumStudioArtistResource.md +docs/AlbumStudioResource.md +docs/AlbumsMonitoredResource.md +docs/AllowFingerprinting.md +docs/ApiInfoApi.md +docs/ApplyTags.md +docs/Artist.md +docs/ArtistApi.md +docs/ArtistEditorApi.md +docs/ArtistEditorResource.md +docs/ArtistLazyLoaded.md +docs/ArtistLookupApi.md +docs/ArtistMetadata.md +docs/ArtistMetadataLazyLoaded.md +docs/ArtistResource.md +docs/ArtistStatisticsResource.md +docs/ArtistStatusType.md +docs/ArtistTitleInfo.md +docs/AuthenticationApi.md +docs/AuthenticationType.md +docs/BackupApi.md +docs/BackupResource.md +docs/BackupType.md +docs/BlocklistApi.md +docs/BlocklistBulkResource.md +docs/BlocklistResource.md +docs/BlocklistResourcePagingResource.md +docs/CalendarApi.md +docs/CalendarFeedApi.md +docs/CertificateValidationType.md +docs/Command.md +docs/CommandApi.md +docs/CommandPriority.md +docs/CommandResource.md +docs/CommandStatus.md +docs/CommandTrigger.md +docs/CustomFilterApi.md +docs/CustomFilterResource.md +docs/CutoffApi.md +docs/DelayProfileApi.md +docs/DelayProfileResource.md +docs/DiskSpaceApi.md +docs/DiskSpaceResource.md +docs/DownloadClientApi.md +docs/DownloadClientConfigApi.md +docs/DownloadClientConfigResource.md +docs/DownloadClientResource.md +docs/DownloadProtocol.md +docs/EntityHistoryEventType.md +docs/Field.md +docs/FileDateType.md +docs/FileSystemApi.md +docs/HealthApi.md +docs/HealthCheckResult.md +docs/HealthResource.md +docs/HistoryApi.md +docs/HistoryResource.md +docs/HistoryResourcePagingResource.md +docs/HostConfigApi.md +docs/HostConfigResource.md +docs/HttpUri.md +docs/ImportListApi.md +docs/ImportListExclusionApi.md +docs/ImportListExclusionResource.md +docs/ImportListMonitorType.md +docs/ImportListResource.md +docs/ImportListType.md +docs/IndexerApi.md +docs/IndexerConfigApi.md +docs/IndexerConfigResource.md +docs/IndexerResource.md +docs/InitializeJsApi.md +docs/IsoCountry.md +docs/LanguageApi.md +docs/LanguageResource.md +docs/Links.md +docs/LocalizationApi.md +docs/LogApi.md +docs/LogFileApi.md +docs/LogFileResource.md +docs/LogResource.md +docs/LogResourcePagingResource.md +docs/ManualImportApi.md +docs/ManualImportResource.md +docs/MediaCover.md +docs/MediaCoverApi.md +docs/MediaCoverTypes.md +docs/MediaInfoModel.md +docs/MediaInfoResource.md +docs/MediaManagementConfigApi.md +docs/MediaManagementConfigResource.md +docs/Medium.md +docs/MediumResource.md +docs/Member.md +docs/MetadataApi.md +docs/MetadataProfile.md +docs/MetadataProfileApi.md +docs/MetadataProfileLazyLoaded.md +docs/MetadataProfileResource.md +docs/MetadataProfileSchemaApi.md +docs/MetadataProviderConfigApi.md +docs/MetadataProviderConfigResource.md +docs/MetadataResource.md +docs/MissingApi.md +docs/MonitorTypes.md +docs/MonitoringOptions.md +docs/NamingConfigApi.md +docs/NamingConfigResource.md +docs/NewItemMonitorTypes.md +docs/NotificationApi.md +docs/NotificationResource.md +docs/PagingResourceFilter.md +docs/ParseApi.md +docs/ParseResource.md +docs/ParsedAlbumInfo.md +docs/ParsedTrackInfo.md +docs/PrimaryAlbumType.md +docs/ProfilePrimaryAlbumTypeItem.md +docs/ProfilePrimaryAlbumTypeItemResource.md +docs/ProfileReleaseStatusItem.md +docs/ProfileReleaseStatusItemResource.md +docs/ProfileSecondaryAlbumTypeItem.md +docs/ProfileSecondaryAlbumTypeItemResource.md +docs/ProperDownloadTypes.md +docs/ProviderMessage.md +docs/ProviderMessageType.md +docs/ProxyType.md +docs/Quality.md +docs/QualityDefinitionApi.md +docs/QualityDefinitionResource.md +docs/QualityModel.md +docs/QualityProfile.md +docs/QualityProfileApi.md +docs/QualityProfileLazyLoaded.md +docs/QualityProfileQualityItem.md +docs/QualityProfileQualityItemResource.md +docs/QualityProfileResource.md +docs/QualityProfileSchemaApi.md +docs/QueueActionApi.md +docs/QueueApi.md +docs/QueueBulkResource.md +docs/QueueDetailsApi.md +docs/QueueResource.md +docs/QueueResourcePagingResource.md +docs/QueueStatusApi.md +docs/QueueStatusResource.md +docs/Ratings.md +docs/Rejection.md +docs/RejectionType.md +docs/ReleaseApi.md +docs/ReleaseProfileApi.md +docs/ReleaseProfileResource.md +docs/ReleasePushApi.md +docs/ReleaseResource.md +docs/ReleaseStatus.md +docs/RemotePathMappingApi.md +docs/RemotePathMappingResource.md +docs/RenameTrackApi.md +docs/RenameTrackResource.md +docs/RescanAfterRefreshType.md +docs/RetagTrackApi.md +docs/RetagTrackResource.md +docs/Revision.md +docs/RootFolderApi.md +docs/RootFolderResource.md +docs/SearchApi.md +docs/SecondaryAlbumType.md +docs/SelectOption.md +docs/SortDirection.md +docs/StaticResourceApi.md +docs/StringInt32KeyValuePair.md +docs/SystemApi.md +docs/TagApi.md +docs/TagDetailsApi.md +docs/TagDetailsResource.md +docs/TagDifference.md +docs/TagResource.md +docs/TaskApi.md +docs/TaskResource.md +docs/TimeSpan.md +docs/Track.md +docs/TrackApi.md +docs/TrackFile.md +docs/TrackFileApi.md +docs/TrackFileLazyLoaded.md +docs/TrackFileListResource.md +docs/TrackFileResource.md +docs/TrackListLazyLoaded.md +docs/TrackResource.md +docs/TrackedDownloadState.md +docs/TrackedDownloadStatus.md +docs/TrackedDownloadStatusMessage.md +docs/UiConfigApi.md +docs/UiConfigResource.md +docs/UpdateApi.md +docs/UpdateChanges.md +docs/UpdateLogFileApi.md +docs/UpdateMechanism.md +docs/UpdateResource.md +docs/Version.md +docs/WriteAudioTagsType.md +go.mod +model_add_album_options.go +model_add_artist_options.go +model_album.go +model_album_add_type.go +model_album_lazy_loaded.go +model_album_list_lazy_loaded.go +model_album_release.go +model_album_release_lazy_loaded.go +model_album_release_list_lazy_loaded.go +model_album_release_resource.go +model_album_resource.go +model_album_resource_paging_resource.go +model_album_statistics_resource.go +model_album_studio_artist_resource.go +model_album_studio_resource.go +model_albums_monitored_resource.go +model_allow_fingerprinting.go +model_apply_tags.go +model_artist.go +model_artist_editor_resource.go +model_artist_lazy_loaded.go +model_artist_metadata.go +model_artist_metadata_lazy_loaded.go +model_artist_resource.go +model_artist_statistics_resource.go +model_artist_status_type.go +model_artist_title_info.go +model_authentication_type.go +model_backup_resource.go +model_backup_type.go +model_blocklist_bulk_resource.go +model_blocklist_resource.go +model_blocklist_resource_paging_resource.go +model_certificate_validation_type.go +model_command.go +model_command_priority.go +model_command_resource.go +model_command_status.go +model_command_trigger.go +model_custom_filter_resource.go +model_delay_profile_resource.go +model_disk_space_resource.go +model_download_client_config_resource.go +model_download_client_resource.go +model_download_protocol.go +model_entity_history_event_type.go +model_field.go +model_file_date_type.go +model_health_check_result.go +model_health_resource.go +model_history_resource.go +model_history_resource_paging_resource.go +model_host_config_resource.go +model_http_uri.go +model_import_list_exclusion_resource.go +model_import_list_monitor_type.go +model_import_list_resource.go +model_import_list_type.go +model_indexer_config_resource.go +model_indexer_resource.go +model_iso_country.go +model_language_resource.go +model_links.go +model_log_file_resource.go +model_log_resource.go +model_log_resource_paging_resource.go +model_manual_import_resource.go +model_media_cover.go +model_media_cover_types.go +model_media_info_model.go +model_media_info_resource.go +model_media_management_config_resource.go +model_medium.go +model_medium_resource.go +model_member.go +model_metadata_profile.go +model_metadata_profile_lazy_loaded.go +model_metadata_profile_resource.go +model_metadata_provider_config_resource.go +model_metadata_resource.go +model_monitor_types.go +model_monitoring_options.go +model_naming_config_resource.go +model_new_item_monitor_types.go +model_notification_resource.go +model_paging_resource_filter.go +model_parse_resource.go +model_parsed_album_info.go +model_parsed_track_info.go +model_primary_album_type.go +model_profile_primary_album_type_item.go +model_profile_primary_album_type_item_resource.go +model_profile_release_status_item.go +model_profile_release_status_item_resource.go +model_profile_secondary_album_type_item.go +model_profile_secondary_album_type_item_resource.go +model_proper_download_types.go +model_provider_message.go +model_provider_message_type.go +model_proxy_type.go +model_quality.go +model_quality_definition_resource.go +model_quality_model.go +model_quality_profile.go +model_quality_profile_lazy_loaded.go +model_quality_profile_quality_item.go +model_quality_profile_quality_item_resource.go +model_quality_profile_resource.go +model_queue_bulk_resource.go +model_queue_resource.go +model_queue_resource_paging_resource.go +model_queue_status_resource.go +model_ratings.go +model_rejection.go +model_rejection_type.go +model_release_profile_resource.go +model_release_resource.go +model_release_status.go +model_remote_path_mapping_resource.go +model_rename_track_resource.go +model_rescan_after_refresh_type.go +model_retag_track_resource.go +model_revision.go +model_root_folder_resource.go +model_secondary_album_type.go +model_select_option.go +model_sort_direction.go +model_string_int32_key_value_pair.go +model_tag_details_resource.go +model_tag_difference.go +model_tag_resource.go +model_task_resource.go +model_time_span.go +model_track.go +model_track_file.go +model_track_file_lazy_loaded.go +model_track_file_list_resource.go +model_track_file_resource.go +model_track_list_lazy_loaded.go +model_track_resource.go +model_tracked_download_state.go +model_tracked_download_status.go +model_tracked_download_status_message.go +model_ui_config_resource.go +model_update_changes.go +model_update_mechanism.go +model_update_resource.go +model_version.go +model_write_audio_tags_type.go +response.go +utils.go diff --git a/lidarr/.openapi-generator/VERSION b/lidarr/.openapi-generator/VERSION new file mode 100644 index 0000000..d6b4ec4 --- /dev/null +++ b/lidarr/.openapi-generator/VERSION @@ -0,0 +1 @@ +6.3.0-SNAPSHOT \ No newline at end of file diff --git a/lidarr/api/openapi.yaml b/lidarr/api/openapi.yaml new file mode 100644 index 0000000..f527b6a --- /dev/null +++ b/lidarr/api/openapi.yaml @@ -0,0 +1,165201 @@ +openapi: 3.0.1 +info: + description: Lidarr API docs + license: + name: GPL-3.0 + url: https://github.com/Lidarr/Lidarr/blob/develop/LICENSE + title: Lidarr + version: 1.0.0 +servers: +- url: "{protocol}://{hostpath}" + variables: + protocol: + default: http + enum: + - http + - https + hostpath: + default: localhost:8686 +security: +- X-Api-Key: [] +- apikey: [] +paths: + /api/v1/album: + get: + operationId: ListApiV1Album + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumIds + required: false + schema: + items: + format: int32 + type: integer + type: array + style: form + - explode: true + in: query + name: foreignAlbumId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: includeAllArtistAlbums + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + description: Success + tags: + - Album + post: + operationId: CreateApiV1Album + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + application/*+json: + schema: + $ref: '#/components/schemas/AlbumResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Album + /api/v1/album/{id}: + delete: + operationId: DeleteApiV1Album + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Album + get: + operationId: GetApiV1AlbumById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Album + put: + operationId: UpdateApiV1Album + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + application/*+json: + schema: + $ref: '#/components/schemas/AlbumResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Album + /api/v1/album/monitor: + put: + operationId: PutApiV1AlbumMonitor + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AlbumsMonitoredResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumsMonitoredResource' + application/*+json: + schema: + $ref: '#/components/schemas/AlbumsMonitoredResource' + responses: + "200": + description: Success + tags: + - Album + /api/v1/album/lookup: + get: + operationId: GetApiV1AlbumLookup + parameters: + - explode: true + in: query + name: term + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - AlbumLookup + /api/v1/albumstudio: + post: + operationId: CreateApiV1Albumstudio + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AlbumStudioResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumStudioResource' + application/*+json: + schema: + $ref: '#/components/schemas/AlbumStudioResource' + responses: + "200": + description: Success + tags: + - AlbumStudio + /api: + get: + operationId: GetApi + responses: + "200": + description: Success + tags: + - ApiInfo + /api/v1/artist/{id}: + delete: + operationId: DeleteApiV1Artist + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Artist + get: + operationId: GetApiV1ArtistById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ArtistResource' + application/json: + schema: + $ref: '#/components/schemas/ArtistResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistResource' + description: Success + tags: + - Artist + put: + operationId: UpdateApiV1Artist + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ArtistResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistResource' + application/*+json: + schema: + $ref: '#/components/schemas/ArtistResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ArtistResource' + application/json: + schema: + $ref: '#/components/schemas/ArtistResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistResource' + description: Success + tags: + - Artist + /api/v1/artist: + get: + operationId: ListApiV1Artist + parameters: + - explode: true + in: query + name: mbId + required: false + schema: + format: uuid + type: string + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ArtistResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ArtistResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ArtistResource' + type: array + description: Success + tags: + - Artist + post: + operationId: CreateApiV1Artist + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ArtistResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistResource' + application/*+json: + schema: + $ref: '#/components/schemas/ArtistResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ArtistResource' + application/json: + schema: + $ref: '#/components/schemas/ArtistResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistResource' + description: Success + tags: + - Artist + /api/v1/artist/editor: + delete: + operationId: DeleteApiV1ArtistEditor + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + application/*+json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + responses: + "200": + description: Success + tags: + - ArtistEditor + put: + operationId: PutApiV1ArtistEditor + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + text/json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + application/*+json: + schema: + $ref: '#/components/schemas/ArtistEditorResource' + responses: + "200": + description: Success + tags: + - ArtistEditor + /api/v1/artist/lookup: + get: + operationId: GetApiV1ArtistLookup + parameters: + - explode: true + in: query + name: term + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - ArtistLookup + /login: + get: + operationId: GetLogin + responses: + "200": + description: Success + tags: + - StaticResource + post: + operationId: CreateLogin + parameters: + - explode: true + in: query + name: returnUrl + required: false + schema: + type: string + style: form + requestBody: + content: + multipart/form-data: + encoding: + Username: + style: form + Password: + style: form + RememberMe: + style: form + schema: + $ref: '#/components/schemas/CreateLogin_request' + responses: + "200": + description: Success + tags: + - Authentication + /logout: + get: + operationId: GetLogout + responses: + "200": + description: Success + tags: + - Authentication + /api/v1/system/backup: + get: + operationId: ListApiV1SystemBackup + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/BackupResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/BackupResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/BackupResource' + type: array + description: Success + tags: + - Backup + /api/v1/system/backup/{id}: + delete: + operationId: DeleteApiV1SystemBackup + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Backup + /api/v1/system/backup/restore/{id}: + post: + operationId: CreateApiV1SystemBackupRestoreById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Backup + /api/v1/system/backup/restore/upload: + post: + operationId: CreateApiV1SystemBackupRestoreUpload + responses: + "200": + description: Success + tags: + - Backup + /api/v1/blocklist: + get: + operationId: GetApiV1Blocklist + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/BlocklistResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/BlocklistResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/BlocklistResourcePagingResource' + description: Success + tags: + - Blocklist + /api/v1/blocklist/{id}: + delete: + operationId: DeleteApiV1Blocklist + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Blocklist + /api/v1/blocklist/bulk: + delete: + operationId: DeleteApiV1BlocklistBulk + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/BlocklistBulkResource' + text/json: + schema: + $ref: '#/components/schemas/BlocklistBulkResource' + application/*+json: + schema: + $ref: '#/components/schemas/BlocklistBulkResource' + responses: + "200": + description: Success + tags: + - Blocklist + /api/v1/calendar: + get: + operationId: ListApiV1Calendar + parameters: + - explode: true + in: query + name: start + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: end + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: unmonitored + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/AlbumResource' + type: array + description: Success + tags: + - Calendar + /api/v1/calendar/{id}: + get: + operationId: GetApiV1CalendarById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Calendar + /feed/v1/calendar/lidarr.ics: + get: + operationId: GetFeedV1CalendarLidarr.ics + parameters: + - explode: true + in: query + name: pastDays + required: false + schema: + default: 7 + format: int32 + type: integer + style: form + - explode: true + in: query + name: futureDays + required: false + schema: + default: 28 + format: int32 + type: integer + style: form + - explode: true + in: query + name: tagList + required: false + schema: + default: "" + type: string + style: form + - explode: true + in: query + name: unmonitored + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + description: Success + tags: + - CalendarFeed + /api/v1/command/{id}: + delete: + operationId: DeleteApiV1Command + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Command + get: + operationId: GetApiV1CommandById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/CommandResource' + application/json: + schema: + $ref: '#/components/schemas/CommandResource' + text/json: + schema: + $ref: '#/components/schemas/CommandResource' + description: Success + tags: + - Command + /api/v1/command: + get: + operationId: ListApiV1Command + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/CommandResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/CommandResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/CommandResource' + type: array + description: Success + tags: + - Command + post: + operationId: CreateApiV1Command + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandResource' + text/json: + schema: + $ref: '#/components/schemas/CommandResource' + application/*+json: + schema: + $ref: '#/components/schemas/CommandResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/CommandResource' + application/json: + schema: + $ref: '#/components/schemas/CommandResource' + text/json: + schema: + $ref: '#/components/schemas/CommandResource' + description: Success + tags: + - Command + /api/v1/customfilter/{id}: + delete: + operationId: DeleteApiV1Customfilter + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - CustomFilter + get: + operationId: GetApiV1CustomfilterById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/CustomFilterResource' + application/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + text/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + description: Success + tags: + - CustomFilter + put: + operationId: UpdateApiV1Customfilter + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + text/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + application/*+json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/CustomFilterResource' + application/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + text/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + description: Success + tags: + - CustomFilter + /api/v1/customfilter: + get: + operationId: ListApiV1Customfilter + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/CustomFilterResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/CustomFilterResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/CustomFilterResource' + type: array + description: Success + tags: + - CustomFilter + post: + operationId: CreateApiV1Customfilter + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + text/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + application/*+json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/CustomFilterResource' + application/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + text/json: + schema: + $ref: '#/components/schemas/CustomFilterResource' + description: Success + tags: + - CustomFilter + /api/v1/wanted/cutoff: + get: + operationId: GetApiV1WantedCutoff + parameters: + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + description: Success + tags: + - Cutoff + /api/v1/wanted/cutoff/{id}: + get: + operationId: GetApiV1WantedCutoffById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Cutoff + /api/v1/delayprofile: + get: + operationId: ListApiV1Delayprofile + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/DelayProfileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/DelayProfileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/DelayProfileResource' + type: array + description: Success + tags: + - DelayProfile + post: + operationId: CreateApiV1Delayprofile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + text/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DelayProfileResource' + application/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + text/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + description: Success + tags: + - DelayProfile + /api/v1/delayprofile/{id}: + delete: + operationId: DeleteApiV1Delayprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - DelayProfile + get: + operationId: GetApiV1DelayprofileById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DelayProfileResource' + application/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + text/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + description: Success + tags: + - DelayProfile + put: + operationId: UpdateApiV1Delayprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + text/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DelayProfileResource' + application/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + text/json: + schema: + $ref: '#/components/schemas/DelayProfileResource' + description: Success + tags: + - DelayProfile + /api/v1/delayprofile/reorder/{id}: + put: + operationId: UpdateApiV1DelayprofileReorder + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + - explode: true + in: query + name: afterId + required: false + schema: + format: int32 + type: integer + style: form + responses: + "200": + description: Success + tags: + - DelayProfile + /api/v1/diskspace: + get: + operationId: ListApiV1Diskspace + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/DiskSpaceResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/DiskSpaceResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/DiskSpaceResource' + type: array + description: Success + tags: + - DiskSpace + /api/v1/downloadclient/{id}: + delete: + operationId: DeleteApiV1Downloadclient + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - DownloadClient + get: + operationId: GetApiV1DownloadclientById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + description: Success + tags: + - DownloadClient + put: + operationId: UpdateApiV1Downloadclient + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/*+json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + description: Success + tags: + - DownloadClient + /api/v1/downloadclient: + get: + operationId: ListApiV1Downloadclient + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + description: Success + tags: + - DownloadClient + post: + operationId: CreateApiV1Downloadclient + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/*+json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + description: Success + tags: + - DownloadClient + /api/v1/downloadclient/schema: + get: + operationId: ListApiV1DownloadclientSchema + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/DownloadClientResource' + type: array + description: Success + tags: + - DownloadClient + /api/v1/downloadclient/test: + post: + operationId: TestApiV1Downloadclient + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/*+json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + responses: + "200": + description: Success + tags: + - DownloadClient + /api/v1/downloadclient/testall: + post: + operationId: TestallApiV1Downloadclient + responses: + "200": + description: Success + tags: + - DownloadClient + /api/v1/downloadclient/action/{name}: + post: + operationId: CreateApiV1DownloadclientActionByName + parameters: + - explode: false + in: path + name: name + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + application/*+json: + schema: + $ref: '#/components/schemas/DownloadClientResource' + responses: + "200": + description: Success + tags: + - DownloadClient + /api/v1/config/downloadclient/{id}: + get: + operationId: GetApiV1ConfigDownloadclientById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + description: Success + tags: + - DownloadClientConfig + put: + operationId: UpdateApiV1ConfigDownloadclient + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + description: Success + tags: + - DownloadClientConfig + /api/v1/config/downloadclient: + get: + operationId: GetApiV1ConfigDownloadclient + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + application/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + text/json: + schema: + $ref: '#/components/schemas/DownloadClientConfigResource' + description: Success + tags: + - DownloadClientConfig + /api/v1/filesystem: + get: + operationId: GetApiV1Filesystem + parameters: + - explode: true + in: query + name: path + required: false + schema: + type: string + style: form + - explode: true + in: query + name: includeFiles + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: allowFoldersWithoutTrailingSlashes + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + description: Success + tags: + - FileSystem + /api/v1/filesystem/type: + get: + operationId: GetApiV1FilesystemType + parameters: + - explode: true + in: query + name: path + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - FileSystem + /api/v1/filesystem/mediafiles: + get: + operationId: GetApiV1FilesystemMediafiles + parameters: + - explode: true + in: query + name: path + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - FileSystem + /api/v1/health/{id}: + get: + operationId: GetApiV1HealthById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/HealthResource' + application/json: + schema: + $ref: '#/components/schemas/HealthResource' + text/json: + schema: + $ref: '#/components/schemas/HealthResource' + description: Success + tags: + - Health + /api/v1/health: + get: + operationId: ListApiV1Health + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/HealthResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/HealthResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/HealthResource' + type: array + description: Success + tags: + - Health + /api/v1/history: + get: + operationId: GetApiV1History + parameters: + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeAlbum + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeTrack + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/HistoryResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/HistoryResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/HistoryResourcePagingResource' + description: Success + tags: + - History + /api/v1/history/since: + get: + operationId: ListApiV1HistorySince + parameters: + - explode: true + in: query + name: date + required: false + schema: + format: date-time + type: string + style: form + - explode: true + in: query + name: eventType + required: false + schema: + $ref: '#/components/schemas/EntityHistoryEventType' + style: form + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeAlbum + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeTrack + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + description: Success + tags: + - History + /api/v1/history/artist: + get: + operationId: ListApiV1HistoryArtist + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: eventType + required: false + schema: + $ref: '#/components/schemas/EntityHistoryEventType' + style: form + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeAlbum + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeTrack + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/HistoryResource' + type: array + description: Success + tags: + - History + /api/v1/history/failed/{id}: + post: + operationId: CreateApiV1HistoryFailedById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - History + /api/v1/config/host/{id}: + get: + operationId: GetApiV1ConfigHostById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/HostConfigResource' + application/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + text/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + description: Success + tags: + - HostConfig + put: + operationId: UpdateApiV1ConfigHost + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + text/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/HostConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/HostConfigResource' + application/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + text/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + description: Success + tags: + - HostConfig + /api/v1/config/host: + get: + operationId: GetApiV1ConfigHost + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/HostConfigResource' + application/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + text/json: + schema: + $ref: '#/components/schemas/HostConfigResource' + description: Success + tags: + - HostConfig + /api/v1/importlist/{id}: + delete: + operationId: DeleteApiV1Importlist + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - ImportList + get: + operationId: GetApiV1ImportlistById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + description: Success + tags: + - ImportList + put: + operationId: UpdateApiV1Importlist + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + description: Success + tags: + - ImportList + /api/v1/importlist: + get: + operationId: ListApiV1Importlist + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + description: Success + tags: + - ImportList + post: + operationId: CreateApiV1Importlist + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + description: Success + tags: + - ImportList + /api/v1/importlist/schema: + get: + operationId: ListApiV1ImportlistSchema + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ImportListResource' + type: array + description: Success + tags: + - ImportList + /api/v1/importlist/test: + post: + operationId: TestApiV1Importlist + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListResource' + responses: + "200": + description: Success + tags: + - ImportList + /api/v1/importlist/testall: + post: + operationId: TestallApiV1Importlist + responses: + "200": + description: Success + tags: + - ImportList + /api/v1/importlist/action/{name}: + post: + operationId: CreateApiV1ImportlistActionByName + parameters: + - explode: false + in: path + name: name + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListResource' + responses: + "200": + description: Success + tags: + - ImportList + /api/v1/importlistexclusion/{id}: + delete: + operationId: DeleteApiV1Importlistexclusion + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - ImportListExclusion + get: + operationId: GetApiV1ImportlistexclusionById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + description: Success + tags: + - ImportListExclusion + put: + operationId: UpdateApiV1Importlistexclusion + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + description: Success + tags: + - ImportListExclusion + /api/v1/importlistexclusion: + get: + operationId: ListApiV1Importlistexclusion + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ImportListExclusionResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ImportListExclusionResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ImportListExclusionResource' + type: array + description: Success + tags: + - ImportListExclusion + post: + operationId: CreateApiV1Importlistexclusion + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + application/*+json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + application/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + text/json: + schema: + $ref: '#/components/schemas/ImportListExclusionResource' + description: Success + tags: + - ImportListExclusion + /api/v1/indexer/{id}: + delete: + operationId: DeleteApiV1Indexer + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Indexer + get: + operationId: GetApiV1IndexerById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + description: Success + tags: + - Indexer + put: + operationId: UpdateApiV1Indexer + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + application/*+json: + schema: + $ref: '#/components/schemas/IndexerResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + description: Success + tags: + - Indexer + /api/v1/indexer: + get: + operationId: ListApiV1Indexer + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + description: Success + tags: + - Indexer + post: + operationId: CreateApiV1Indexer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + application/*+json: + schema: + $ref: '#/components/schemas/IndexerResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + description: Success + tags: + - Indexer + /api/v1/indexer/schema: + get: + operationId: ListApiV1IndexerSchema + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/IndexerResource' + type: array + description: Success + tags: + - Indexer + /api/v1/indexer/test: + post: + operationId: TestApiV1Indexer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + application/*+json: + schema: + $ref: '#/components/schemas/IndexerResource' + responses: + "200": + description: Success + tags: + - Indexer + /api/v1/indexer/testall: + post: + operationId: TestallApiV1Indexer + responses: + "200": + description: Success + tags: + - Indexer + /api/v1/indexer/action/{name}: + post: + operationId: CreateApiV1IndexerActionByName + parameters: + - explode: false + in: path + name: name + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IndexerResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerResource' + application/*+json: + schema: + $ref: '#/components/schemas/IndexerResource' + responses: + "200": + description: Success + tags: + - Indexer + /api/v1/config/indexer/{id}: + get: + operationId: GetApiV1ConfigIndexerById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + description: Success + tags: + - IndexerConfig + put: + operationId: UpdateApiV1ConfigIndexer + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + description: Success + tags: + - IndexerConfig + /api/v1/config/indexer: + get: + operationId: GetApiV1ConfigIndexer + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + application/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + text/json: + schema: + $ref: '#/components/schemas/IndexerConfigResource' + description: Success + tags: + - IndexerConfig + /initialize.js: + get: + operationId: GetInitialize.js + responses: + "200": + description: Success + tags: + - InitializeJs + /api/v1/language/{id}: + get: + operationId: GetApiV1LanguageById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/LanguageResource' + application/json: + schema: + $ref: '#/components/schemas/LanguageResource' + text/json: + schema: + $ref: '#/components/schemas/LanguageResource' + description: Success + tags: + - Language + /api/v1/language: + get: + operationId: ListApiV1Language + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/LanguageResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/LanguageResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/LanguageResource' + type: array + description: Success + tags: + - Language + /api/v1/localization: + get: + operationId: GetApiV1Localization + responses: + "200": + content: + text/plain: + schema: + type: string + application/json: + schema: + type: string + text/json: + schema: + type: string + description: Success + tags: + - Localization + /api/v1/log: + get: + operationId: GetApiV1Log + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/LogResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/LogResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/LogResourcePagingResource' + description: Success + tags: + - Log + /api/v1/log/file: + get: + operationId: ListApiV1LogFile + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + description: Success + tags: + - LogFile + /api/v1/log/file/{filename}: + get: + operationId: GetApiV1LogFileByFilename + parameters: + - explode: false + in: path + name: filename + required: true + schema: + pattern: "[-.a-zA-Z0-9]+?\\.txt" + type: string + style: simple + responses: + "200": + description: Success + tags: + - LogFile + /api/v1/manualimport: + get: + operationId: ListApiV1Manualimport + parameters: + - explode: true + in: query + name: folder + required: false + schema: + type: string + style: form + - explode: true + in: query + name: downloadId + required: false + schema: + type: string + style: form + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: filterExistingFiles + required: false + schema: + default: true + type: boolean + style: form + - explode: true + in: query + name: replaceExistingFiles + required: false + schema: + default: true + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + description: Success + tags: + - ManualImport + put: + operationId: PutApiV1Manualimport + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + application/*+json: + schema: + items: + $ref: '#/components/schemas/ManualImportResource' + type: array + responses: + "200": + description: Success + tags: + - ManualImport + /api/v1/mediacover/artist/{artistId}/{filename}: + get: + operationId: "GetApiV1MediacoverArtist{artistid}ByFilename" + parameters: + - explode: false + in: path + name: artistId + required: true + schema: + format: int32 + type: integer + style: simple + - explode: false + in: path + name: filename + required: true + schema: + pattern: (.+)\.(jpg|png|gif) + type: string + style: simple + responses: + "200": + description: Success + tags: + - MediaCover + /api/v1/mediacover/album/{albumId}/{filename}: + get: + operationId: "GetApiV1MediacoverAlbum{albumid}ByFilename" + parameters: + - explode: false + in: path + name: albumId + required: true + schema: + format: int32 + type: integer + style: simple + - explode: false + in: path + name: filename + required: true + schema: + pattern: (.+)\.(jpg|png|gif) + type: string + style: simple + responses: + "200": + description: Success + tags: + - MediaCover + /api/v1/config/mediamanagement/{id}: + get: + operationId: GetApiV1ConfigMediamanagementById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + description: Success + tags: + - MediaManagementConfig + put: + operationId: UpdateApiV1ConfigMediamanagement + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + description: Success + tags: + - MediaManagementConfig + /api/v1/config/mediamanagement: + get: + operationId: GetApiV1ConfigMediamanagement + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MediaManagementConfigResource' + description: Success + tags: + - MediaManagementConfig + /api/v1/metadata/{id}: + delete: + operationId: DeleteApiV1Metadata + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Metadata + get: + operationId: GetApiV1MetadataById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + description: Success + tags: + - Metadata + put: + operationId: UpdateApiV1Metadata + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + description: Success + tags: + - Metadata + /api/v1/metadata: + get: + operationId: ListApiV1Metadata + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + description: Success + tags: + - Metadata + post: + operationId: CreateApiV1Metadata + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + description: Success + tags: + - Metadata + /api/v1/metadata/schema: + get: + operationId: ListApiV1MetadataSchema + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/MetadataResource' + type: array + description: Success + tags: + - Metadata + /api/v1/metadata/test: + post: + operationId: TestApiV1Metadata + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataResource' + responses: + "200": + description: Success + tags: + - Metadata + /api/v1/metadata/testall: + post: + operationId: TestallApiV1Metadata + responses: + "200": + description: Success + tags: + - Metadata + /api/v1/metadata/action/{name}: + post: + operationId: CreateApiV1MetadataActionByName + parameters: + - explode: false + in: path + name: name + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataResource' + responses: + "200": + description: Success + tags: + - Metadata + /api/v1/metadataprofile: + get: + operationId: ListApiV1Metadataprofile + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/MetadataProfileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/MetadataProfileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/MetadataProfileResource' + type: array + description: Success + tags: + - MetadataProfile + post: + operationId: CreateApiV1Metadataprofile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + description: Success + tags: + - MetadataProfile + /api/v1/metadataprofile/{id}: + delete: + operationId: DeleteApiV1Metadataprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - MetadataProfile + get: + operationId: GetApiV1MetadataprofileById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + description: Success + tags: + - MetadataProfile + put: + operationId: UpdateApiV1Metadataprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + description: Success + tags: + - MetadataProfile + /api/v1/metadataprofile/schema: + get: + operationId: GetApiV1MetadataprofileSchema + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProfileResource' + description: Success + tags: + - MetadataProfileSchema + /api/v1/config/metadataprovider/{id}: + get: + operationId: GetApiV1ConfigMetadataproviderById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + description: Success + tags: + - MetadataProviderConfig + put: + operationId: UpdateApiV1ConfigMetadataprovider + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + description: Success + tags: + - MetadataProviderConfig + /api/v1/config/metadataprovider: + get: + operationId: GetApiV1ConfigMetadataprovider + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + application/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + text/json: + schema: + $ref: '#/components/schemas/MetadataProviderConfigResource' + description: Success + tags: + - MetadataProviderConfig + /api/v1/wanted/missing: + get: + operationId: GetApiV1WantedMissing + parameters: + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResourcePagingResource' + description: Success + tags: + - Missing + /api/v1/wanted/missing/{id}: + get: + operationId: GetApiV1WantedMissingById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/AlbumResource' + application/json: + schema: + $ref: '#/components/schemas/AlbumResource' + text/json: + schema: + $ref: '#/components/schemas/AlbumResource' + description: Success + tags: + - Missing + /api/v1/config/naming/{id}: + get: + operationId: GetApiV1ConfigNamingById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NamingConfigResource' + application/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + text/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + description: Success + tags: + - NamingConfig + put: + operationId: UpdateApiV1ConfigNaming + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + text/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NamingConfigResource' + application/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + text/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + description: Success + tags: + - NamingConfig + /api/v1/config/naming: + get: + operationId: GetApiV1ConfigNaming + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NamingConfigResource' + application/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + text/json: + schema: + $ref: '#/components/schemas/NamingConfigResource' + description: Success + tags: + - NamingConfig + /api/v1/config/naming/examples: + get: + operationId: GetApiV1ConfigNamingExamples + parameters: + - explode: true + in: query + name: RenameTracks + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: ReplaceIllegalCharacters + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: StandardTrackFormat + required: false + schema: + type: string + style: form + - explode: true + in: query + name: MultiDiscTrackFormat + required: false + schema: + type: string + style: form + - explode: true + in: query + name: ArtistFolderFormat + required: false + schema: + type: string + style: form + - explode: true + in: query + name: IncludeArtistName + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: IncludeAlbumTitle + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: IncludeQuality + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: ReplaceSpaces + required: false + schema: + type: boolean + style: form + - explode: true + in: query + name: Separator + required: false + schema: + type: string + style: form + - explode: true + in: query + name: NumberStyle + required: false + schema: + type: string + style: form + - explode: true + in: query + name: Id + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: ResourceName + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - NamingConfig + /api/v1/notification/{id}: + delete: + operationId: DeleteApiV1Notification + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Notification + get: + operationId: GetApiV1NotificationById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NotificationResource' + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + description: Success + tags: + - Notification + put: + operationId: UpdateApiV1Notification + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + application/*+json: + schema: + $ref: '#/components/schemas/NotificationResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NotificationResource' + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + description: Success + tags: + - Notification + /api/v1/notification: + get: + operationId: ListApiV1Notification + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + description: Success + tags: + - Notification + post: + operationId: CreateApiV1Notification + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + application/*+json: + schema: + $ref: '#/components/schemas/NotificationResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/NotificationResource' + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + description: Success + tags: + - Notification + /api/v1/notification/schema: + get: + operationId: ListApiV1NotificationSchema + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/NotificationResource' + type: array + description: Success + tags: + - Notification + /api/v1/notification/test: + post: + operationId: TestApiV1Notification + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + application/*+json: + schema: + $ref: '#/components/schemas/NotificationResource' + responses: + "200": + description: Success + tags: + - Notification + /api/v1/notification/testall: + post: + operationId: TestallApiV1Notification + responses: + "200": + description: Success + tags: + - Notification + /api/v1/notification/action/{name}: + post: + operationId: CreateApiV1NotificationActionByName + parameters: + - explode: false + in: path + name: name + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NotificationResource' + text/json: + schema: + $ref: '#/components/schemas/NotificationResource' + application/*+json: + schema: + $ref: '#/components/schemas/NotificationResource' + responses: + "200": + description: Success + tags: + - Notification + /api/v1/parse: + get: + operationId: GetApiV1Parse + parameters: + - explode: true + in: query + name: title + required: false + schema: + type: string + style: form + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ParseResource' + application/json: + schema: + $ref: '#/components/schemas/ParseResource' + text/json: + schema: + $ref: '#/components/schemas/ParseResource' + description: Success + tags: + - Parse + /api/v1/qualitydefinition/{id}: + get: + operationId: GetApiV1QualitydefinitionById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + application/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + text/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + description: Success + tags: + - QualityDefinition + put: + operationId: UpdateApiV1Qualitydefinition + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + text/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + application/*+json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + application/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + text/json: + schema: + $ref: '#/components/schemas/QualityDefinitionResource' + description: Success + tags: + - QualityDefinition + /api/v1/qualitydefinition: + get: + operationId: ListApiV1Qualitydefinition + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + description: Success + tags: + - QualityDefinition + /api/v1/qualitydefinition/update: + put: + operationId: PutApiV1QualitydefinitionUpdate + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + application/*+json: + schema: + items: + $ref: '#/components/schemas/QualityDefinitionResource' + type: array + responses: + "200": + description: Success + tags: + - QualityDefinition + /api/v1/qualityprofile: + get: + operationId: ListApiV1Qualityprofile + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/QualityProfileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/QualityProfileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/QualityProfileResource' + type: array + description: Success + tags: + - QualityProfile + post: + operationId: CreateApiV1Qualityprofile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + description: Success + tags: + - QualityProfile + /api/v1/qualityprofile/{id}: + delete: + operationId: DeleteApiV1Qualityprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - QualityProfile + get: + operationId: GetApiV1QualityprofileById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + description: Success + tags: + - QualityProfile + put: + operationId: UpdateApiV1Qualityprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + description: Success + tags: + - QualityProfile + /api/v1/qualityprofile/schema: + get: + operationId: GetApiV1QualityprofileSchema + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QualityProfileResource' + application/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + text/json: + schema: + $ref: '#/components/schemas/QualityProfileResource' + description: Success + tags: + - QualityProfileSchema + /api/v1/queue/{id}: + delete: + operationId: DeleteApiV1Queue + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + - explode: true + in: query + name: removeFromClient + required: false + schema: + default: true + type: boolean + style: form + - explode: true + in: query + name: blocklist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: skipReDownload + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + description: Success + tags: + - Queue + get: + operationId: GetApiV1QueueById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QueueResource' + application/json: + schema: + $ref: '#/components/schemas/QueueResource' + text/json: + schema: + $ref: '#/components/schemas/QueueResource' + description: Success + tags: + - Queue + /api/v1/queue/bulk: + delete: + operationId: DeleteApiV1QueueBulk + parameters: + - explode: true + in: query + name: removeFromClient + required: false + schema: + default: true + type: boolean + style: form + - explode: true + in: query + name: blocklist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: skipReDownload + required: false + schema: + default: false + type: boolean + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + text/json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + application/*+json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + responses: + "200": + description: Success + tags: + - Queue + /api/v1/queue: + get: + operationId: GetApiV1Queue + parameters: + - explode: true + in: query + name: includeUnknownArtistItems + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeAlbum + required: false + schema: + default: false + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QueueResourcePagingResource' + application/json: + schema: + $ref: '#/components/schemas/QueueResourcePagingResource' + text/json: + schema: + $ref: '#/components/schemas/QueueResourcePagingResource' + description: Success + tags: + - Queue + /api/v1/queue/grab/{id}: + post: + operationId: CreateApiV1QueueGrabById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - QueueAction + /api/v1/queue/grab/bulk: + post: + operationId: CreateApiV1QueueGrabBulk + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + text/json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + application/*+json: + schema: + $ref: '#/components/schemas/QueueBulkResource' + responses: + "200": + description: Success + tags: + - QueueAction + /api/v1/queue/details/{id}: + get: + operationId: GetApiV1QueueDetailsById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QueueResource' + application/json: + schema: + $ref: '#/components/schemas/QueueResource' + text/json: + schema: + $ref: '#/components/schemas/QueueResource' + description: Success + tags: + - QueueDetails + /api/v1/queue/details: + get: + operationId: ListApiV1QueueDetails + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumIds + required: false + schema: + items: + format: int32 + type: integer + type: array + style: form + - explode: true + in: query + name: includeArtist + required: false + schema: + default: false + type: boolean + style: form + - explode: true + in: query + name: includeAlbum + required: false + schema: + default: true + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/QueueResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/QueueResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/QueueResource' + type: array + description: Success + tags: + - QueueDetails + /api/v1/queue/status/{id}: + get: + operationId: GetApiV1QueueStatusById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QueueStatusResource' + application/json: + schema: + $ref: '#/components/schemas/QueueStatusResource' + text/json: + schema: + $ref: '#/components/schemas/QueueStatusResource' + description: Success + tags: + - QueueStatus + /api/v1/queue/status: + get: + operationId: GetApiV1QueueStatus + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/QueueStatusResource' + application/json: + schema: + $ref: '#/components/schemas/QueueStatusResource' + text/json: + schema: + $ref: '#/components/schemas/QueueStatusResource' + description: Success + tags: + - QueueStatus + /api/v1/release: + get: + operationId: ListApiV1Release + parameters: + - explode: true + in: query + name: albumId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ReleaseResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ReleaseResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ReleaseResource' + type: array + description: Success + tags: + - Release + post: + operationId: CreateApiV1Release + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/*+json: + schema: + $ref: '#/components/schemas/ReleaseResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + description: Success + tags: + - Release + /api/v1/release/{id}: + get: + operationId: GetApiV1ReleaseById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + description: Success + tags: + - Release + /api/v1/releaseprofile/{id}: + delete: + operationId: DeleteApiV1Releaseprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - ReleaseProfile + get: + operationId: GetApiV1ReleaseprofileById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + description: Success + tags: + - ReleaseProfile + put: + operationId: UpdateApiV1Releaseprofile + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + description: Success + tags: + - ReleaseProfile + /api/v1/releaseprofile: + get: + operationId: ListApiV1Releaseprofile + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/ReleaseProfileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/ReleaseProfileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/ReleaseProfileResource' + type: array + description: Success + tags: + - ReleaseProfile + post: + operationId: CreateApiV1Releaseprofile + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + application/*+json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseProfileResource' + description: Success + tags: + - ReleaseProfile + /api/v1/release/push: + post: + operationId: CreateApiV1ReleasePush + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/*+json: + schema: + $ref: '#/components/schemas/ReleaseResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + description: Success + tags: + - ReleasePush + /api/v1/release/push/{id}: + get: + operationId: GetApiV1ReleasePushById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/ReleaseResource' + application/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + text/json: + schema: + $ref: '#/components/schemas/ReleaseResource' + description: Success + tags: + - ReleasePush + /api/v1/remotepathmapping/{id}: + delete: + operationId: DeleteApiV1Remotepathmapping + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - RemotePathMapping + get: + operationId: GetApiV1RemotepathmappingById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + application/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + text/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + description: Success + tags: + - RemotePathMapping + put: + operationId: UpdateApiV1Remotepathmapping + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + text/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + application/*+json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + application/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + text/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + description: Success + tags: + - RemotePathMapping + /api/v1/remotepathmapping: + get: + operationId: ListApiV1Remotepathmapping + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/RemotePathMappingResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/RemotePathMappingResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/RemotePathMappingResource' + type: array + description: Success + tags: + - RemotePathMapping + post: + operationId: CreateApiV1Remotepathmapping + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + text/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + application/*+json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + application/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + text/json: + schema: + $ref: '#/components/schemas/RemotePathMappingResource' + description: Success + tags: + - RemotePathMapping + /api/v1/rename: + get: + operationId: ListApiV1Rename + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumId + required: false + schema: + format: int32 + type: integer + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/RenameTrackResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/RenameTrackResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/RenameTrackResource' + type: array + description: Success + tags: + - RenameTrack + /api/v1/retag: + get: + operationId: ListApiV1Retag + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumId + required: false + schema: + format: int32 + type: integer + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/RetagTrackResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/RetagTrackResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/RetagTrackResource' + type: array + description: Success + tags: + - RetagTrack + /api/v1/rootfolder/{id}: + delete: + operationId: DeleteApiV1Rootfolder + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - RootFolder + get: + operationId: GetApiV1RootfolderById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RootFolderResource' + application/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + text/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + description: Success + tags: + - RootFolder + put: + operationId: UpdateApiV1Rootfolder + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + text/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + application/*+json: + schema: + $ref: '#/components/schemas/RootFolderResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RootFolderResource' + application/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + text/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + description: Success + tags: + - RootFolder + /api/v1/rootfolder: + get: + operationId: ListApiV1Rootfolder + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/RootFolderResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/RootFolderResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/RootFolderResource' + type: array + description: Success + tags: + - RootFolder + post: + operationId: CreateApiV1Rootfolder + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + text/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + application/*+json: + schema: + $ref: '#/components/schemas/RootFolderResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/RootFolderResource' + application/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + text/json: + schema: + $ref: '#/components/schemas/RootFolderResource' + description: Success + tags: + - RootFolder + /api/v1/search: + get: + operationId: GetApiV1Search + parameters: + - explode: true + in: query + name: term + required: false + schema: + type: string + style: form + responses: + "200": + description: Success + tags: + - Search + /content/{path}: + get: + operationId: GetContentByPath + parameters: + - explode: false + in: path + name: path + required: true + schema: + pattern: ^(?!api/).* + type: string + style: simple + responses: + "200": + description: Success + tags: + - StaticResource + /: + get: + operationId: Get + parameters: + - explode: false + in: path + name: path + required: true + schema: + type: string + style: simple + responses: + "200": + description: Success + tags: + - StaticResource + /{path}: + get: + operationId: GetByPath + parameters: + - explode: false + in: path + name: path + required: true + schema: + pattern: ^(?!(api|feed)/).* + type: string + style: simple + responses: + "200": + description: Success + tags: + - StaticResource + /api/v1/system/status: + get: + operationId: GetApiV1SystemStatus + responses: + "200": + description: Success + tags: + - System + /api/v1/system/routes: + get: + operationId: GetApiV1SystemRoutes + responses: + "200": + description: Success + tags: + - System + /api/v1/system/routes/duplicate: + get: + operationId: GetApiV1SystemRoutesDuplicate + responses: + "200": + description: Success + tags: + - System + /api/v1/system/shutdown: + post: + operationId: CreateApiV1SystemShutdown + responses: + "200": + description: Success + tags: + - System + /api/v1/system/restart: + post: + operationId: CreateApiV1SystemRestart + responses: + "200": + description: Success + tags: + - System + /api/v1/tag/{id}: + delete: + operationId: DeleteApiV1Tag + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - Tag + get: + operationId: GetApiV1TagById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TagResource' + application/json: + schema: + $ref: '#/components/schemas/TagResource' + text/json: + schema: + $ref: '#/components/schemas/TagResource' + description: Success + tags: + - Tag + put: + operationId: UpdateApiV1Tag + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagResource' + text/json: + schema: + $ref: '#/components/schemas/TagResource' + application/*+json: + schema: + $ref: '#/components/schemas/TagResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TagResource' + application/json: + schema: + $ref: '#/components/schemas/TagResource' + text/json: + schema: + $ref: '#/components/schemas/TagResource' + description: Success + tags: + - Tag + /api/v1/tag: + get: + operationId: ListApiV1Tag + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/TagResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/TagResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/TagResource' + type: array + description: Success + tags: + - Tag + post: + operationId: CreateApiV1Tag + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagResource' + text/json: + schema: + $ref: '#/components/schemas/TagResource' + application/*+json: + schema: + $ref: '#/components/schemas/TagResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TagResource' + application/json: + schema: + $ref: '#/components/schemas/TagResource' + text/json: + schema: + $ref: '#/components/schemas/TagResource' + description: Success + tags: + - Tag + /api/v1/tag/detail/{id}: + get: + operationId: GetApiV1TagDetailById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TagDetailsResource' + application/json: + schema: + $ref: '#/components/schemas/TagDetailsResource' + text/json: + schema: + $ref: '#/components/schemas/TagDetailsResource' + description: Success + tags: + - TagDetails + /api/v1/tag/detail: + get: + operationId: ListApiV1TagDetail + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/TagDetailsResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/TagDetailsResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/TagDetailsResource' + type: array + description: Success + tags: + - TagDetails + /api/v1/system/task: + get: + operationId: ListApiV1SystemTask + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/TaskResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/TaskResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/TaskResource' + type: array + description: Success + tags: + - Task + /api/v1/system/task/{id}: + get: + operationId: GetApiV1SystemTaskById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TaskResource' + application/json: + schema: + $ref: '#/components/schemas/TaskResource' + text/json: + schema: + $ref: '#/components/schemas/TaskResource' + description: Success + tags: + - Task + /api/v1/track: + get: + operationId: ListApiV1Track + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: albumReleaseId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: trackIds + required: false + schema: + items: + format: int32 + type: integer + type: array + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/TrackResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/TrackResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/TrackResource' + type: array + description: Success + tags: + - Track + /api/v1/track/{id}: + get: + operationId: GetApiV1TrackById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TrackResource' + application/json: + schema: + $ref: '#/components/schemas/TrackResource' + text/json: + schema: + $ref: '#/components/schemas/TrackResource' + description: Success + tags: + - Track + /api/v1/trackfile/{id}: + delete: + operationId: DeleteApiV1Trackfile + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + description: Success + tags: + - TrackFile + get: + operationId: GetApiV1TrackfileById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TrackFileResource' + application/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + text/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + description: Success + tags: + - TrackFile + put: + operationId: UpdateApiV1Trackfile + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + text/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + application/*+json: + schema: + $ref: '#/components/schemas/TrackFileResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/TrackFileResource' + application/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + text/json: + schema: + $ref: '#/components/schemas/TrackFileResource' + description: Success + tags: + - TrackFile + /api/v1/trackfile: + get: + operationId: ListApiV1Trackfile + parameters: + - explode: true + in: query + name: artistId + required: false + schema: + format: int32 + type: integer + style: form + - explode: true + in: query + name: trackFileIds + required: false + schema: + items: + format: int32 + type: integer + type: array + style: form + - explode: true + in: query + name: albumId + required: false + schema: + items: + format: int32 + type: integer + type: array + style: form + - explode: true + in: query + name: unmapped + required: false + schema: + type: boolean + style: form + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/TrackFileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/TrackFileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/TrackFileResource' + type: array + description: Success + tags: + - TrackFile + /api/v1/trackfile/editor: + put: + operationId: PutApiV1TrackfileEditor + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + text/json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + application/*+json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + responses: + "200": + description: Success + tags: + - TrackFile + /api/v1/trackfile/bulk: + delete: + operationId: DeleteApiV1TrackfileBulk + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + text/json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + application/*+json: + schema: + $ref: '#/components/schemas/TrackFileListResource' + responses: + "200": + description: Success + tags: + - TrackFile + /api/v1/config/ui/{id}: + get: + operationId: GetApiV1ConfigUiById + parameters: + - explode: false + in: path + name: id + required: true + schema: + format: int32 + type: integer + style: simple + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/UiConfigResource' + application/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + text/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + description: Success + tags: + - UiConfig + put: + operationId: UpdateApiV1ConfigUi + parameters: + - explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + text/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + application/*+json: + schema: + $ref: '#/components/schemas/UiConfigResource' + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/UiConfigResource' + application/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + text/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + description: Success + tags: + - UiConfig + /api/v1/config/ui: + get: + operationId: GetApiV1ConfigUi + responses: + "200": + content: + text/plain: + schema: + $ref: '#/components/schemas/UiConfigResource' + application/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + text/json: + schema: + $ref: '#/components/schemas/UiConfigResource' + description: Success + tags: + - UiConfig + /api/v1/update: + get: + operationId: ListApiV1Update + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/UpdateResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/UpdateResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/UpdateResource' + type: array + description: Success + tags: + - Update + /api/v1/log/file/update: + get: + operationId: ListApiV1LogFileUpdate + responses: + "200": + content: + text/plain: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + application/json: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + text/json: + schema: + items: + $ref: '#/components/schemas/LogFileResource' + type: array + description: Success + tags: + - UpdateLogFile + /api/v1/log/file/update/{filename}: + get: + operationId: GetApiV1LogFileUpdateByFilename + parameters: + - explode: false + in: path + name: filename + required: true + schema: + pattern: "[-.a-zA-Z0-9]+?\\.txt" + type: string + style: simple + responses: + "200": + description: Success + tags: + - UpdateLogFile +components: + schemas: + AddAlbumOptions: + additionalProperties: false + example: + addType: null + searchForNewAlbum: true + properties: + addType: + $ref: '#/components/schemas/AlbumAddType' + searchForNewAlbum: + type: boolean + type: object + AddArtistOptions: + additionalProperties: false + example: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + properties: + monitor: + $ref: '#/components/schemas/MonitorTypes' + albumsToMonitor: + items: + type: string + nullable: true + type: array + monitored: + type: boolean + searchForMissingAlbums: + type: boolean + type: object + Album: + additionalProperties: false + example: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + properties: + id: + format: int32 + type: integer + artistMetadataId: + format: int32 + type: integer + foreignAlbumId: + nullable: true + type: string + oldForeignAlbumIds: + items: + type: string + nullable: true + type: array + title: + nullable: true + type: string + overview: + nullable: true + type: string + disambiguation: + nullable: true + type: string + releaseDate: + format: date-time + nullable: true + type: string + images: + items: + $ref: '#/components/schemas/MediaCover' + nullable: true + type: array + links: + items: + $ref: '#/components/schemas/Links' + nullable: true + type: array + genres: + items: + type: string + nullable: true + type: array + albumType: + nullable: true + type: string + secondaryTypes: + items: + $ref: '#/components/schemas/SecondaryAlbumType' + nullable: true + type: array + ratings: + $ref: '#/components/schemas/Ratings' + cleanTitle: + nullable: true + type: string + profileId: + format: int32 + type: integer + monitored: + type: boolean + anyReleaseOk: + type: boolean + lastInfoSync: + format: date-time + nullable: true + type: string + added: + format: date-time + type: string + addOptions: + $ref: '#/components/schemas/AddAlbumOptions' + artistMetadata: + $ref: '#/components/schemas/ArtistMetadataLazyLoaded' + albumReleases: + $ref: '#/components/schemas/AlbumReleaseListLazyLoaded' + artist: + $ref: '#/components/schemas/ArtistLazyLoaded' + type: object + AlbumAddType: + enum: + - automatic + - manual + type: string + AlbumLazyLoaded: + additionalProperties: false + example: + value: null + isLoaded: true + properties: + value: + $ref: '#/components/schemas/Album' + isLoaded: + readOnly: true + type: boolean + type: object + AlbumListLazyLoaded: + additionalProperties: false + example: + value: + - null + - null + isLoaded: true + properties: + value: + items: + $ref: '#/components/schemas/Album' + nullable: true + readOnly: true + type: array + isLoaded: + readOnly: true + type: boolean + type: object + AlbumRelease: + additionalProperties: false + example: + foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + properties: + id: + format: int32 + type: integer + albumId: + format: int32 + type: integer + foreignReleaseId: + nullable: true + type: string + oldForeignReleaseIds: + items: + type: string + nullable: true + type: array + title: + nullable: true + type: string + status: + nullable: true + type: string + duration: + format: int32 + type: integer + label: + items: + type: string + nullable: true + type: array + disambiguation: + nullable: true + type: string + country: + items: + type: string + nullable: true + type: array + releaseDate: + format: date-time + nullable: true + type: string + media: + items: + $ref: '#/components/schemas/Medium' + nullable: true + type: array + trackCount: + format: int32 + type: integer + monitored: + type: boolean + album: + $ref: '#/components/schemas/AlbumLazyLoaded' + tracks: + $ref: '#/components/schemas/TrackListLazyLoaded' + type: object + AlbumReleaseLazyLoaded: + additionalProperties: false + example: + value: null + isLoaded: true + properties: + value: + $ref: '#/components/schemas/AlbumRelease' + isLoaded: + readOnly: true + type: boolean + type: object + AlbumReleaseListLazyLoaded: + additionalProperties: false + example: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + properties: + value: + items: + $ref: '#/components/schemas/AlbumRelease' + nullable: true + readOnly: true + type: array + isLoaded: + readOnly: true + type: boolean + type: object + AlbumReleaseResource: + additionalProperties: false + example: + foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + properties: + id: + format: int32 + type: integer + albumId: + format: int32 + type: integer + foreignReleaseId: + nullable: true + type: string + title: + nullable: true + type: string + status: + nullable: true + type: string + duration: + format: int32 + type: integer + trackCount: + format: int32 + type: integer + media: + items: + $ref: '#/components/schemas/MediumResource' + nullable: true + type: array + mediumCount: + format: int32 + readOnly: true + type: integer + disambiguation: + nullable: true + type: string + country: + items: + type: string + nullable: true + type: array + label: + items: + type: string + nullable: true + type: array + format: + nullable: true + type: string + monitored: + type: boolean + type: object + AlbumResource: + additionalProperties: false + example: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + properties: + id: + format: int32 + type: integer + title: + nullable: true + type: string + disambiguation: + nullable: true + type: string + overview: + nullable: true + type: string + artistId: + format: int32 + type: integer + foreignAlbumId: + nullable: true + type: string + monitored: + type: boolean + anyReleaseOk: + type: boolean + profileId: + format: int32 + type: integer + duration: + format: int32 + type: integer + albumType: + nullable: true + type: string + secondaryTypes: + items: + type: string + nullable: true + type: array + mediumCount: + format: int32 + readOnly: true + type: integer + ratings: + $ref: '#/components/schemas/Ratings' + releaseDate: + format: date-time + nullable: true + type: string + releases: + items: + $ref: '#/components/schemas/AlbumReleaseResource' + nullable: true + type: array + genres: + items: + type: string + nullable: true + type: array + media: + items: + $ref: '#/components/schemas/MediumResource' + nullable: true + type: array + artist: + $ref: '#/components/schemas/ArtistResource' + images: + items: + $ref: '#/components/schemas/MediaCover' + nullable: true + type: array + links: + items: + $ref: '#/components/schemas/Links' + nullable: true + type: array + statistics: + $ref: '#/components/schemas/AlbumStatisticsResource' + addOptions: + $ref: '#/components/schemas/AddAlbumOptions' + remoteCover: + nullable: true + type: string + grabbed: + type: boolean + type: object + AlbumResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + pageSize: 6 + page: 0 + filters: + - value: value + key: key + - value: value + key: key + properties: + page: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + sortKey: + nullable: true + type: string + sortDirection: + $ref: '#/components/schemas/SortDirection' + filters: + items: + $ref: '#/components/schemas/PagingResourceFilter' + nullable: true + type: array + totalRecords: + format: int32 + type: integer + records: + items: + $ref: '#/components/schemas/AlbumResource' + nullable: true + type: array + type: object + AlbumStatisticsResource: + additionalProperties: false + example: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + properties: + trackFileCount: + format: int32 + type: integer + trackCount: + format: int32 + type: integer + totalTrackCount: + format: int32 + type: integer + sizeOnDisk: + format: int64 + type: integer + percentOfTracks: + format: double + readOnly: true + type: number + type: object + AlbumStudioArtistResource: + additionalProperties: false + example: + albums: + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + id: 0 + monitored: true + properties: + id: + format: int32 + type: integer + monitored: + nullable: true + type: boolean + albums: + items: + $ref: '#/components/schemas/AlbumResource' + nullable: true + type: array + type: object + AlbumStudioResource: + additionalProperties: false + example: + artist: + - albums: + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + id: 0 + monitored: true + - albums: + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + id: 0 + monitored: true + monitorNewItems: null + monitoringOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + monitored: true + properties: + artist: + items: + $ref: '#/components/schemas/AlbumStudioArtistResource' + nullable: true + type: array + monitoringOptions: + $ref: '#/components/schemas/MonitoringOptions' + monitorNewItems: + $ref: '#/components/schemas/NewItemMonitorTypes' + type: object + AlbumsMonitoredResource: + additionalProperties: false + example: + albumIds: + - 0 + - 0 + monitored: true + properties: + albumIds: + items: + format: int32 + type: integer + nullable: true + type: array + monitored: + type: boolean + type: object + AllowFingerprinting: + enum: + - never + - newFiles + - allFiles + type: string + ApplyTags: + enum: + - add + - remove + - replace + type: string + Artist: + additionalProperties: false + example: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + properties: + id: + format: int32 + type: integer + artistMetadataId: + format: int32 + type: integer + cleanName: + nullable: true + type: string + sortName: + nullable: true + type: string + monitored: + type: boolean + monitorNewItems: + $ref: '#/components/schemas/NewItemMonitorTypes' + lastInfoSync: + format: date-time + nullable: true + type: string + path: + nullable: true + type: string + rootFolderPath: + nullable: true + type: string + added: + format: date-time + type: string + qualityProfileId: + format: int32 + type: integer + metadataProfileId: + format: int32 + type: integer + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + addOptions: + $ref: '#/components/schemas/AddArtistOptions' + metadata: + $ref: '#/components/schemas/ArtistMetadataLazyLoaded' + qualityProfile: + $ref: '#/components/schemas/QualityProfileLazyLoaded' + metadataProfile: + $ref: '#/components/schemas/MetadataProfileLazyLoaded' + albums: + $ref: '#/components/schemas/AlbumListLazyLoaded' + name: + nullable: true + type: string + foreignArtistId: + nullable: true + type: string + type: object + ArtistEditorResource: + additionalProperties: false + example: + applyTags: null + deleteFiles: true + monitorNewItems: null + rootFolderPath: rootFolderPath + qualityProfileId: 6 + metadataProfileId: 1 + moveFiles: true + artistIds: + - 0 + - 0 + monitored: true + tags: + - 5 + - 5 + properties: + artistIds: + items: + format: int32 + type: integer + nullable: true + type: array + monitored: + nullable: true + type: boolean + monitorNewItems: + $ref: '#/components/schemas/NewItemMonitorTypes' + qualityProfileId: + format: int32 + nullable: true + type: integer + metadataProfileId: + format: int32 + nullable: true + type: integer + rootFolderPath: + nullable: true + type: string + tags: + items: + format: int32 + type: integer + nullable: true + type: array + applyTags: + $ref: '#/components/schemas/ApplyTags' + moveFiles: + type: boolean + deleteFiles: + type: boolean + type: object + ArtistLazyLoaded: + additionalProperties: false + example: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + properties: + value: + $ref: '#/components/schemas/Artist' + isLoaded: + readOnly: true + type: boolean + type: object + ArtistMetadata: + additionalProperties: false + example: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + properties: + id: + format: int32 + type: integer + foreignArtistId: + nullable: true + type: string + oldForeignArtistIds: + items: + type: string + nullable: true + type: array + name: + nullable: true + type: string + aliases: + items: + type: string + nullable: true + type: array + overview: + nullable: true + type: string + disambiguation: + nullable: true + type: string + type: + nullable: true + type: string + status: + $ref: '#/components/schemas/ArtistStatusType' + images: + items: + $ref: '#/components/schemas/MediaCover' + nullable: true + type: array + links: + items: + $ref: '#/components/schemas/Links' + nullable: true + type: array + genres: + items: + type: string + nullable: true + type: array + ratings: + $ref: '#/components/schemas/Ratings' + members: + items: + $ref: '#/components/schemas/Member' + nullable: true + type: array + type: object + ArtistMetadataLazyLoaded: + additionalProperties: false + example: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + properties: + value: + $ref: '#/components/schemas/ArtistMetadata' + isLoaded: + readOnly: true + type: boolean + type: object + ArtistResource: + additionalProperties: false + example: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + properties: + id: + format: int32 + type: integer + artistMetadataId: + format: int32 + type: integer + status: + $ref: '#/components/schemas/ArtistStatusType' + ended: + readOnly: true + type: boolean + artistName: + nullable: true + type: string + foreignArtistId: + nullable: true + type: string + mbId: + nullable: true + type: string + tadbId: + format: int32 + type: integer + discogsId: + format: int32 + type: integer + allMusicId: + nullable: true + type: string + overview: + nullable: true + type: string + artistType: + nullable: true + type: string + disambiguation: + nullable: true + type: string + links: + items: + $ref: '#/components/schemas/Links' + nullable: true + type: array + nextAlbum: + $ref: '#/components/schemas/Album' + lastAlbum: + $ref: '#/components/schemas/Album' + images: + items: + $ref: '#/components/schemas/MediaCover' + nullable: true + type: array + members: + items: + $ref: '#/components/schemas/Member' + nullable: true + type: array + remotePoster: + nullable: true + type: string + path: + nullable: true + type: string + qualityProfileId: + format: int32 + type: integer + metadataProfileId: + format: int32 + type: integer + monitored: + type: boolean + monitorNewItems: + $ref: '#/components/schemas/NewItemMonitorTypes' + rootFolderPath: + nullable: true + type: string + genres: + items: + type: string + nullable: true + type: array + cleanName: + nullable: true + type: string + sortName: + nullable: true + type: string + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + added: + format: date-time + type: string + addOptions: + $ref: '#/components/schemas/AddArtistOptions' + ratings: + $ref: '#/components/schemas/Ratings' + statistics: + $ref: '#/components/schemas/ArtistStatisticsResource' + type: object + ArtistStatisticsResource: + additionalProperties: false + example: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + properties: + albumCount: + format: int32 + type: integer + trackFileCount: + format: int32 + type: integer + trackCount: + format: int32 + type: integer + totalTrackCount: + format: int32 + type: integer + sizeOnDisk: + format: int64 + type: integer + percentOfTracks: + format: double + readOnly: true + type: number + type: object + ArtistStatusType: + enum: + - continuing + - ended + type: string + ArtistTitleInfo: + additionalProperties: false + example: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + properties: + title: + nullable: true + type: string + titleWithoutYear: + nullable: true + type: string + year: + format: int32 + type: integer + type: object + AuthenticationType: + enum: + - none + - basic + - forms + type: string + BackupResource: + additionalProperties: false + example: + path: path + size: 6 + name: name + id: 0 + time: 2000-01-23T04:56:07.000+00:00 + type: null + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + path: + nullable: true + type: string + type: + $ref: '#/components/schemas/BackupType' + size: + format: int64 + type: integer + time: + format: date-time + type: string + type: object + BackupType: + enum: + - scheduled + - manual + - update + type: string + BlocklistBulkResource: + additionalProperties: false + example: + ids: + - 0 + - 0 + properties: + ids: + items: + format: int32 + type: integer + nullable: true + type: array + type: object + BlocklistResource: + additionalProperties: false + example: + date: 2000-01-23T04:56:07.000+00:00 + protocol: null + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumIds: + - 2 + - 2 + sourceTitle: sourceTitle + artistId: 5 + id: 5 + indexer: indexer + message: message + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + type: integer + albumIds: + items: + format: int32 + type: integer + nullable: true + type: array + sourceTitle: + nullable: true + type: string + quality: + $ref: '#/components/schemas/QualityModel' + date: + format: date-time + type: string + protocol: + $ref: '#/components/schemas/DownloadProtocol' + indexer: + nullable: true + type: string + message: + nullable: true + type: string + artist: + $ref: '#/components/schemas/ArtistResource' + type: object + BlocklistResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - date: 2000-01-23T04:56:07.000+00:00 + protocol: null + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumIds: + - 2 + - 2 + sourceTitle: sourceTitle + artistId: 5 + id: 5 + indexer: indexer + message: message + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + - date: 2000-01-23T04:56:07.000+00:00 + protocol: null + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumIds: + - 2 + - 2 + sourceTitle: sourceTitle + artistId: 5 + id: 5 + indexer: indexer + message: message + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + pageSize: 6 + page: 0 + filters: + - value: value + key: key + - value: value + key: key + properties: + page: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + sortKey: + nullable: true + type: string + sortDirection: + $ref: '#/components/schemas/SortDirection' + filters: + items: + $ref: '#/components/schemas/PagingResourceFilter' + nullable: true + type: array + totalRecords: + format: int32 + type: integer + records: + items: + $ref: '#/components/schemas/BlocklistResource' + nullable: true + type: array + type: object + CertificateValidationType: + enum: + - enabled + - disabledForLocalAddresses + - disabled + type: string + Command: + additionalProperties: false + example: + isExclusive: true + clientUserAgent: clientUserAgent + requiresDiskAccess: true + name: name + lastStartTime: 2000-01-23T04:56:07.000+00:00 + completionMessage: completionMessage + trigger: null + suppressMessages: true + lastExecutionTime: 2000-01-23T04:56:07.000+00:00 + isTypeExclusive: true + sendUpdatesToClient: true + updateScheduledTask: true + properties: + sendUpdatesToClient: + type: boolean + updateScheduledTask: + readOnly: true + type: boolean + completionMessage: + nullable: true + readOnly: true + type: string + requiresDiskAccess: + readOnly: true + type: boolean + isExclusive: + readOnly: true + type: boolean + isTypeExclusive: + readOnly: true + type: boolean + name: + nullable: true + readOnly: true + type: string + lastExecutionTime: + format: date-time + nullable: true + type: string + lastStartTime: + format: date-time + nullable: true + type: string + trigger: + $ref: '#/components/schemas/CommandTrigger' + suppressMessages: + type: boolean + clientUserAgent: + nullable: true + type: string + type: object + CommandPriority: + enum: + - normal + - high + - low + type: string + CommandResource: + additionalProperties: false + example: + exception: exception + stateChangeTime: 2000-01-23T04:56:07.000+00:00 + clientUserAgent: clientUserAgent + queued: 2000-01-23T04:56:07.000+00:00 + started: 2000-01-23T04:56:07.000+00:00 + trigger: null + message: message + body: + isExclusive: true + clientUserAgent: clientUserAgent + requiresDiskAccess: true + name: name + lastStartTime: 2000-01-23T04:56:07.000+00:00 + completionMessage: completionMessage + trigger: null + suppressMessages: true + lastExecutionTime: 2000-01-23T04:56:07.000+00:00 + isTypeExclusive: true + sendUpdatesToClient: true + updateScheduledTask: true + priority: null + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + commandName: commandName + name: name + ended: 2000-01-23T04:56:07.000+00:00 + id: 0 + lastExecutionTime: 2000-01-23T04:56:07.000+00:00 + status: null + sendUpdatesToClient: true + updateScheduledTask: true + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + commandName: + nullable: true + type: string + message: + nullable: true + type: string + body: + $ref: '#/components/schemas/Command' + priority: + $ref: '#/components/schemas/CommandPriority' + status: + $ref: '#/components/schemas/CommandStatus' + queued: + format: date-time + type: string + started: + format: date-time + nullable: true + type: string + ended: + format: date-time + nullable: true + type: string + duration: + $ref: '#/components/schemas/TimeSpan' + exception: + nullable: true + type: string + trigger: + $ref: '#/components/schemas/CommandTrigger' + clientUserAgent: + nullable: true + type: string + stateChangeTime: + format: date-time + nullable: true + type: string + sendUpdatesToClient: + type: boolean + updateScheduledTask: + type: boolean + lastExecutionTime: + format: date-time + nullable: true + type: string + type: object + CommandStatus: + enum: + - queued + - started + - completed + - failed + - aborted + - cancelled + - orphaned + type: string + CommandTrigger: + enum: + - unspecified + - manual + - scheduled + type: string + CustomFilterResource: + additionalProperties: false + example: + id: 0 + label: label + filters: + - key: "" + - key: "" + type: type + properties: + id: + format: int32 + type: integer + type: + nullable: true + type: string + label: + nullable: true + type: string + filters: + items: + additionalProperties: {} + type: object + nullable: true + type: array + type: object + DelayProfileResource: + additionalProperties: false + example: + usenetDelay: 6 + torrentDelay: 1 + preferredProtocol: null + id: 0 + enableUsenet: true + enableTorrent: true + order: 5 + tags: + - 5 + - 5 + properties: + id: + format: int32 + type: integer + enableUsenet: + type: boolean + enableTorrent: + type: boolean + preferredProtocol: + $ref: '#/components/schemas/DownloadProtocol' + usenetDelay: + format: int32 + type: integer + torrentDelay: + format: int32 + type: integer + order: + format: int32 + type: integer + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + type: object + DiskSpaceResource: + additionalProperties: false + example: + path: path + freeSpace: 6 + id: 0 + label: label + totalSpace: 1 + properties: + id: + format: int32 + type: integer + path: + nullable: true + type: string + label: + nullable: true + type: string + freeSpace: + format: int64 + type: integer + totalSpace: + format: int64 + type: integer + type: object + DownloadClientConfigResource: + additionalProperties: false + example: + enableCompletedDownloadHandling: true + id: 0 + autoRedownloadFailed: true + downloadClientWorkingFolders: downloadClientWorkingFolders + properties: + id: + format: int32 + type: integer + downloadClientWorkingFolders: + nullable: true + type: string + enableCompletedDownloadHandling: + type: boolean + autoRedownloadFailed: + type: boolean + type: object + DownloadClientResource: + additionalProperties: false + example: + implementationName: implementationName + removeFailedDownloads: true + implementation: implementation + removeCompletedDownloads: true + message: + message: message + type: null + priority: 2 + tags: + - 5 + - 5 + protocol: null + presets: + - null + - null + configContract: configContract + enable: true + name: name + id: 0 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + infoLink: infoLink + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Field' + nullable: true + type: array + implementationName: + nullable: true + type: string + implementation: + nullable: true + type: string + configContract: + nullable: true + type: string + infoLink: + nullable: true + type: string + message: + $ref: '#/components/schemas/ProviderMessage' + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + presets: + items: + $ref: '#/components/schemas/DownloadClientResource' + nullable: true + type: array + enable: + type: boolean + protocol: + $ref: '#/components/schemas/DownloadProtocol' + priority: + format: int32 + type: integer + removeCompletedDownloads: + type: boolean + removeFailedDownloads: + type: boolean + type: object + DownloadProtocol: + enum: + - unknown + - usenet + - torrent + type: string + EntityHistoryEventType: + enum: + - unknown + - grabbed + - artistFolderImported + - trackFileImported + - downloadFailed + - trackFileDeleted + - trackFileRenamed + - albumImportIncomplete + - downloadImported + - trackFileRetagged + - downloadIgnored + type: string + Field: + additionalProperties: false + example: + helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + properties: + order: + format: int32 + type: integer + name: + nullable: true + type: string + label: + nullable: true + type: string + unit: + nullable: true + type: string + helpText: + nullable: true + type: string + helpLink: + nullable: true + type: string + value: + nullable: true + type: + nullable: true + type: string + advanced: + type: boolean + selectOptions: + items: + $ref: '#/components/schemas/SelectOption' + nullable: true + type: array + selectOptionsProviderAction: + nullable: true + type: string + section: + nullable: true + type: string + hidden: + nullable: true + type: string + type: object + FileDateType: + enum: + - none + - albumReleaseDate + type: string + HealthCheckResult: + enum: + - ok + - notice + - warning + - error + type: string + HealthResource: + additionalProperties: false + example: + wikiUrl: + path: path + fragment: fragment + scheme: scheme + port: 6 + query: query + host: host + fullUri: fullUri + id: 0 + source: source + type: null + message: message + properties: + id: + format: int32 + type: integer + source: + nullable: true + type: string + type: + $ref: '#/components/schemas/HealthCheckResult' + message: + nullable: true + type: string + wikiUrl: + $ref: '#/components/schemas/HttpUri' + type: object + HistoryResource: + additionalProperties: false + example: + date: 2000-01-23T04:56:07.000+00:00 + data: + key: data + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + trackId: 7 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + albumId: 5 + sourceTitle: sourceTitle + downloadId: downloadId + artistId: 2 + eventType: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + id: 5 + track: + trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + qualityCutoffNotMet: true + properties: + id: + format: int32 + type: integer + albumId: + format: int32 + type: integer + artistId: + format: int32 + type: integer + trackId: + format: int32 + type: integer + sourceTitle: + nullable: true + type: string + quality: + $ref: '#/components/schemas/QualityModel' + qualityCutoffNotMet: + type: boolean + date: + format: date-time + type: string + downloadId: + nullable: true + type: string + eventType: + $ref: '#/components/schemas/EntityHistoryEventType' + data: + additionalProperties: + nullable: true + type: string + nullable: true + type: object + album: + $ref: '#/components/schemas/AlbumResource' + artist: + $ref: '#/components/schemas/ArtistResource' + track: + $ref: '#/components/schemas/TrackResource' + type: object + HistoryResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - date: 2000-01-23T04:56:07.000+00:00 + data: + key: data + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + trackId: 7 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + albumId: 5 + sourceTitle: sourceTitle + downloadId: downloadId + artistId: 2 + eventType: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + id: 5 + track: + trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + qualityCutoffNotMet: true + - date: 2000-01-23T04:56:07.000+00:00 + data: + key: data + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + trackId: 7 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + albumId: 5 + sourceTitle: sourceTitle + downloadId: downloadId + artistId: 2 + eventType: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + id: 5 + track: + trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + qualityCutoffNotMet: true + pageSize: 6 + page: 0 + filters: + - value: value + key: key + - value: value + key: key + properties: + page: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + sortKey: + nullable: true + type: string + sortDirection: + $ref: '#/components/schemas/SortDirection' + filters: + items: + $ref: '#/components/schemas/PagingResourceFilter' + nullable: true + type: array + totalRecords: + format: int32 + type: integer + records: + items: + $ref: '#/components/schemas/HistoryResource' + nullable: true + type: array + type: object + HostConfigResource: + additionalProperties: false + example: + proxyEnabled: true + apiKey: apiKey + consoleLogLevel: consoleLogLevel + instanceName: instanceName + proxyUsername: proxyUsername + sslCertPassword: sslCertPassword + branch: branch + proxyBypassFilter: proxyBypassFilter + enableSsl: true + certificateValidation: null + proxyPort: 5 + password: password + logLevel: logLevel + backupInterval: 5 + updateAutomatically: true + proxyHostname: proxyHostname + id: 0 + backupFolder: backupFolder + analyticsEnabled: true + proxyBypassLocalAddresses: true + launchBrowser: true + proxyType: null + proxyPassword: proxyPassword + sslPort: 1 + bindAddress: bindAddress + updateMechanism: null + backupRetention: 2 + urlBase: urlBase + port: 6 + authenticationMethod: null + updateScriptPath: updateScriptPath + applicationUrl: applicationUrl + sslCertPath: sslCertPath + username: username + properties: + id: + format: int32 + type: integer + bindAddress: + nullable: true + type: string + port: + format: int32 + type: integer + sslPort: + format: int32 + type: integer + enableSsl: + type: boolean + launchBrowser: + type: boolean + authenticationMethod: + $ref: '#/components/schemas/AuthenticationType' + analyticsEnabled: + type: boolean + username: + nullable: true + type: string + password: + nullable: true + type: string + logLevel: + nullable: true + type: string + consoleLogLevel: + nullable: true + type: string + branch: + nullable: true + type: string + apiKey: + nullable: true + type: string + sslCertPath: + nullable: true + type: string + sslCertPassword: + nullable: true + type: string + urlBase: + nullable: true + type: string + instanceName: + nullable: true + type: string + applicationUrl: + nullable: true + type: string + updateAutomatically: + type: boolean + updateMechanism: + $ref: '#/components/schemas/UpdateMechanism' + updateScriptPath: + nullable: true + type: string + proxyEnabled: + type: boolean + proxyType: + $ref: '#/components/schemas/ProxyType' + proxyHostname: + nullable: true + type: string + proxyPort: + format: int32 + type: integer + proxyUsername: + nullable: true + type: string + proxyPassword: + nullable: true + type: string + proxyBypassFilter: + nullable: true + type: string + proxyBypassLocalAddresses: + type: boolean + certificateValidation: + $ref: '#/components/schemas/CertificateValidationType' + backupFolder: + nullable: true + type: string + backupInterval: + format: int32 + type: integer + backupRetention: + format: int32 + type: integer + type: object + HttpUri: + additionalProperties: false + example: + path: path + fragment: fragment + scheme: scheme + port: 6 + query: query + host: host + fullUri: fullUri + properties: + fullUri: + nullable: true + readOnly: true + type: string + scheme: + nullable: true + readOnly: true + type: string + host: + nullable: true + readOnly: true + type: string + port: + format: int32 + nullable: true + readOnly: true + type: integer + path: + nullable: true + readOnly: true + type: string + query: + nullable: true + readOnly: true + type: string + fragment: + nullable: true + readOnly: true + type: string + type: object + ImportListExclusionResource: + additionalProperties: false + example: + foreignId: foreignId + artistName: artistName + id: 0 + properties: + id: + format: int32 + type: integer + foreignId: + nullable: true + type: string + artistName: + nullable: true + type: string + type: object + ImportListMonitorType: + enum: + - none + - specificAlbum + - entireArtist + type: string + ImportListResource: + additionalProperties: false + example: + implementationName: implementationName + rootFolderPath: rootFolderPath + implementation: implementation + message: + message: message + type: null + listType: null + tags: + - 6 + - 6 + shouldMonitorExisting: true + presets: + - null + - null + enableAutomaticAdd: true + configContract: configContract + monitorNewItems: null + qualityProfileId: 1 + listOrder: 5 + name: name + shouldMonitor: null + metadataProfileId: 5 + shouldSearch: true + id: 0 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + infoLink: infoLink + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Field' + nullable: true + type: array + implementationName: + nullable: true + type: string + implementation: + nullable: true + type: string + configContract: + nullable: true + type: string + infoLink: + nullable: true + type: string + message: + $ref: '#/components/schemas/ProviderMessage' + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + presets: + items: + $ref: '#/components/schemas/ImportListResource' + nullable: true + type: array + enableAutomaticAdd: + type: boolean + shouldMonitor: + $ref: '#/components/schemas/ImportListMonitorType' + shouldMonitorExisting: + type: boolean + shouldSearch: + type: boolean + rootFolderPath: + nullable: true + type: string + monitorNewItems: + $ref: '#/components/schemas/NewItemMonitorTypes' + qualityProfileId: + format: int32 + type: integer + metadataProfileId: + format: int32 + type: integer + listType: + $ref: '#/components/schemas/ImportListType' + listOrder: + format: int32 + type: integer + type: object + ImportListType: + enum: + - program + - spotify + - lastFm + - other + type: string + IndexerConfigResource: + additionalProperties: false + example: + rssSyncInterval: 5 + minimumAge: 6 + maximumSize: 1 + id: 0 + retention: 5 + properties: + id: + format: int32 + type: integer + minimumAge: + format: int32 + type: integer + maximumSize: + format: int32 + type: integer + retention: + format: int32 + type: integer + rssSyncInterval: + format: int32 + type: integer + type: object + IndexerResource: + additionalProperties: false + example: + enableAutomaticSearch: true + supportsSearch: true + downloadClientId: 5 + implementationName: implementationName + implementation: implementation + message: + message: message + type: null + priority: 1 + tags: + - 6 + - 6 + protocol: null + presets: + - null + - null + configContract: configContract + enableRss: true + name: name + id: 0 + enableInteractiveSearch: true + supportsRss: true + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + infoLink: infoLink + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Field' + nullable: true + type: array + implementationName: + nullable: true + type: string + implementation: + nullable: true + type: string + configContract: + nullable: true + type: string + infoLink: + nullable: true + type: string + message: + $ref: '#/components/schemas/ProviderMessage' + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + presets: + items: + $ref: '#/components/schemas/IndexerResource' + nullable: true + type: array + enableRss: + type: boolean + enableAutomaticSearch: + type: boolean + enableInteractiveSearch: + type: boolean + supportsRss: + type: boolean + supportsSearch: + type: boolean + protocol: + $ref: '#/components/schemas/DownloadProtocol' + priority: + format: int32 + type: integer + downloadClientId: + format: int32 + type: integer + type: object + IsoCountry: + additionalProperties: false + example: + name: name + twoLetterCode: twoLetterCode + properties: + twoLetterCode: + nullable: true + type: string + name: + nullable: true + type: string + type: object + LanguageResource: + additionalProperties: false + example: + name: name + id: 0 + nameLower: nameLower + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + nameLower: + nullable: true + readOnly: true + type: string + type: object + Links: + additionalProperties: false + example: + name: name + url: url + properties: + url: + nullable: true + type: string + name: + nullable: true + type: string + type: object + LogFileResource: + additionalProperties: false + example: + filename: filename + downloadUrl: downloadUrl + id: 0 + contentsUrl: contentsUrl + lastWriteTime: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: int32 + type: integer + filename: + nullable: true + type: string + lastWriteTime: + format: date-time + type: string + contentsUrl: + nullable: true + type: string + downloadUrl: + nullable: true + type: string + type: object + LogResource: + additionalProperties: false + example: + exception: exception + exceptionType: exceptionType + method: method + level: level + logger: logger + id: 5 + time: 2000-01-23T04:56:07.000+00:00 + message: message + properties: + id: + format: int32 + type: integer + time: + format: date-time + type: string + exception: + nullable: true + type: string + exceptionType: + nullable: true + type: string + level: + nullable: true + type: string + logger: + nullable: true + type: string + message: + nullable: true + type: string + method: + nullable: true + type: string + type: object + LogResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - exception: exception + exceptionType: exceptionType + method: method + level: level + logger: logger + id: 5 + time: 2000-01-23T04:56:07.000+00:00 + message: message + - exception: exception + exceptionType: exceptionType + method: method + level: level + logger: logger + id: 5 + time: 2000-01-23T04:56:07.000+00:00 + message: message + pageSize: 6 + page: 0 + filters: + - value: value + key: key + - value: value + key: key + properties: + page: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + sortKey: + nullable: true + type: string + sortDirection: + $ref: '#/components/schemas/SortDirection' + filters: + items: + $ref: '#/components/schemas/PagingResourceFilter' + nullable: true + type: array + totalRecords: + format: int32 + type: integer + records: + items: + $ref: '#/components/schemas/LogResource' + nullable: true + type: array + type: object + ManualImportResource: + additionalProperties: false + example: + rejections: + - reason: reason + type: null + - reason: reason + type: null + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + additionalFile: true + downloadId: downloadId + tracks: + - trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + - trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + disableReleaseSwitching: true + size: 6 + albumReleaseId: 1 + name: name + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + replaceExistingFiles: true + id: 0 + qualityWeight: 5 + properties: + id: + format: int32 + type: integer + path: + nullable: true + type: string + name: + nullable: true + type: string + size: + format: int64 + type: integer + artist: + $ref: '#/components/schemas/ArtistResource' + album: + $ref: '#/components/schemas/AlbumResource' + albumReleaseId: + format: int32 + type: integer + tracks: + items: + $ref: '#/components/schemas/TrackResource' + nullable: true + type: array + quality: + $ref: '#/components/schemas/QualityModel' + qualityWeight: + format: int32 + type: integer + downloadId: + nullable: true + type: string + rejections: + items: + $ref: '#/components/schemas/Rejection' + nullable: true + type: array + audioTags: + $ref: '#/components/schemas/ParsedTrackInfo' + additionalFile: + type: boolean + replaceExistingFiles: + type: boolean + disableReleaseSwitching: + type: boolean + type: object + MediaCover: + additionalProperties: false + example: + coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + properties: + url: + nullable: true + type: string + coverType: + $ref: '#/components/schemas/MediaCoverTypes' + extension: + nullable: true + readOnly: true + type: string + remoteUrl: + nullable: true + type: string + type: object + MediaCoverTypes: + enum: + - unknown + - poster + - banner + - fanart + - screenshot + - headshot + - cover + - disc + - logo + type: string + MediaInfoModel: + additionalProperties: false + example: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + properties: + audioFormat: + nullable: true + type: string + audioBitrate: + format: int32 + type: integer + audioChannels: + format: int32 + type: integer + audioBits: + format: int32 + type: integer + audioSampleRate: + format: int32 + type: integer + type: object + MediaInfoResource: + additionalProperties: false + example: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + properties: + id: + format: int32 + type: integer + audioChannels: + format: double + type: number + audioBitRate: + nullable: true + type: string + audioCodec: + nullable: true + type: string + audioBits: + nullable: true + type: string + audioSampleRate: + nullable: true + type: string + type: object + MediaManagementConfigResource: + additionalProperties: false + example: + skipFreeSpaceCheckWhenImporting: true + watchLibraryForChanges: true + recycleBinCleanupDays: 6 + setPermissionsLinux: true + autoUnmonitorPreviouslyDownloadedTracks: true + downloadPropersAndRepacks: null + fileDate: null + rescanAfterRefresh: null + allowFingerprinting: null + minimumFreeSpaceWhenImporting: 1 + chownGroup: chownGroup + extraFileExtensions: extraFileExtensions + chmodFolder: chmodFolder + importExtraFiles: true + copyUsingHardlinks: true + id: 0 + deleteEmptyFolders: true + recycleBin: recycleBin + createEmptyArtistFolders: true + properties: + id: + format: int32 + type: integer + autoUnmonitorPreviouslyDownloadedTracks: + type: boolean + recycleBin: + nullable: true + type: string + recycleBinCleanupDays: + format: int32 + type: integer + downloadPropersAndRepacks: + $ref: '#/components/schemas/ProperDownloadTypes' + createEmptyArtistFolders: + type: boolean + deleteEmptyFolders: + type: boolean + fileDate: + $ref: '#/components/schemas/FileDateType' + watchLibraryForChanges: + type: boolean + rescanAfterRefresh: + $ref: '#/components/schemas/RescanAfterRefreshType' + allowFingerprinting: + $ref: '#/components/schemas/AllowFingerprinting' + setPermissionsLinux: + type: boolean + chmodFolder: + nullable: true + type: string + chownGroup: + nullable: true + type: string + skipFreeSpaceCheckWhenImporting: + type: boolean + minimumFreeSpaceWhenImporting: + format: int32 + type: integer + copyUsingHardlinks: + type: boolean + importExtraFiles: + type: boolean + extraFileExtensions: + nullable: true + type: string + type: object + Medium: + additionalProperties: false + example: + number: 6 + name: name + format: format + properties: + number: + format: int32 + type: integer + name: + nullable: true + type: string + format: + nullable: true + type: string + type: object + MediumResource: + additionalProperties: false + example: + mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + properties: + mediumNumber: + format: int32 + type: integer + mediumName: + nullable: true + type: string + mediumFormat: + nullable: true + type: string + type: object + Member: + additionalProperties: false + example: + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + properties: + name: + nullable: true + type: string + instrument: + nullable: true + type: string + images: + items: + $ref: '#/components/schemas/MediaCover' + nullable: true + type: array + type: object + MetadataProfile: + additionalProperties: false + example: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + primaryAlbumTypes: + items: + $ref: '#/components/schemas/ProfilePrimaryAlbumTypeItem' + nullable: true + type: array + secondaryAlbumTypes: + items: + $ref: '#/components/schemas/ProfileSecondaryAlbumTypeItem' + nullable: true + type: array + releaseStatuses: + items: + $ref: '#/components/schemas/ProfileReleaseStatusItem' + nullable: true + type: array + type: object + MetadataProfileLazyLoaded: + additionalProperties: false + example: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + properties: + value: + $ref: '#/components/schemas/MetadataProfile' + isLoaded: + readOnly: true + type: boolean + type: object + MetadataProfileResource: + additionalProperties: false + example: + name: name + primaryAlbumTypes: + - allowed: true + albumType: + name: name + id: 1 + id: 6 + - allowed: true + albumType: + name: name + id: 1 + id: 6 + id: 0 + secondaryAlbumTypes: + - allowed: true + albumType: + name: name + id: 5 + id: 1 + - allowed: true + albumType: + name: name + id: 5 + id: 1 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + id: 5 + - allowed: true + releaseStatus: + name: name + id: 4 + id: 5 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + primaryAlbumTypes: + items: + $ref: '#/components/schemas/ProfilePrimaryAlbumTypeItemResource' + nullable: true + type: array + secondaryAlbumTypes: + items: + $ref: '#/components/schemas/ProfileSecondaryAlbumTypeItemResource' + nullable: true + type: array + releaseStatuses: + items: + $ref: '#/components/schemas/ProfileReleaseStatusItemResource' + nullable: true + type: array + type: object + MetadataProviderConfigResource: + additionalProperties: false + example: + writeAudioTags: null + metadataSource: metadataSource + scrubAudioTags: true + id: 0 + properties: + id: + format: int32 + type: integer + metadataSource: + nullable: true + type: string + writeAudioTags: + $ref: '#/components/schemas/WriteAudioTagsType' + scrubAudioTags: + type: boolean + type: object + MetadataResource: + additionalProperties: false + example: + presets: + - null + - null + implementationName: implementationName + configContract: configContract + enable: true + implementation: implementation + name: name + id: 0 + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + message: + message: message + type: null + infoLink: infoLink + tags: + - 6 + - 6 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Field' + nullable: true + type: array + implementationName: + nullable: true + type: string + implementation: + nullable: true + type: string + configContract: + nullable: true + type: string + infoLink: + nullable: true + type: string + message: + $ref: '#/components/schemas/ProviderMessage' + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + presets: + items: + $ref: '#/components/schemas/MetadataResource' + nullable: true + type: array + enable: + type: boolean + type: object + MonitorTypes: + enum: + - all + - future + - missing + - existing + - latest + - first + - none + - unknown + type: string + MonitoringOptions: + additionalProperties: false + example: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + monitored: true + properties: + monitor: + $ref: '#/components/schemas/MonitorTypes' + albumsToMonitor: + items: + type: string + nullable: true + type: array + monitored: + type: boolean + type: object + NamingConfigResource: + additionalProperties: false + example: + replaceIllegalCharacters: true + artistFolderFormat: artistFolderFormat + renameTracks: true + includeAlbumTitle: true + standardTrackFormat: standardTrackFormat + includeQuality: true + numberStyle: numberStyle + multiDiscTrackFormat: multiDiscTrackFormat + includeArtistName: true + id: 0 + replaceSpaces: true + separator: separator + properties: + id: + format: int32 + type: integer + renameTracks: + type: boolean + replaceIllegalCharacters: + type: boolean + standardTrackFormat: + nullable: true + type: string + multiDiscTrackFormat: + nullable: true + type: string + artistFolderFormat: + nullable: true + type: string + includeArtistName: + type: boolean + includeAlbumTitle: + type: boolean + includeQuality: + type: boolean + replaceSpaces: + type: boolean + separator: + nullable: true + type: string + numberStyle: + nullable: true + type: string + type: object + NewItemMonitorTypes: + enum: + - all + - none + - new + type: string + NotificationResource: + additionalProperties: false + example: + supportsOnUpgrade: true + supportsOnRename: true + link: link + onReleaseImport: true + onImportFailure: true + supportsOnTrackRetag: true + onGrab: true + id: 0 + onHealthIssue: true + infoLink: infoLink + supportsOnGrab: true + onUpgrade: true + implementationName: implementationName + supportsOnReleaseImport: true + testCommand: testCommand + implementation: implementation + message: + message: message + type: null + onApplicationUpdate: true + supportsOnHealthIssue: true + supportsOnDownloadFailure: true + tags: + - 6 + - 6 + presets: + - null + - null + onDownloadFailure: true + configContract: configContract + supportsOnImportFailure: true + name: name + onTrackRetag: true + includeHealthWarnings: true + fields: + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + - helpText: helpText + hidden: hidden + advanced: true + selectOptions: + - hint: hint + name: name + value: 1 + order: 5 + - hint: hint + name: name + value: 1 + order: 5 + selectOptionsProviderAction: selectOptionsProviderAction + section: section + label: label + type: type + unit: unit + helpLink: helpLink + name: name + value: "" + order: 6 + supportsOnApplicationUpdate: true + onRename: true + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + fields: + items: + $ref: '#/components/schemas/Field' + nullable: true + type: array + implementationName: + nullable: true + type: string + implementation: + nullable: true + type: string + configContract: + nullable: true + type: string + infoLink: + nullable: true + type: string + message: + $ref: '#/components/schemas/ProviderMessage' + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + presets: + items: + $ref: '#/components/schemas/NotificationResource' + nullable: true + type: array + link: + nullable: true + type: string + onGrab: + type: boolean + onReleaseImport: + type: boolean + onUpgrade: + type: boolean + onRename: + type: boolean + onHealthIssue: + type: boolean + onDownloadFailure: + type: boolean + onImportFailure: + type: boolean + onTrackRetag: + type: boolean + onApplicationUpdate: + type: boolean + supportsOnGrab: + type: boolean + supportsOnReleaseImport: + type: boolean + supportsOnUpgrade: + type: boolean + supportsOnRename: + type: boolean + supportsOnHealthIssue: + type: boolean + includeHealthWarnings: + type: boolean + supportsOnDownloadFailure: + type: boolean + supportsOnImportFailure: + type: boolean + supportsOnTrackRetag: + type: boolean + supportsOnApplicationUpdate: + type: boolean + testCommand: + nullable: true + type: string + type: object + PagingResourceFilter: + additionalProperties: false + example: + value: value + key: key + properties: + key: + nullable: true + type: string + value: + nullable: true + type: string + type: object + ParseResource: + additionalProperties: false + example: + albums: + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + - secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + parsedAlbumInfo: + discographyEnd: 1 + releaseDate: releaseDate + releaseVersion: releaseVersion + discography: true + releaseHash: releaseHash + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + artistName: artistName + discographyStart: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + releaseGroup: releaseGroup + id: 0 + title: title + properties: + id: + format: int32 + type: integer + title: + nullable: true + type: string + parsedAlbumInfo: + $ref: '#/components/schemas/ParsedAlbumInfo' + artist: + $ref: '#/components/schemas/ArtistResource' + albums: + items: + $ref: '#/components/schemas/AlbumResource' + nullable: true + type: array + type: object + ParsedAlbumInfo: + additionalProperties: false + example: + discographyEnd: 1 + releaseDate: releaseDate + releaseVersion: releaseVersion + discography: true + releaseHash: releaseHash + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + artistName: artistName + discographyStart: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + releaseGroup: releaseGroup + properties: + albumTitle: + nullable: true + type: string + artistName: + nullable: true + type: string + artistTitleInfo: + $ref: '#/components/schemas/ArtistTitleInfo' + quality: + $ref: '#/components/schemas/QualityModel' + releaseDate: + nullable: true + type: string + discography: + type: boolean + discographyStart: + format: int32 + type: integer + discographyEnd: + format: int32 + type: integer + releaseGroup: + nullable: true + type: string + releaseHash: + nullable: true + type: string + releaseVersion: + nullable: true + type: string + type: object + ParsedTrackInfo: + additionalProperties: false + example: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + properties: + title: + nullable: true + type: string + cleanTitle: + nullable: true + type: string + artistTitle: + nullable: true + type: string + albumTitle: + nullable: true + type: string + artistTitleInfo: + $ref: '#/components/schemas/ArtistTitleInfo' + artistMBId: + nullable: true + type: string + albumMBId: + nullable: true + type: string + releaseMBId: + nullable: true + type: string + recordingMBId: + nullable: true + type: string + trackMBId: + nullable: true + type: string + discNumber: + format: int32 + type: integer + discCount: + format: int32 + type: integer + country: + $ref: '#/components/schemas/IsoCountry' + year: + format: int32 + type: integer + label: + nullable: true + type: string + catalogNumber: + nullable: true + type: string + disambiguation: + nullable: true + type: string + duration: + $ref: '#/components/schemas/TimeSpan' + quality: + $ref: '#/components/schemas/QualityModel' + mediaInfo: + $ref: '#/components/schemas/MediaInfoModel' + trackNumbers: + items: + format: int32 + type: integer + nullable: true + type: array + releaseGroup: + nullable: true + type: string + releaseHash: + nullable: true + type: string + type: object + PrimaryAlbumType: + additionalProperties: false + example: + name: name + id: 1 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + type: object + ProfilePrimaryAlbumTypeItem: + additionalProperties: false + example: + primaryAlbumType: + name: name + id: 1 + allowed: true + properties: + primaryAlbumType: + $ref: '#/components/schemas/PrimaryAlbumType' + allowed: + type: boolean + type: object + ProfilePrimaryAlbumTypeItemResource: + additionalProperties: false + example: + allowed: true + albumType: + name: name + id: 1 + id: 6 + properties: + id: + format: int32 + type: integer + albumType: + $ref: '#/components/schemas/PrimaryAlbumType' + allowed: + type: boolean + type: object + ProfileReleaseStatusItem: + additionalProperties: false + example: + allowed: true + releaseStatus: + name: name + id: 4 + properties: + releaseStatus: + $ref: '#/components/schemas/ReleaseStatus' + allowed: + type: boolean + type: object + ProfileReleaseStatusItemResource: + additionalProperties: false + example: + allowed: true + releaseStatus: + name: name + id: 4 + id: 5 + properties: + id: + format: int32 + type: integer + releaseStatus: + $ref: '#/components/schemas/ReleaseStatus' + allowed: + type: boolean + type: object + ProfileSecondaryAlbumTypeItem: + additionalProperties: false + example: + allowed: true + secondaryAlbumType: + name: name + id: 5 + properties: + secondaryAlbumType: + $ref: '#/components/schemas/SecondaryAlbumType' + allowed: + type: boolean + type: object + ProfileSecondaryAlbumTypeItemResource: + additionalProperties: false + example: + allowed: true + albumType: + name: name + id: 5 + id: 1 + properties: + id: + format: int32 + type: integer + albumType: + $ref: '#/components/schemas/SecondaryAlbumType' + allowed: + type: boolean + type: object + ProperDownloadTypes: + enum: + - preferAndUpgrade + - doNotUpgrade + - doNotPrefer + type: string + ProviderMessage: + additionalProperties: false + example: + message: message + type: null + properties: + message: + nullable: true + type: string + type: + $ref: '#/components/schemas/ProviderMessageType' + type: object + ProviderMessageType: + enum: + - info + - warning + - error + type: string + ProxyType: + enum: + - http + - socks4 + - socks5 + type: string + Quality: + additionalProperties: false + example: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + type: object + QualityDefinitionResource: + additionalProperties: false + example: + weight: 6 + minSize: 1.4658129805029452 + maxSize: 5.962133916683182 + id: 0 + title: title + quality: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + quality: + $ref: '#/components/schemas/Quality' + title: + nullable: true + type: string + weight: + format: int32 + type: integer + minSize: + format: double + nullable: true + type: number + maxSize: + format: double + nullable: true + type: number + type: object + QualityModel: + additionalProperties: false + example: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + properties: + quality: + $ref: '#/components/schemas/Quality' + revision: + $ref: '#/components/schemas/Revision' + type: object + QualityProfile: + additionalProperties: false + example: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + upgradeAllowed: + type: boolean + cutoff: + format: int32 + type: integer + items: + items: + $ref: '#/components/schemas/QualityProfileQualityItem' + nullable: true + type: array + type: object + QualityProfileLazyLoaded: + additionalProperties: false + example: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + properties: + value: + $ref: '#/components/schemas/QualityProfile' + isLoaded: + readOnly: true + type: boolean + type: object + QualityProfileQualityItem: + additionalProperties: false + example: + allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + quality: + $ref: '#/components/schemas/Quality' + items: + items: + $ref: '#/components/schemas/QualityProfileQualityItem' + nullable: true + type: array + allowed: + type: boolean + type: object + QualityProfileQualityItemResource: + additionalProperties: false + example: + allowed: true + name: name + id: 1 + items: + - null + - null + quality: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + quality: + $ref: '#/components/schemas/Quality' + items: + items: + $ref: '#/components/schemas/QualityProfileQualityItemResource' + nullable: true + type: array + allowed: + type: boolean + type: object + QualityProfileResource: + additionalProperties: false + example: + upgradeAllowed: true + name: name + id: 0 + cutoff: 6 + items: + - allowed: true + name: name + id: 1 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 1 + items: + - null + - null + quality: + name: name + id: 7 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + upgradeAllowed: + type: boolean + cutoff: + format: int32 + type: integer + items: + items: + $ref: '#/components/schemas/QualityProfileQualityItemResource' + nullable: true + type: array + type: object + QueueBulkResource: + additionalProperties: false + example: + ids: + - 0 + - 0 + properties: + ids: + items: + format: int32 + type: integer + nullable: true + type: array + type: object + QueueResource: + additionalProperties: false + example: + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + estimatedCompletionTime: 2000-01-23T04:56:07.000+00:00 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + errorMessage: errorMessage + albumId: 1 + downloadId: downloadId + artistId: 6 + indexer: indexer + title: title + timeleft: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + trackedDownloadState: null + trackedDownloadStatus: null + sizeleft: 5.637376656633329 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + statusMessages: + - messages: + - messages + - messages + title: title + - messages: + - messages + - messages + title: title + protocol: null + size: 5.962133916683182 + outputPath: outputPath + downloadForced: true + id: 0 + status: status + downloadClient: downloadClient + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + nullable: true + type: integer + albumId: + format: int32 + nullable: true + type: integer + artist: + $ref: '#/components/schemas/ArtistResource' + album: + $ref: '#/components/schemas/AlbumResource' + quality: + $ref: '#/components/schemas/QualityModel' + size: + format: double + type: number + title: + nullable: true + type: string + sizeleft: + format: double + type: number + timeleft: + $ref: '#/components/schemas/TimeSpan' + estimatedCompletionTime: + format: date-time + nullable: true + type: string + status: + nullable: true + type: string + trackedDownloadStatus: + $ref: '#/components/schemas/TrackedDownloadStatus' + trackedDownloadState: + $ref: '#/components/schemas/TrackedDownloadState' + statusMessages: + items: + $ref: '#/components/schemas/TrackedDownloadStatusMessage' + nullable: true + type: array + errorMessage: + nullable: true + type: string + downloadId: + nullable: true + type: string + protocol: + $ref: '#/components/schemas/DownloadProtocol' + downloadClient: + nullable: true + type: string + indexer: + nullable: true + type: string + outputPath: + nullable: true + type: string + downloadForced: + type: boolean + type: object + QueueResourcePagingResource: + additionalProperties: false + example: + sortDirection: null + totalRecords: 1 + sortKey: sortKey + records: + - artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + estimatedCompletionTime: 2000-01-23T04:56:07.000+00:00 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + errorMessage: errorMessage + albumId: 1 + downloadId: downloadId + artistId: 6 + indexer: indexer + title: title + timeleft: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + trackedDownloadState: null + trackedDownloadStatus: null + sizeleft: 5.637376656633329 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + statusMessages: + - messages: + - messages + - messages + title: title + - messages: + - messages + - messages + title: title + protocol: null + size: 5.962133916683182 + outputPath: outputPath + downloadForced: true + id: 0 + status: status + downloadClient: downloadClient + - artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + estimatedCompletionTime: 2000-01-23T04:56:07.000+00:00 + album: + secondaryTypes: + - secondaryTypes + - secondaryTypes + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + artistId: 6 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + title: title + monitored: true + duration: 5 + mediumCount: 5 + ratings: + votes: 2 + value: 7.061401241503109 + genres: + - genres + - genres + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + grabbed: true + id: 0 + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + releases: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + format: format + albumId: 3 + media: + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + - mediumNumber: 7 + mediumName: mediumName + mediumFormat: mediumFormat + label: + - label + - label + title: title + monitored: true + duration: 2 + trackCount: 4 + mediumCount: 1 + disambiguation: disambiguation + id: 9 + status: status + profileId: 1 + remoteCover: remoteCover + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + statistics: + totalTrackCount: 0 + trackCount: 3 + trackFileCount: 4 + sizeOnDisk: 2 + percentOfTracks: 1.7325933120207193 + errorMessage: errorMessage + albumId: 1 + downloadId: downloadId + artistId: 6 + indexer: indexer + title: title + timeleft: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + trackedDownloadState: null + trackedDownloadStatus: null + sizeleft: 5.637376656633329 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + statusMessages: + - messages: + - messages + - messages + title: title + - messages: + - messages + - messages + title: title + protocol: null + size: 5.962133916683182 + outputPath: outputPath + downloadForced: true + id: 0 + status: status + downloadClient: downloadClient + pageSize: 6 + page: 0 + filters: + - value: value + key: key + - value: value + key: key + properties: + page: + format: int32 + type: integer + pageSize: + format: int32 + type: integer + sortKey: + nullable: true + type: string + sortDirection: + $ref: '#/components/schemas/SortDirection' + filters: + items: + $ref: '#/components/schemas/PagingResourceFilter' + nullable: true + type: array + totalRecords: + format: int32 + type: integer + records: + items: + $ref: '#/components/schemas/QueueResource' + nullable: true + type: array + type: object + QueueStatusResource: + additionalProperties: false + example: + unknownCount: 5 + warnings: true + count: 1 + unknownErrors: true + id: 0 + totalCount: 6 + unknownWarnings: true + errors: true + properties: + id: + format: int32 + type: integer + totalCount: + format: int32 + type: integer + count: + format: int32 + type: integer + unknownCount: + format: int32 + type: integer + errors: + type: boolean + warnings: + type: boolean + unknownErrors: + type: boolean + unknownWarnings: + type: boolean + type: object + Ratings: + additionalProperties: false + example: + votes: 2 + value: 7.061401241503109 + properties: + votes: + format: int32 + type: integer + value: + format: double + type: number + type: object + Rejection: + additionalProperties: false + example: + reason: reason + type: null + properties: + reason: + nullable: true + type: string + type: + $ref: '#/components/schemas/RejectionType' + type: object + RejectionType: + enum: + - permanent + - temporary + type: string + ReleaseProfileResource: + additionalProperties: false + example: + ignored: ignored + includePreferredWhenRenaming: true + id: 0 + indexerId: 1 + enabled: true + required: required + preferred: + - value: 6 + key: key + - value: 6 + key: key + tags: + - 5 + - 5 + properties: + id: + format: int32 + type: integer + enabled: + type: boolean + required: + nullable: true + type: string + ignored: + nullable: true + type: string + preferred: + items: + $ref: '#/components/schemas/StringInt32KeyValuePair' + nullable: true + type: array + includePreferredWhenRenaming: + type: boolean + indexerId: + format: int32 + type: integer + tags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + type: object + ReleaseResource: + additionalProperties: false + example: + rejections: + - rejections + - rejections + ageMinutes: 5.637376656633329 + leechers: 4 + rejected: true + releaseHash: releaseHash + commentUrl: commentUrl + airDate: airDate + publishDate: 2000-01-23T04:56:07.000+00:00 + downloadUrl: downloadUrl + infoHash: infoHash + albumId: 1 + artistId: 7 + title: title + seeders: 2 + approved: true + protocol: null + infoUrl: infoUrl + albumTitle: albumTitle + id: 0 + releaseWeight: 9 + qualityWeight: 6 + indexerId: 7 + subGroup: subGroup + ageHours: 5.962133916683182 + sceneSource: true + temporarilyRejected: true + indexer: indexer + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + size: 2 + magnetUrl: magnetUrl + discography: true + preferredWordScore: 3 + guid: guid + artistName: artistName + downloadAllowed: true + age: 1 + releaseGroup: releaseGroup + properties: + id: + format: int32 + type: integer + guid: + nullable: true + type: string + quality: + $ref: '#/components/schemas/QualityModel' + qualityWeight: + format: int32 + type: integer + age: + format: int32 + type: integer + ageHours: + format: double + type: number + ageMinutes: + format: double + type: number + size: + format: int64 + type: integer + indexerId: + format: int32 + type: integer + indexer: + nullable: true + type: string + releaseGroup: + nullable: true + type: string + subGroup: + nullable: true + type: string + releaseHash: + nullable: true + type: string + title: + nullable: true + type: string + discography: + type: boolean + sceneSource: + type: boolean + airDate: + nullable: true + type: string + artistName: + nullable: true + type: string + albumTitle: + nullable: true + type: string + approved: + type: boolean + temporarilyRejected: + type: boolean + rejected: + type: boolean + rejections: + items: + type: string + nullable: true + type: array + publishDate: + format: date-time + type: string + commentUrl: + nullable: true + type: string + downloadUrl: + nullable: true + type: string + infoUrl: + nullable: true + type: string + downloadAllowed: + type: boolean + releaseWeight: + format: int32 + type: integer + preferredWordScore: + format: int32 + type: integer + magnetUrl: + nullable: true + type: string + infoHash: + nullable: true + type: string + seeders: + format: int32 + nullable: true + type: integer + leechers: + format: int32 + nullable: true + type: integer + protocol: + $ref: '#/components/schemas/DownloadProtocol' + artistId: + format: int32 + nullable: true + type: integer + albumId: + format: int32 + nullable: true + type: integer + type: object + ReleaseStatus: + additionalProperties: false + example: + name: name + id: 4 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + type: object + RemotePathMappingResource: + additionalProperties: false + example: + remotePath: remotePath + host: host + localPath: localPath + id: 0 + properties: + id: + format: int32 + type: integer + host: + nullable: true + type: string + remotePath: + nullable: true + type: string + localPath: + nullable: true + type: string + type: object + RenameTrackResource: + additionalProperties: false + example: + trackFileId: 5 + existingPath: existingPath + trackNumbers: + - 5 + - 5 + albumId: 1 + artistId: 6 + id: 0 + newPath: newPath + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + type: integer + albumId: + format: int32 + type: integer + trackNumbers: + items: + format: int32 + type: integer + nullable: true + type: array + trackFileId: + format: int32 + type: integer + existingPath: + nullable: true + type: string + newPath: + nullable: true + type: string + type: object + RescanAfterRefreshType: + enum: + - always + - afterManual + - never + type: string + RetagTrackResource: + additionalProperties: false + example: + path: path + trackFileId: 5 + trackNumbers: + - 5 + - 5 + changes: + - newValue: newValue + field: field + oldValue: oldValue + - newValue: newValue + field: field + oldValue: oldValue + albumId: 1 + artistId: 6 + id: 0 + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + type: integer + albumId: + format: int32 + type: integer + trackNumbers: + items: + format: int32 + type: integer + nullable: true + type: array + trackFileId: + format: int32 + type: integer + path: + nullable: true + type: string + changes: + items: + $ref: '#/components/schemas/TagDifference' + nullable: true + type: array + type: object + Revision: + additionalProperties: false + example: + real: 7 + version: 0 + isRepack: true + properties: + version: + format: int32 + type: integer + real: + format: int32 + type: integer + isRepack: + type: boolean + type: object + RootFolderResource: + additionalProperties: false + example: + path: path + accessible: true + freeSpace: 5 + defaultQualityProfileId: 1 + name: name + defaultMonitorOption: null + id: 0 + defaultMetadataProfileId: 6 + totalSpace: 2 + defaultTags: + - 5 + - 5 + defaultNewItemMonitorOption: null + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + path: + nullable: true + type: string + defaultMetadataProfileId: + format: int32 + type: integer + defaultQualityProfileId: + format: int32 + type: integer + defaultMonitorOption: + $ref: '#/components/schemas/MonitorTypes' + defaultNewItemMonitorOption: + $ref: '#/components/schemas/NewItemMonitorTypes' + defaultTags: + items: + format: int32 + type: integer + nullable: true + type: array + uniqueItems: true + accessible: + type: boolean + freeSpace: + format: int64 + nullable: true + type: integer + totalSpace: + format: int64 + nullable: true + type: integer + type: object + SecondaryAlbumType: + additionalProperties: false + example: + name: name + id: 5 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + type: object + SelectOption: + additionalProperties: false + example: + hint: hint + name: name + value: 1 + order: 5 + properties: + value: + format: int32 + type: integer + name: + nullable: true + type: string + order: + format: int32 + type: integer + hint: + nullable: true + type: string + type: object + SortDirection: + enum: + - default + - ascending + - descending + type: string + StringInt32KeyValuePair: + additionalProperties: false + example: + value: 6 + key: key + properties: + key: + nullable: true + type: string + value: + format: int32 + type: integer + type: object + TagDetailsResource: + additionalProperties: false + example: + restrictionIds: + - 5 + - 5 + indexerIds: + - 2 + - 2 + notificationIds: + - 5 + - 5 + id: 0 + label: label + importListIds: + - 1 + - 1 + delayProfileIds: + - 6 + - 6 + artistIds: + - 7 + - 7 + properties: + id: + format: int32 + type: integer + label: + nullable: true + type: string + delayProfileIds: + items: + format: int32 + type: integer + nullable: true + type: array + importListIds: + items: + format: int32 + type: integer + nullable: true + type: array + notificationIds: + items: + format: int32 + type: integer + nullable: true + type: array + restrictionIds: + items: + format: int32 + type: integer + nullable: true + type: array + indexerIds: + items: + format: int32 + type: integer + nullable: true + type: array + artistIds: + items: + format: int32 + type: integer + nullable: true + type: array + type: object + TagDifference: + additionalProperties: false + example: + newValue: newValue + field: field + oldValue: oldValue + properties: + field: + nullable: true + type: string + oldValue: + nullable: true + type: string + newValue: + nullable: true + type: string + type: object + TagResource: + additionalProperties: false + example: + id: 0 + label: label + properties: + id: + format: int32 + type: integer + label: + nullable: true + type: string + type: object + TaskResource: + additionalProperties: false + example: + lastDuration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + lastExecution: 2000-01-23T04:56:07.000+00:00 + name: name + lastStartTime: 2000-01-23T04:56:07.000+00:00 + taskName: taskName + interval: 6 + id: 0 + nextExecution: 2000-01-23T04:56:07.000+00:00 + properties: + id: + format: int32 + type: integer + name: + nullable: true + type: string + taskName: + nullable: true + type: string + interval: + format: int32 + type: integer + lastExecution: + format: date-time + type: string + lastStartTime: + format: date-time + type: string + nextExecution: + format: date-time + type: string + lastDuration: + $ref: '#/components/schemas/TimeSpan' + type: object + TimeSpan: + additionalProperties: false + example: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + properties: + ticks: + format: int64 + type: integer + days: + format: int32 + readOnly: true + type: integer + hours: + format: int32 + readOnly: true + type: integer + milliseconds: + format: int32 + readOnly: true + type: integer + minutes: + format: int32 + readOnly: true + type: integer + seconds: + format: int32 + readOnly: true + type: integer + totalDays: + format: double + readOnly: true + type: number + totalHours: + format: double + readOnly: true + type: number + totalMilliseconds: + format: double + readOnly: true + type: number + totalMinutes: + format: double + readOnly: true + type: number + totalSeconds: + format: double + readOnly: true + type: number + type: object + Track: + additionalProperties: false + example: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + properties: + id: + format: int32 + type: integer + foreignTrackId: + nullable: true + type: string + oldForeignTrackIds: + items: + type: string + nullable: true + type: array + foreignRecordingId: + nullable: true + type: string + oldForeignRecordingIds: + items: + type: string + nullable: true + type: array + albumReleaseId: + format: int32 + type: integer + artistMetadataId: + format: int32 + type: integer + trackNumber: + nullable: true + type: string + absoluteTrackNumber: + format: int32 + type: integer + title: + nullable: true + type: string + duration: + format: int32 + type: integer + explicit: + type: boolean + ratings: + $ref: '#/components/schemas/Ratings' + mediumNumber: + format: int32 + type: integer + trackFileId: + format: int32 + type: integer + hasFile: + readOnly: true + type: boolean + albumRelease: + $ref: '#/components/schemas/AlbumReleaseLazyLoaded' + artistMetadata: + $ref: '#/components/schemas/ArtistMetadataLazyLoaded' + trackFile: + $ref: '#/components/schemas/TrackFileLazyLoaded' + artist: + $ref: '#/components/schemas/ArtistLazyLoaded' + albumId: + format: int32 + type: integer + album: + $ref: '#/components/schemas/Album' + type: object + TrackFile: + additionalProperties: false + example: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + properties: + id: + format: int32 + type: integer + path: + nullable: true + type: string + size: + format: int64 + type: integer + modified: + format: date-time + type: string + dateAdded: + format: date-time + type: string + sceneName: + nullable: true + type: string + releaseGroup: + nullable: true + type: string + quality: + $ref: '#/components/schemas/QualityModel' + mediaInfo: + $ref: '#/components/schemas/MediaInfoModel' + albumId: + format: int32 + type: integer + tracks: + $ref: '#/components/schemas/TrackListLazyLoaded' + artist: + $ref: '#/components/schemas/ArtistLazyLoaded' + album: + $ref: '#/components/schemas/AlbumLazyLoaded' + type: object + TrackFileLazyLoaded: + additionalProperties: false + example: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + properties: + value: + $ref: '#/components/schemas/TrackFile' + isLoaded: + readOnly: true + type: boolean + type: object + TrackFileListResource: + additionalProperties: false + example: + trackFileIds: + - 0 + - 0 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + properties: + trackFileIds: + items: + format: int32 + type: integer + nullable: true + type: array + quality: + $ref: '#/components/schemas/QualityModel' + type: object + TrackFileResource: + additionalProperties: false + example: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + type: integer + albumId: + format: int32 + type: integer + path: + nullable: true + type: string + size: + format: int64 + type: integer + dateAdded: + format: date-time + type: string + quality: + $ref: '#/components/schemas/QualityModel' + qualityWeight: + format: int32 + type: integer + mediaInfo: + $ref: '#/components/schemas/MediaInfoResource' + qualityCutoffNotMet: + type: boolean + audioTags: + $ref: '#/components/schemas/ParsedTrackInfo' + type: object + TrackListLazyLoaded: + additionalProperties: false + example: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + properties: + value: + items: + $ref: '#/components/schemas/Track' + nullable: true + readOnly: true + type: array + isLoaded: + readOnly: true + type: boolean + type: object + TrackResource: + additionalProperties: false + example: + trackFileId: 2 + trackNumber: trackNumber + artist: + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + remotePoster: remotePoster + monitored: true + tadbId: 6 + path: path + monitorNewItems: null + qualityProfileId: 9 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + foreignArtistId: foreignArtistId + discogsId: 7 + nextAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + allMusicId: allMusicId + overview: overview + artistMetadataId: 1 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + mbId: mbId + artistType: artistType + lastAlbum: + artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + overview: overview + secondaryTypes: + - name: name + id: 5 + - name: name + id: 5 + artistMetadataId: 4 + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + anyReleaseOk: true + releaseDate: 2000-01-23T04:56:07.000+00:00 + added: 2000-01-23T04:56:07.000+00:00 + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + title: title + albumReleases: + value: + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + - foreignReleaseId: foreignReleaseId + country: + - country + - country + releaseDate: 2000-01-23T04:56:07.000+00:00 + album: + value: null + isLoaded: true + albumId: 8 + label: + - label + - label + media: + - number: 6 + name: name + format: format + - number: 6 + name: name + format: format + title: title + tracks: + value: + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + - artistMetadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + artistMetadataId: 2 + trackFileId: 6 + trackNumber: trackNumber + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: null + oldForeignTrackIds: + - oldForeignTrackIds + - oldForeignTrackIds + albumId: 7 + title: title + absoluteTrackNumber: 6 + duration: 6 + explicit: true + mediumNumber: 5 + albumRelease: + value: null + isLoaded: true + hasFile: true + foreignRecordingId: foreignRecordingId + oldForeignRecordingIds: + - oldForeignRecordingIds + - oldForeignRecordingIds + foreignTrackId: foreignTrackId + albumReleaseId: 1 + ratings: + votes: 2 + value: 7.061401241503109 + id: 6 + trackFile: + value: + artist: + value: + qualityProfile: + value: + upgradeAllowed: true + name: name + id: 4 + cutoff: 0 + items: + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + - allowed: true + name: name + id: 6 + items: + - null + - null + quality: + name: name + id: 7 + isLoaded: true + artistMetadataId: 3 + metadata: + value: + overview: overview + images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + aliases: + - aliases + - aliases + oldForeignArtistIds: + - oldForeignArtistIds + - oldForeignArtistIds + type: type + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + members: + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + - images: + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + - coverType: null + extension: extension + remoteUrl: remoteUrl + url: url + name: name + instrument: instrument + name: name + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 9 + foreignArtistId: foreignArtistId + status: null + isLoaded: true + albums: + value: + - null + - null + isLoaded: true + sortName: sortName + rootFolderPath: rootFolderPath + added: 2000-01-23T04:56:07.000+00:00 + monitored: true + tags: + - 3 + - 3 + cleanName: cleanName + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + path: path + monitorNewItems: null + qualityProfileId: 7 + metadataProfileId: 5 + name: name + metadataProfile: + value: + name: name + primaryAlbumTypes: + - primaryAlbumType: + name: name + id: 1 + allowed: true + - primaryAlbumType: + name: name + id: 1 + allowed: true + id: 4 + secondaryAlbumTypes: + - allowed: true + secondaryAlbumType: + name: name + id: 5 + - allowed: true + secondaryAlbumType: + name: name + id: 5 + releaseStatuses: + - allowed: true + releaseStatus: + name: name + id: 4 + - allowed: true + releaseStatus: + name: name + id: 4 + isLoaded: true + id: 3 + foreignArtistId: foreignArtistId + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + isLoaded: true + album: + value: null + isLoaded: true + sceneName: sceneName + albumId: 7 + dateAdded: 2000-01-23T04:56:07.000+00:00 + tracks: null + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + path: path + size: 3 + modified: 2000-01-23T04:56:07.000+00:00 + id: 3 + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + isLoaded: true + isLoaded: true + oldForeignReleaseIds: + - oldForeignReleaseIds + - oldForeignReleaseIds + monitored: true + duration: 9 + trackCount: 3 + disambiguation: disambiguation + id: 6 + status: status + isLoaded: true + monitored: true + cleanTitle: cleanTitle + lastInfoSync: 2000-01-23T04:56:07.000+00:00 + genres: + - genres + - genres + ratings: + votes: 2 + value: 7.061401241503109 + profileId: 9 + albumType: albumType + disambiguation: disambiguation + links: + - name: name + url: url + - name: name + url: url + id: 1 + oldForeignAlbumIds: + - oldForeignAlbumIds + - oldForeignAlbumIds + addOptions: + addType: null + searchForNewAlbum: true + foreignAlbumId: foreignAlbumId + tags: + - 9 + - 9 + cleanName: cleanName + ended: true + metadataProfileId: 0 + artistName: artistName + addOptions: + albumsToMonitor: + - albumsToMonitor + - albumsToMonitor + monitor: null + searchForMissingAlbums: true + monitored: true + status: null + statistics: + totalTrackCount: 4 + trackCount: 5 + albumCount: 0 + trackFileCount: 7 + sizeOnDisk: 6 + percentOfTracks: 8.251625748923757 + albumId: 4 + artistId: 3 + title: title + absoluteTrackNumber: 7 + explicit: true + duration: 1 + mediumNumber: 6 + hasFile: true + foreignRecordingId: foreignRecordingId + foreignTrackId: foreignTrackId + ratings: + votes: 2 + value: 7.061401241503109 + grabbed: true + id: 9 + trackFile: + path: path + size: 7 + audioTags: + country: + name: name + twoLetterCode: twoLetterCode + releaseMBId: releaseMBId + albumMBId: albumMBId + year: 8 + trackNumbers: + - 9 + - 9 + trackMBId: trackMBId + releaseHash: releaseHash + label: label + title: title + discCount: 6 + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + cleanTitle: cleanTitle + artistMBId: artistMBId + duration: + milliseconds: 5 + hours: 5 + seconds: 7 + totalDays: 9.301444243932576 + ticks: 6 + totalHours: 3.616076749251911 + totalMilliseconds: 2.027123023002322 + totalMinutes: 4.145608029883936 + minutes: 2 + days: 1 + totalSeconds: 7.386281948385884 + discNumber: 9 + catalogNumber: catalogNumber + artistTitle: artistTitle + disambiguation: disambiguation + albumTitle: albumTitle + artistTitleInfo: + titleWithoutYear: titleWithoutYear + year: 9 + title: title + recordingMBId: recordingMBId + mediaInfo: + audioChannels: 0 + audioBits: 4 + audioFormat: audioFormat + audioBitrate: 6 + audioSampleRate: 8 + releaseGroup: releaseGroup + albumId: 6 + artistId: 1 + id: 1 + qualityWeight: 1 + mediaInfo: + audioChannels: 5.025004791520295 + audioBits: audioBits + id: 4 + audioBitRate: audioBitRate + audioCodec: audioCodec + audioSampleRate: audioSampleRate + dateAdded: 2000-01-23T04:56:07.000+00:00 + qualityCutoffNotMet: true + quality: + quality: + name: name + id: 7 + revision: + real: 7 + version: 0 + isRepack: true + properties: + id: + format: int32 + type: integer + artistId: + format: int32 + type: integer + foreignTrackId: + nullable: true + type: string + foreignRecordingId: + nullable: true + type: string + trackFileId: + format: int32 + type: integer + albumId: + format: int32 + type: integer + explicit: + type: boolean + absoluteTrackNumber: + format: int32 + type: integer + trackNumber: + nullable: true + type: string + title: + nullable: true + type: string + duration: + format: int32 + type: integer + trackFile: + $ref: '#/components/schemas/TrackFileResource' + mediumNumber: + format: int32 + type: integer + hasFile: + type: boolean + artist: + $ref: '#/components/schemas/ArtistResource' + ratings: + $ref: '#/components/schemas/Ratings' + grabbed: + type: boolean + type: object + TrackedDownloadState: + enum: + - downloading + - downloadFailed + - downloadFailedPending + - importPending + - importing + - importFailed + - imported + - ignored + type: string + TrackedDownloadStatus: + enum: + - ok + - warning + - error + type: string + TrackedDownloadStatusMessage: + additionalProperties: false + example: + messages: + - messages + - messages + title: title + properties: + title: + nullable: true + type: string + messages: + items: + type: string + nullable: true + type: array + type: object + UiConfigResource: + additionalProperties: false + example: + enableColorImpairedMode: true + uiLanguage: 1 + expandOtherByDefault: true + shortDateFormat: shortDateFormat + longDateFormat: longDateFormat + calendarWeekColumnHeader: calendarWeekColumnHeader + showRelativeDates: true + expandEPByDefault: true + expandBroadcastByDefault: true + firstDayOfWeek: 6 + timeFormat: timeFormat + expandAlbumByDefault: true + theme: theme + id: 0 + expandSingleByDefault: true + properties: + id: + format: int32 + type: integer + firstDayOfWeek: + format: int32 + type: integer + calendarWeekColumnHeader: + nullable: true + type: string + shortDateFormat: + nullable: true + type: string + longDateFormat: + nullable: true + type: string + timeFormat: + nullable: true + type: string + showRelativeDates: + type: boolean + enableColorImpairedMode: + type: boolean + uiLanguage: + format: int32 + type: integer + expandAlbumByDefault: + type: boolean + expandSingleByDefault: + type: boolean + expandEPByDefault: + type: boolean + expandBroadcastByDefault: + type: boolean + expandOtherByDefault: + type: boolean + theme: + nullable: true + type: string + type: object + UpdateChanges: + additionalProperties: false + example: + new: + - new + - new + fixed: + - fixed + - fixed + properties: + new: + items: + type: string + nullable: true + type: array + fixed: + items: + type: string + nullable: true + type: array + type: object + UpdateMechanism: + enum: + - builtIn + - script + - external + - apt + - docker + type: string + UpdateResource: + additionalProperties: false + example: + installed: true + fileName: fileName + installedOn: 2000-01-23T04:56:07.000+00:00 + releaseDate: 2000-01-23T04:56:07.000+00:00 + changes: + new: + - new + - new + fixed: + - fixed + - fixed + id: 0 + installable: true + version: version + branch: branch + url: url + hash: hash + latest: true + properties: + id: + format: int32 + type: integer + version: + type: string + branch: + nullable: true + type: string + releaseDate: + format: date-time + type: string + fileName: + nullable: true + type: string + url: + nullable: true + type: string + installed: + type: boolean + installedOn: + format: date-time + nullable: true + type: string + installable: + type: boolean + latest: + type: boolean + changes: + $ref: '#/components/schemas/UpdateChanges' + hash: + nullable: true + type: string + type: object + Version: + additionalProperties: false + properties: + major: + format: int32 + readOnly: true + type: integer + minor: + format: int32 + readOnly: true + type: integer + build: + format: int32 + readOnly: true + type: integer + revision: + format: int32 + readOnly: true + type: integer + majorRevision: + format: int32 + readOnly: true + type: integer + minorRevision: + format: int32 + readOnly: true + type: integer + type: object + WriteAudioTagsType: + enum: + - "no" + - newFiles + - allFiles + - sync + type: string + CreateLogin_request: + properties: + Username: + type: string + Password: + type: string + RememberMe: + type: string + type: object + securitySchemes: + X-Api-Key: + description: Apikey passed as header + in: header + name: X-Api-Key + type: apiKey + apikey: + description: Apikey passed as header + in: query + name: apikey + type: apiKey diff --git a/lidarr/api_album.go b/lidarr/api_album.go new file mode 100644 index 0000000..9312604 --- /dev/null +++ b/lidarr/api_album.go @@ -0,0 +1,827 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "reflect" +) + + +// AlbumApiService AlbumApi service +type AlbumApiService service +type ApiCreateApiV1AlbumRequest struct { + ctx context.Context + ApiService *AlbumApiService + albumResource *AlbumResource +} + +func (r ApiCreateApiV1AlbumRequest) AlbumResource(albumResource AlbumResource) ApiCreateApiV1AlbumRequest { + r.albumResource = &albumResource + return r +} + +func (r ApiCreateApiV1AlbumRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.CreateApiV1AlbumExecute(r) +} + +/* +CreateApiV1Album Method for CreateApiV1Album + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1AlbumRequest +*/ +func (a *AlbumApiService) CreateApiV1Album(ctx context.Context) ApiCreateApiV1AlbumRequest { + return ApiCreateApiV1AlbumRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *AlbumApiService) CreateApiV1AlbumExecute(r ApiCreateApiV1AlbumRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.CreateApiV1Album") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.albumResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1AlbumRequest struct { + ctx context.Context + ApiService *AlbumApiService + id int32 +} + +func (r ApiDeleteApiV1AlbumRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1AlbumExecute(r) +} + +/* +DeleteApiV1Album Method for DeleteApiV1Album + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1AlbumRequest +*/ +func (a *AlbumApiService) DeleteApiV1Album(ctx context.Context, id int32) ApiDeleteApiV1AlbumRequest { + return ApiDeleteApiV1AlbumRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *AlbumApiService) DeleteApiV1AlbumExecute(r ApiDeleteApiV1AlbumRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.DeleteApiV1Album") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1AlbumByIdRequest struct { + ctx context.Context + ApiService *AlbumApiService + id int32 +} + +func (r ApiGetApiV1AlbumByIdRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.GetApiV1AlbumByIdExecute(r) +} + +/* +GetApiV1AlbumById Method for GetApiV1AlbumById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1AlbumByIdRequest +*/ +func (a *AlbumApiService) GetApiV1AlbumById(ctx context.Context, id int32) ApiGetApiV1AlbumByIdRequest { + return ApiGetApiV1AlbumByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *AlbumApiService) GetApiV1AlbumByIdExecute(r ApiGetApiV1AlbumByIdRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.GetApiV1AlbumById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1AlbumRequest struct { + ctx context.Context + ApiService *AlbumApiService + artistId *int32 + albumIds *[]int32 + foreignAlbumId *string + includeAllArtistAlbums *bool +} + +func (r ApiListApiV1AlbumRequest) ArtistId(artistId int32) ApiListApiV1AlbumRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1AlbumRequest) AlbumIds(albumIds []int32) ApiListApiV1AlbumRequest { + r.albumIds = &albumIds + return r +} + +func (r ApiListApiV1AlbumRequest) ForeignAlbumId(foreignAlbumId string) ApiListApiV1AlbumRequest { + r.foreignAlbumId = &foreignAlbumId + return r +} + +func (r ApiListApiV1AlbumRequest) IncludeAllArtistAlbums(includeAllArtistAlbums bool) ApiListApiV1AlbumRequest { + r.includeAllArtistAlbums = &includeAllArtistAlbums + return r +} + +func (r ApiListApiV1AlbumRequest) Execute() ([]*AlbumResource, *http.Response, error) { + return r.ApiService.ListApiV1AlbumExecute(r) +} + +/* +ListApiV1Album Method for ListApiV1Album + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1AlbumRequest +*/ +func (a *AlbumApiService) ListApiV1Album(ctx context.Context) ApiListApiV1AlbumRequest { + return ApiListApiV1AlbumRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []AlbumResource +func (a *AlbumApiService) ListApiV1AlbumExecute(r ApiListApiV1AlbumRequest) ([]*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.ListApiV1Album") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumIds != nil { + t := *r.albumIds + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + localVarQueryParams.Add("albumIds", parameterToString(s.Index(i), "multi")) + } + } else { + localVarQueryParams.Add("albumIds", parameterToString(t, "multi")) + } + } + if r.foreignAlbumId != nil { + localVarQueryParams.Add("foreignAlbumId", parameterToString(*r.foreignAlbumId, "")) + } + if r.includeAllArtistAlbums != nil { + localVarQueryParams.Add("includeAllArtistAlbums", parameterToString(*r.includeAllArtistAlbums, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiPutApiV1AlbumMonitorRequest struct { + ctx context.Context + ApiService *AlbumApiService + albumsMonitoredResource *AlbumsMonitoredResource +} + +func (r ApiPutApiV1AlbumMonitorRequest) AlbumsMonitoredResource(albumsMonitoredResource AlbumsMonitoredResource) ApiPutApiV1AlbumMonitorRequest { + r.albumsMonitoredResource = &albumsMonitoredResource + return r +} + +func (r ApiPutApiV1AlbumMonitorRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1AlbumMonitorExecute(r) +} + +/* +PutApiV1AlbumMonitor Method for PutApiV1AlbumMonitor + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPutApiV1AlbumMonitorRequest +*/ +func (a *AlbumApiService) PutApiV1AlbumMonitor(ctx context.Context) ApiPutApiV1AlbumMonitorRequest { + return ApiPutApiV1AlbumMonitorRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *AlbumApiService) PutApiV1AlbumMonitorExecute(r ApiPutApiV1AlbumMonitorRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.PutApiV1AlbumMonitor") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album/monitor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.albumsMonitoredResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1AlbumRequest struct { + ctx context.Context + ApiService *AlbumApiService + id string + albumResource *AlbumResource +} + +func (r ApiUpdateApiV1AlbumRequest) AlbumResource(albumResource AlbumResource) ApiUpdateApiV1AlbumRequest { + r.albumResource = &albumResource + return r +} + +func (r ApiUpdateApiV1AlbumRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.UpdateApiV1AlbumExecute(r) +} + +/* +UpdateApiV1Album Method for UpdateApiV1Album + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1AlbumRequest +*/ +func (a *AlbumApiService) UpdateApiV1Album(ctx context.Context, id string) ApiUpdateApiV1AlbumRequest { + return ApiUpdateApiV1AlbumRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *AlbumApiService) UpdateApiV1AlbumExecute(r ApiUpdateApiV1AlbumRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumApiService.UpdateApiV1Album") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.albumResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_album_lookup.go b/lidarr/api_album_lookup.go new file mode 100644 index 0000000..ff254d1 --- /dev/null +++ b/lidarr/api_album_lookup.go @@ -0,0 +1,145 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// AlbumLookupApiService AlbumLookupApi service +type AlbumLookupApiService service +type ApiGetApiV1AlbumLookupRequest struct { + ctx context.Context + ApiService *AlbumLookupApiService + term *string +} + +func (r ApiGetApiV1AlbumLookupRequest) Term(term string) ApiGetApiV1AlbumLookupRequest { + r.term = &term + return r +} + +func (r ApiGetApiV1AlbumLookupRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1AlbumLookupExecute(r) +} + +/* +GetApiV1AlbumLookup Method for GetApiV1AlbumLookup + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1AlbumLookupRequest +*/ +func (a *AlbumLookupApiService) GetApiV1AlbumLookup(ctx context.Context) ApiGetApiV1AlbumLookupRequest { + return ApiGetApiV1AlbumLookupRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *AlbumLookupApiService) GetApiV1AlbumLookupExecute(r ApiGetApiV1AlbumLookupRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumLookupApiService.GetApiV1AlbumLookup") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/album/lookup" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.term != nil { + localVarQueryParams.Add("term", parameterToString(*r.term, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_album_studio.go b/lidarr/api_album_studio.go new file mode 100644 index 0000000..21152da --- /dev/null +++ b/lidarr/api_album_studio.go @@ -0,0 +1,144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// AlbumStudioApiService AlbumStudioApi service +type AlbumStudioApiService service +type ApiCreateApiV1AlbumstudioRequest struct { + ctx context.Context + ApiService *AlbumStudioApiService + albumStudioResource *AlbumStudioResource +} + +func (r ApiCreateApiV1AlbumstudioRequest) AlbumStudioResource(albumStudioResource AlbumStudioResource) ApiCreateApiV1AlbumstudioRequest { + r.albumStudioResource = &albumStudioResource + return r +} + +func (r ApiCreateApiV1AlbumstudioRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1AlbumstudioExecute(r) +} + +/* +CreateApiV1Albumstudio Method for CreateApiV1Albumstudio + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AlbumStudioApiService.CreateApiV1Albumstudio") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/albumstudio" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.albumStudioResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_api_info.go b/lidarr/api_api_info.go new file mode 100644 index 0000000..e705d0c --- /dev/null +++ b/lidarr/api_api_info.go @@ -0,0 +1,136 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// ApiInfoApiService ApiInfoApi service +type ApiInfoApiService service +type ApiGetApiRequest struct { + ctx context.Context + ApiService *ApiInfoApiService +} + +func (r ApiGetApiRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiExecute(r) +} + +/* +GetApi Method for GetApi + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiRequest +*/ +func (a *ApiInfoApiService) GetApi(ctx context.Context) ApiGetApiRequest { + return ApiGetApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ApiInfoApiService) GetApiExecute(r ApiGetApiRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ApiInfoApiService.GetApi") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_artist.go b/lidarr/api_artist.go new file mode 100644 index 0000000..8d3e567 --- /dev/null +++ b/lidarr/api_artist.go @@ -0,0 +1,670 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ArtistApiService ArtistApi service +type ArtistApiService service +type ApiCreateApiV1ArtistRequest struct { + ctx context.Context + ApiService *ArtistApiService + artistResource *ArtistResource +} + +func (r ApiCreateApiV1ArtistRequest) ArtistResource(artistResource ArtistResource) ApiCreateApiV1ArtistRequest { + r.artistResource = &artistResource + return r +} + +func (r ApiCreateApiV1ArtistRequest) Execute() (*ArtistResource, *http.Response, error) { + return r.ApiService.CreateApiV1ArtistExecute(r) +} + +/* +CreateApiV1Artist Method for CreateApiV1Artist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ArtistRequest +*/ +func (a *ArtistApiService) CreateApiV1Artist(ctx context.Context) ApiCreateApiV1ArtistRequest { + return ApiCreateApiV1ArtistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ArtistResource +func (a *ArtistApiService) CreateApiV1ArtistExecute(r ApiCreateApiV1ArtistRequest) (*ArtistResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ArtistResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistApiService.CreateApiV1Artist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.artistResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1ArtistRequest struct { + ctx context.Context + ApiService *ArtistApiService + id int32 +} + +func (r ApiDeleteApiV1ArtistRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ArtistExecute(r) +} + +/* +DeleteApiV1Artist Method for DeleteApiV1Artist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1ArtistRequest +*/ +func (a *ArtistApiService) DeleteApiV1Artist(ctx context.Context, id int32) ApiDeleteApiV1ArtistRequest { + return ApiDeleteApiV1ArtistRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *ArtistApiService) DeleteApiV1ArtistExecute(r ApiDeleteApiV1ArtistRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistApiService.DeleteApiV1Artist") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1ArtistByIdRequest struct { + ctx context.Context + ApiService *ArtistApiService + id int32 +} + +func (r ApiGetApiV1ArtistByIdRequest) Execute() (*ArtistResource, *http.Response, error) { + return r.ApiService.GetApiV1ArtistByIdExecute(r) +} + +/* +GetApiV1ArtistById Method for GetApiV1ArtistById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ArtistByIdRequest +*/ +func (a *ArtistApiService) GetApiV1ArtistById(ctx context.Context, id int32) ApiGetApiV1ArtistByIdRequest { + return ApiGetApiV1ArtistByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ArtistResource +func (a *ArtistApiService) GetApiV1ArtistByIdExecute(r ApiGetApiV1ArtistByIdRequest) (*ArtistResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ArtistResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistApiService.GetApiV1ArtistById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ArtistRequest struct { + ctx context.Context + ApiService *ArtistApiService + mbId *string +} + +func (r ApiListApiV1ArtistRequest) MbId(mbId string) ApiListApiV1ArtistRequest { + r.mbId = &mbId + return r +} + +func (r ApiListApiV1ArtistRequest) Execute() ([]*ArtistResource, *http.Response, error) { + return r.ApiService.ListApiV1ArtistExecute(r) +} + +/* +ListApiV1Artist Method for ListApiV1Artist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ArtistRequest +*/ +func (a *ArtistApiService) ListApiV1Artist(ctx context.Context) ApiListApiV1ArtistRequest { + return ApiListApiV1ArtistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ArtistResource +func (a *ArtistApiService) ListApiV1ArtistExecute(r ApiListApiV1ArtistRequest) ([]*ArtistResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ArtistResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistApiService.ListApiV1Artist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.mbId != nil { + localVarQueryParams.Add("mbId", parameterToString(*r.mbId, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ArtistRequest struct { + ctx context.Context + ApiService *ArtistApiService + id string + artistResource *ArtistResource +} + +func (r ApiUpdateApiV1ArtistRequest) ArtistResource(artistResource ArtistResource) ApiUpdateApiV1ArtistRequest { + r.artistResource = &artistResource + return r +} + +func (r ApiUpdateApiV1ArtistRequest) Execute() (*ArtistResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ArtistExecute(r) +} + +/* +UpdateApiV1Artist Method for UpdateApiV1Artist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ArtistRequest +*/ +func (a *ArtistApiService) UpdateApiV1Artist(ctx context.Context, id string) ApiUpdateApiV1ArtistRequest { + return ApiUpdateApiV1ArtistRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ArtistResource +func (a *ArtistApiService) UpdateApiV1ArtistExecute(r ApiUpdateApiV1ArtistRequest) (*ArtistResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ArtistResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistApiService.UpdateApiV1Artist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.artistResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_artist_editor.go b/lidarr/api_artist_editor.go new file mode 100644 index 0000000..7ad548f --- /dev/null +++ b/lidarr/api_artist_editor.go @@ -0,0 +1,265 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// ArtistEditorApiService ArtistEditorApi service +type ArtistEditorApiService service +type ApiDeleteApiV1ArtistEditorRequest struct { + ctx context.Context + ApiService *ArtistEditorApiService + artistEditorResource *ArtistEditorResource +} + +func (r ApiDeleteApiV1ArtistEditorRequest) ArtistEditorResource(artistEditorResource ArtistEditorResource) ApiDeleteApiV1ArtistEditorRequest { + r.artistEditorResource = &artistEditorResource + return r +} + +func (r ApiDeleteApiV1ArtistEditorRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ArtistEditorExecute(r) +} + +/* +DeleteApiV1ArtistEditor Method for DeleteApiV1ArtistEditor + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteApiV1ArtistEditorRequest +*/ +func (a *ArtistEditorApiService) DeleteApiV1ArtistEditor(ctx context.Context) ApiDeleteApiV1ArtistEditorRequest { + return ApiDeleteApiV1ArtistEditorRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ArtistEditorApiService) DeleteApiV1ArtistEditorExecute(r ApiDeleteApiV1ArtistEditorRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistEditorApiService.DeleteApiV1ArtistEditor") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/editor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.artistEditorResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiPutApiV1ArtistEditorRequest struct { + ctx context.Context + ApiService *ArtistEditorApiService + artistEditorResource *ArtistEditorResource +} + +func (r ApiPutApiV1ArtistEditorRequest) ArtistEditorResource(artistEditorResource ArtistEditorResource) ApiPutApiV1ArtistEditorRequest { + r.artistEditorResource = &artistEditorResource + return r +} + +func (r ApiPutApiV1ArtistEditorRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1ArtistEditorExecute(r) +} + +/* +PutApiV1ArtistEditor Method for PutApiV1ArtistEditor + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiPutApiV1ArtistEditorRequest +*/ +func (a *ArtistEditorApiService) PutApiV1ArtistEditor(ctx context.Context) ApiPutApiV1ArtistEditorRequest { + return ApiPutApiV1ArtistEditorRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ArtistEditorApiService) PutApiV1ArtistEditorExecute(r ApiPutApiV1ArtistEditorRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistEditorApiService.PutApiV1ArtistEditor") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/editor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.artistEditorResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_artist_lookup.go b/lidarr/api_artist_lookup.go new file mode 100644 index 0000000..bb534a0 --- /dev/null +++ b/lidarr/api_artist_lookup.go @@ -0,0 +1,145 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// ArtistLookupApiService ArtistLookupApi service +type ArtistLookupApiService service +type ApiGetApiV1ArtistLookupRequest struct { + ctx context.Context + ApiService *ArtistLookupApiService + term *string +} + +func (r ApiGetApiV1ArtistLookupRequest) Term(term string) ApiGetApiV1ArtistLookupRequest { + r.term = &term + return r +} + +func (r ApiGetApiV1ArtistLookupRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1ArtistLookupExecute(r) +} + +/* +GetApiV1ArtistLookup Method for GetApiV1ArtistLookup + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ArtistLookupRequest +*/ +func (a *ArtistLookupApiService) GetApiV1ArtistLookup(ctx context.Context) ApiGetApiV1ArtistLookupRequest { + return ApiGetApiV1ArtistLookupRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *ArtistLookupApiService) GetApiV1ArtistLookupExecute(r ApiGetApiV1ArtistLookupRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ArtistLookupApiService.GetApiV1ArtistLookup") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/artist/lookup" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.term != nil { + localVarQueryParams.Add("term", parameterToString(*r.term, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_authentication.go b/lidarr/api_authentication.go new file mode 100644 index 0000000..9e748ab --- /dev/null +++ b/lidarr/api_authentication.go @@ -0,0 +1,285 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// AuthenticationApiService AuthenticationApi service +type AuthenticationApiService service +type ApiCreateLoginRequest struct { + ctx context.Context + ApiService *AuthenticationApiService + returnUrl *string + username *string + password *string + rememberMe *string +} + +func (r ApiCreateLoginRequest) ReturnUrl(returnUrl string) ApiCreateLoginRequest { + r.returnUrl = &returnUrl + return r +} + +func (r ApiCreateLoginRequest) Username(username string) ApiCreateLoginRequest { + r.username = &username + return r +} + +func (r ApiCreateLoginRequest) Password(password string) ApiCreateLoginRequest { + r.password = &password + return r +} + +func (r ApiCreateLoginRequest) RememberMe(rememberMe string) ApiCreateLoginRequest { + r.rememberMe = &rememberMe + return r +} + +func (r ApiCreateLoginRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateLoginExecute(r) +} + +/* +CreateLogin Method for CreateLogin + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateLoginRequest +*/ +func (a *AuthenticationApiService) CreateLogin(ctx context.Context) ApiCreateLoginRequest { + return ApiCreateLoginRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *AuthenticationApiService) CreateLoginExecute(r ApiCreateLoginRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationApiService.CreateLogin") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/login" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.returnUrl != nil { + localVarQueryParams.Add("returnUrl", parameterToString(*r.returnUrl, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"multipart/form-data"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.username != nil { + localVarFormParams.Add("Username", parameterToString(*r.username, "")) + } + if r.password != nil { + localVarFormParams.Add("Password", parameterToString(*r.password, "")) + } + if r.rememberMe != nil { + localVarFormParams.Add("RememberMe", parameterToString(*r.rememberMe, "")) + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetLogoutRequest struct { + ctx context.Context + ApiService *AuthenticationApiService +} + +func (r ApiGetLogoutRequest) Execute() (*http.Response, error) { + return r.ApiService.GetLogoutExecute(r) +} + +/* +GetLogout Method for GetLogout + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetLogoutRequest +*/ +func (a *AuthenticationApiService) GetLogout(ctx context.Context) ApiGetLogoutRequest { + return ApiGetLogoutRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *AuthenticationApiService) GetLogoutExecute(r ApiGetLogoutRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuthenticationApiService.GetLogout") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/logout" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_backup.go b/lidarr/api_backup.go new file mode 100644 index 0000000..a338a55 --- /dev/null +++ b/lidarr/api_backup.go @@ -0,0 +1,495 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// BackupApiService BackupApi service +type BackupApiService service +type ApiCreateApiV1SystemBackupRestoreByIdRequest struct { + ctx context.Context + ApiService *BackupApiService + id int32 +} + +func (r ApiCreateApiV1SystemBackupRestoreByIdRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1SystemBackupRestoreByIdExecute(r) +} + +/* +CreateApiV1SystemBackupRestoreById Method for CreateApiV1SystemBackupRestoreById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiCreateApiV1SystemBackupRestoreByIdRequest +*/ +func (a *BackupApiService) CreateApiV1SystemBackupRestoreById(ctx context.Context, id int32) ApiCreateApiV1SystemBackupRestoreByIdRequest { + return ApiCreateApiV1SystemBackupRestoreByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *BackupApiService) CreateApiV1SystemBackupRestoreByIdExecute(r ApiCreateApiV1SystemBackupRestoreByIdRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.CreateApiV1SystemBackupRestoreById") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/backup/restore/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiCreateApiV1SystemBackupRestoreUploadRequest struct { + ctx context.Context + ApiService *BackupApiService +} + +func (r ApiCreateApiV1SystemBackupRestoreUploadRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1SystemBackupRestoreUploadExecute(r) +} + +/* +CreateApiV1SystemBackupRestoreUpload Method for CreateApiV1SystemBackupRestoreUpload + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1SystemBackupRestoreUploadRequest +*/ +func (a *BackupApiService) CreateApiV1SystemBackupRestoreUpload(ctx context.Context) ApiCreateApiV1SystemBackupRestoreUploadRequest { + return ApiCreateApiV1SystemBackupRestoreUploadRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *BackupApiService) CreateApiV1SystemBackupRestoreUploadExecute(r ApiCreateApiV1SystemBackupRestoreUploadRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.CreateApiV1SystemBackupRestoreUpload") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/backup/restore/upload" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1SystemBackupRequest struct { + ctx context.Context + ApiService *BackupApiService + id int32 +} + +func (r ApiDeleteApiV1SystemBackupRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1SystemBackupExecute(r) +} + +/* +DeleteApiV1SystemBackup Method for DeleteApiV1SystemBackup + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1SystemBackupRequest +*/ +func (a *BackupApiService) DeleteApiV1SystemBackup(ctx context.Context, id int32) ApiDeleteApiV1SystemBackupRequest { + return ApiDeleteApiV1SystemBackupRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *BackupApiService) DeleteApiV1SystemBackupExecute(r ApiDeleteApiV1SystemBackupRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.DeleteApiV1SystemBackup") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/backup/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiListApiV1SystemBackupRequest struct { + ctx context.Context + ApiService *BackupApiService +} + +func (r ApiListApiV1SystemBackupRequest) Execute() ([]*BackupResource, *http.Response, error) { + return r.ApiService.ListApiV1SystemBackupExecute(r) +} + +/* +ListApiV1SystemBackup Method for ListApiV1SystemBackup + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1SystemBackupRequest +*/ +func (a *BackupApiService) ListApiV1SystemBackup(ctx context.Context) ApiListApiV1SystemBackupRequest { + return ApiListApiV1SystemBackupRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []BackupResource +func (a *BackupApiService) ListApiV1SystemBackupExecute(r ApiListApiV1SystemBackupRequest) ([]*BackupResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*BackupResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BackupApiService.ListApiV1SystemBackup") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/backup" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_blocklist.go b/lidarr/api_blocklist.go new file mode 100644 index 0000000..0f78f0e --- /dev/null +++ b/lidarr/api_blocklist.go @@ -0,0 +1,386 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// BlocklistApiService BlocklistApi service +type BlocklistApiService service +type ApiDeleteApiV1BlocklistRequest struct { + ctx context.Context + ApiService *BlocklistApiService + id int32 +} + +func (r ApiDeleteApiV1BlocklistRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1BlocklistExecute(r) +} + +/* +DeleteApiV1Blocklist Method for DeleteApiV1Blocklist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1BlocklistRequest +*/ +func (a *BlocklistApiService) DeleteApiV1Blocklist(ctx context.Context, id int32) ApiDeleteApiV1BlocklistRequest { + return ApiDeleteApiV1BlocklistRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *BlocklistApiService) DeleteApiV1BlocklistExecute(r ApiDeleteApiV1BlocklistRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.DeleteApiV1Blocklist") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/blocklist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1BlocklistBulkRequest struct { + ctx context.Context + ApiService *BlocklistApiService + blocklistBulkResource *BlocklistBulkResource +} + +func (r ApiDeleteApiV1BlocklistBulkRequest) BlocklistBulkResource(blocklistBulkResource BlocklistBulkResource) ApiDeleteApiV1BlocklistBulkRequest { + r.blocklistBulkResource = &blocklistBulkResource + return r +} + +func (r ApiDeleteApiV1BlocklistBulkRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1BlocklistBulkExecute(r) +} + +/* +DeleteApiV1BlocklistBulk Method for DeleteApiV1BlocklistBulk + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteApiV1BlocklistBulkRequest +*/ +func (a *BlocklistApiService) DeleteApiV1BlocklistBulk(ctx context.Context) ApiDeleteApiV1BlocklistBulkRequest { + return ApiDeleteApiV1BlocklistBulkRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *BlocklistApiService) DeleteApiV1BlocklistBulkExecute(r ApiDeleteApiV1BlocklistBulkRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.DeleteApiV1BlocklistBulk") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/blocklist/bulk" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.blocklistBulkResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1BlocklistRequest struct { + ctx context.Context + ApiService *BlocklistApiService +} + +func (r ApiGetApiV1BlocklistRequest) Execute() (*BlocklistResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1BlocklistExecute(r) +} + +/* +GetApiV1Blocklist Method for GetApiV1Blocklist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1BlocklistRequest +*/ +func (a *BlocklistApiService) GetApiV1Blocklist(ctx context.Context) ApiGetApiV1BlocklistRequest { + return ApiGetApiV1BlocklistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return BlocklistResourcePagingResource +func (a *BlocklistApiService) GetApiV1BlocklistExecute(r ApiGetApiV1BlocklistRequest) (*BlocklistResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *BlocklistResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "BlocklistApiService.GetApiV1Blocklist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/blocklist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_calendar.go b/lidarr/api_calendar.go new file mode 100644 index 0000000..3dfceb7 --- /dev/null +++ b/lidarr/api_calendar.go @@ -0,0 +1,313 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "time" +) + + +// CalendarApiService CalendarApi service +type CalendarApiService service +type ApiGetApiV1CalendarByIdRequest struct { + ctx context.Context + ApiService *CalendarApiService + id int32 +} + +func (r ApiGetApiV1CalendarByIdRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.GetApiV1CalendarByIdExecute(r) +} + +/* +GetApiV1CalendarById Method for GetApiV1CalendarById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1CalendarByIdRequest +*/ +func (a *CalendarApiService) GetApiV1CalendarById(ctx context.Context, id int32) ApiGetApiV1CalendarByIdRequest { + return ApiGetApiV1CalendarByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *CalendarApiService) GetApiV1CalendarByIdExecute(r ApiGetApiV1CalendarByIdRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarApiService.GetApiV1CalendarById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/calendar/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1CalendarRequest struct { + ctx context.Context + ApiService *CalendarApiService + start *time.Time + end *time.Time + unmonitored *bool + includeArtist *bool +} + +func (r ApiListApiV1CalendarRequest) Start(start time.Time) ApiListApiV1CalendarRequest { + r.start = &start + return r +} + +func (r ApiListApiV1CalendarRequest) End(end time.Time) ApiListApiV1CalendarRequest { + r.end = &end + return r +} + +func (r ApiListApiV1CalendarRequest) Unmonitored(unmonitored bool) ApiListApiV1CalendarRequest { + r.unmonitored = &unmonitored + return r +} + +func (r ApiListApiV1CalendarRequest) IncludeArtist(includeArtist bool) ApiListApiV1CalendarRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiListApiV1CalendarRequest) Execute() ([]*AlbumResource, *http.Response, error) { + return r.ApiService.ListApiV1CalendarExecute(r) +} + +/* +ListApiV1Calendar Method for ListApiV1Calendar + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1CalendarRequest +*/ +func (a *CalendarApiService) ListApiV1Calendar(ctx context.Context) ApiListApiV1CalendarRequest { + return ApiListApiV1CalendarRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []AlbumResource +func (a *CalendarApiService) ListApiV1CalendarExecute(r ApiListApiV1CalendarRequest) ([]*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarApiService.ListApiV1Calendar") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/calendar" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.start != nil { + localVarQueryParams.Add("start", parameterToString(*r.start, "")) + } + if r.end != nil { + localVarQueryParams.Add("end", parameterToString(*r.end, "")) + } + if r.unmonitored != nil { + localVarQueryParams.Add("unmonitored", parameterToString(*r.unmonitored, "")) + } + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_calendar_feed.go b/lidarr/api_calendar_feed.go new file mode 100644 index 0000000..268269b --- /dev/null +++ b/lidarr/api_calendar_feed.go @@ -0,0 +1,172 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// CalendarFeedApiService CalendarFeedApi service +type CalendarFeedApiService service +type ApiGetFeedV1CalendarLidarrIcsRequest struct { + ctx context.Context + ApiService *CalendarFeedApiService + pastDays *int32 + futureDays *int32 + tagList *string + unmonitored *bool +} + +func (r ApiGetFeedV1CalendarLidarrIcsRequest) PastDays(pastDays int32) ApiGetFeedV1CalendarLidarrIcsRequest { + r.pastDays = &pastDays + return r +} + +func (r ApiGetFeedV1CalendarLidarrIcsRequest) FutureDays(futureDays int32) ApiGetFeedV1CalendarLidarrIcsRequest { + r.futureDays = &futureDays + return r +} + +func (r ApiGetFeedV1CalendarLidarrIcsRequest) TagList(tagList string) ApiGetFeedV1CalendarLidarrIcsRequest { + r.tagList = &tagList + return r +} + +func (r ApiGetFeedV1CalendarLidarrIcsRequest) Unmonitored(unmonitored bool) ApiGetFeedV1CalendarLidarrIcsRequest { + r.unmonitored = &unmonitored + return r +} + +func (r ApiGetFeedV1CalendarLidarrIcsRequest) Execute() (*http.Response, error) { + return r.ApiService.GetFeedV1CalendarLidarrIcsExecute(r) +} + +/* +GetFeedV1CalendarLidarrIcs Method for GetFeedV1CalendarLidarrIcs + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetFeedV1CalendarLidarrIcsRequest +*/ +func (a *CalendarFeedApiService) GetFeedV1CalendarLidarrIcs(ctx context.Context) ApiGetFeedV1CalendarLidarrIcsRequest { + return ApiGetFeedV1CalendarLidarrIcsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *CalendarFeedApiService) GetFeedV1CalendarLidarrIcsExecute(r ApiGetFeedV1CalendarLidarrIcsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CalendarFeedApiService.GetFeedV1CalendarLidarrIcs") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/feed/v1/calendar/lidarr.ics" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.pastDays != nil { + localVarQueryParams.Add("pastDays", parameterToString(*r.pastDays, "")) + } + if r.futureDays != nil { + localVarQueryParams.Add("futureDays", parameterToString(*r.futureDays, "")) + } + if r.tagList != nil { + localVarQueryParams.Add("tagList", parameterToString(*r.tagList, "")) + } + if r.unmonitored != nil { + localVarQueryParams.Add("unmonitored", parameterToString(*r.unmonitored, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_command.go b/lidarr/api_command.go new file mode 100644 index 0000000..1bae7a3 --- /dev/null +++ b/lidarr/api_command.go @@ -0,0 +1,525 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// CommandApiService CommandApi service +type CommandApiService service +type ApiCreateApiV1CommandRequest struct { + ctx context.Context + ApiService *CommandApiService + commandResource *CommandResource +} + +func (r ApiCreateApiV1CommandRequest) CommandResource(commandResource CommandResource) ApiCreateApiV1CommandRequest { + r.commandResource = &commandResource + return r +} + +func (r ApiCreateApiV1CommandRequest) Execute() (*CommandResource, *http.Response, error) { + return r.ApiService.CreateApiV1CommandExecute(r) +} + +/* +CreateApiV1Command Method for CreateApiV1Command + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1CommandRequest +*/ +func (a *CommandApiService) CreateApiV1Command(ctx context.Context) ApiCreateApiV1CommandRequest { + return ApiCreateApiV1CommandRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return CommandResource +func (a *CommandApiService) CreateApiV1CommandExecute(r ApiCreateApiV1CommandRequest) (*CommandResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CommandResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.CreateApiV1Command") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/command" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.commandResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1CommandRequest struct { + ctx context.Context + ApiService *CommandApiService + id int32 +} + +func (r ApiDeleteApiV1CommandRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1CommandExecute(r) +} + +/* +DeleteApiV1Command Method for DeleteApiV1Command + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1CommandRequest +*/ +func (a *CommandApiService) DeleteApiV1Command(ctx context.Context, id int32) ApiDeleteApiV1CommandRequest { + return ApiDeleteApiV1CommandRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *CommandApiService) DeleteApiV1CommandExecute(r ApiDeleteApiV1CommandRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.DeleteApiV1Command") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/command/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1CommandByIdRequest struct { + ctx context.Context + ApiService *CommandApiService + id int32 +} + +func (r ApiGetApiV1CommandByIdRequest) Execute() (*CommandResource, *http.Response, error) { + return r.ApiService.GetApiV1CommandByIdExecute(r) +} + +/* +GetApiV1CommandById Method for GetApiV1CommandById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1CommandByIdRequest +*/ +func (a *CommandApiService) GetApiV1CommandById(ctx context.Context, id int32) ApiGetApiV1CommandByIdRequest { + return ApiGetApiV1CommandByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return CommandResource +func (a *CommandApiService) GetApiV1CommandByIdExecute(r ApiGetApiV1CommandByIdRequest) (*CommandResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CommandResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.GetApiV1CommandById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/command/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1CommandRequest struct { + ctx context.Context + ApiService *CommandApiService +} + +func (r ApiListApiV1CommandRequest) Execute() ([]*CommandResource, *http.Response, error) { + return r.ApiService.ListApiV1CommandExecute(r) +} + +/* +ListApiV1Command Method for ListApiV1Command + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1CommandRequest +*/ +func (a *CommandApiService) ListApiV1Command(ctx context.Context) ApiListApiV1CommandRequest { + return ApiListApiV1CommandRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []CommandResource +func (a *CommandApiService) ListApiV1CommandExecute(r ApiListApiV1CommandRequest) ([]*CommandResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*CommandResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CommandApiService.ListApiV1Command") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/command" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_custom_filter.go b/lidarr/api_custom_filter.go new file mode 100644 index 0000000..9955551 --- /dev/null +++ b/lidarr/api_custom_filter.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// CustomFilterApiService CustomFilterApi service +type CustomFilterApiService service +type ApiCreateApiV1CustomfilterRequest struct { + ctx context.Context + ApiService *CustomFilterApiService + customFilterResource *CustomFilterResource +} + +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) +} + +/* +CreateApiV1Customfilter Method for CreateApiV1Customfilter + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1CustomfilterRequest +*/ +func (a *CustomFilterApiService) CreateApiV1Customfilter(ctx context.Context) ApiCreateApiV1CustomfilterRequest { + return ApiCreateApiV1CustomfilterRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return CustomFilterResource +func (a *CustomFilterApiService) CreateApiV1CustomfilterExecute(r ApiCreateApiV1CustomfilterRequest) (*CustomFilterResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CustomFilterResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.CreateApiV1Customfilter") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/customfilter" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.customFilterResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1CustomfilterRequest struct { + ctx context.Context + ApiService *CustomFilterApiService + id int32 +} + +func (r ApiDeleteApiV1CustomfilterRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1CustomfilterExecute(r) +} + +/* +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 +*/ +func (a *CustomFilterApiService) DeleteApiV1Customfilter(ctx context.Context, id int32) ApiDeleteApiV1CustomfilterRequest { + return ApiDeleteApiV1CustomfilterRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/customfilter/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1CustomfilterByIdRequest struct { + ctx context.Context + ApiService *CustomFilterApiService + id int32 +} + +func (r ApiGetApiV1CustomfilterByIdRequest) Execute() (*CustomFilterResource, *http.Response, error) { + return r.ApiService.GetApiV1CustomfilterByIdExecute(r) +} + +/* +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 +*/ +func (a *CustomFilterApiService) GetApiV1CustomfilterById(ctx context.Context, id int32) ApiGetApiV1CustomfilterByIdRequest { + return ApiGetApiV1CustomfilterByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return CustomFilterResource +func (a *CustomFilterApiService) GetApiV1CustomfilterByIdExecute(r ApiGetApiV1CustomfilterByIdRequest) (*CustomFilterResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CustomFilterResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.GetApiV1CustomfilterById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/customfilter/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1CustomfilterRequest struct { + ctx context.Context + ApiService *CustomFilterApiService +} + +func (r ApiListApiV1CustomfilterRequest) Execute() ([]*CustomFilterResource, *http.Response, error) { + return r.ApiService.ListApiV1CustomfilterExecute(r) +} + +/* +ListApiV1Customfilter Method for ListApiV1Customfilter + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1CustomfilterRequest +*/ +func (a *CustomFilterApiService) ListApiV1Customfilter(ctx context.Context) ApiListApiV1CustomfilterRequest { + return ApiListApiV1CustomfilterRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []CustomFilterResource +func (a *CustomFilterApiService) ListApiV1CustomfilterExecute(r ApiListApiV1CustomfilterRequest) ([]*CustomFilterResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*CustomFilterResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.ListApiV1Customfilter") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/customfilter" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1CustomfilterRequest struct { + ctx context.Context + ApiService *CustomFilterApiService + id string + customFilterResource *CustomFilterResource +} + +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) +} + +/* +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 +*/ +func (a *CustomFilterApiService) UpdateApiV1Customfilter(ctx context.Context, id string) ApiUpdateApiV1CustomfilterRequest { + return ApiUpdateApiV1CustomfilterRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return CustomFilterResource +func (a *CustomFilterApiService) UpdateApiV1CustomfilterExecute(r ApiUpdateApiV1CustomfilterRequest) (*CustomFilterResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *CustomFilterResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CustomFilterApiService.UpdateApiV1Customfilter") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/customfilter/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.customFilterResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_cutoff.go b/lidarr/api_cutoff.go new file mode 100644 index 0000000..a1a1100 --- /dev/null +++ b/lidarr/api_cutoff.go @@ -0,0 +1,285 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// CutoffApiService CutoffApi service +type CutoffApiService service +type ApiGetApiV1WantedCutoffRequest struct { + ctx context.Context + ApiService *CutoffApiService + includeArtist *bool +} + +func (r ApiGetApiV1WantedCutoffRequest) IncludeArtist(includeArtist bool) ApiGetApiV1WantedCutoffRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiGetApiV1WantedCutoffRequest) Execute() (*AlbumResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1WantedCutoffExecute(r) +} + +/* +GetApiV1WantedCutoff Method for GetApiV1WantedCutoff + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1WantedCutoffRequest +*/ +func (a *CutoffApiService) GetApiV1WantedCutoff(ctx context.Context) ApiGetApiV1WantedCutoffRequest { + return ApiGetApiV1WantedCutoffRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return AlbumResourcePagingResource +func (a *CutoffApiService) GetApiV1WantedCutoffExecute(r ApiGetApiV1WantedCutoffRequest) (*AlbumResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffApiService.GetApiV1WantedCutoff") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/wanted/cutoff" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1WantedCutoffByIdRequest struct { + ctx context.Context + ApiService *CutoffApiService + id int32 +} + +func (r ApiGetApiV1WantedCutoffByIdRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.GetApiV1WantedCutoffByIdExecute(r) +} + +/* +GetApiV1WantedCutoffById Method for GetApiV1WantedCutoffById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1WantedCutoffByIdRequest +*/ +func (a *CutoffApiService) GetApiV1WantedCutoffById(ctx context.Context, id int32) ApiGetApiV1WantedCutoffByIdRequest { + return ApiGetApiV1WantedCutoffByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *CutoffApiService) GetApiV1WantedCutoffByIdExecute(r ApiGetApiV1WantedCutoffByIdRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CutoffApiService.GetApiV1WantedCutoffById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/wanted/cutoff/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_delay_profile.go b/lidarr/api_delay_profile.go new file mode 100644 index 0000000..a51955f --- /dev/null +++ b/lidarr/api_delay_profile.go @@ -0,0 +1,787 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// DelayProfileApiService DelayProfileApi service +type DelayProfileApiService service +type ApiCreateApiV1DelayprofileRequest struct { + ctx context.Context + ApiService *DelayProfileApiService + delayProfileResource *DelayProfileResource +} + +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) +} + +/* +CreateApiV1Delayprofile Method for CreateApiV1Delayprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1DelayprofileRequest +*/ +func (a *DelayProfileApiService) CreateApiV1Delayprofile(ctx context.Context) ApiCreateApiV1DelayprofileRequest { + return ApiCreateApiV1DelayprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DelayProfileResource +func (a *DelayProfileApiService) CreateApiV1DelayprofileExecute(r ApiCreateApiV1DelayprofileRequest) (*DelayProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DelayProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.CreateApiV1Delayprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.delayProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1DelayprofileRequest struct { + ctx context.Context + ApiService *DelayProfileApiService + id int32 +} + +func (r ApiDeleteApiV1DelayprofileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1DelayprofileExecute(r) +} + +/* +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 +*/ +func (a *DelayProfileApiService) DeleteApiV1Delayprofile(ctx context.Context, id int32) ApiDeleteApiV1DelayprofileRequest { + return ApiDeleteApiV1DelayprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1DelayprofileByIdRequest struct { + ctx context.Context + ApiService *DelayProfileApiService + id int32 +} + +func (r ApiGetApiV1DelayprofileByIdRequest) Execute() (*DelayProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1DelayprofileByIdExecute(r) +} + +/* +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 +*/ +func (a *DelayProfileApiService) GetApiV1DelayprofileById(ctx context.Context, id int32) ApiGetApiV1DelayprofileByIdRequest { + return ApiGetApiV1DelayprofileByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DelayProfileResource +func (a *DelayProfileApiService) GetApiV1DelayprofileByIdExecute(r ApiGetApiV1DelayprofileByIdRequest) (*DelayProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DelayProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.GetApiV1DelayprofileById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1DelayprofileRequest struct { + ctx context.Context + ApiService *DelayProfileApiService +} + +func (r ApiListApiV1DelayprofileRequest) Execute() ([]*DelayProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1DelayprofileExecute(r) +} + +/* +ListApiV1Delayprofile Method for ListApiV1Delayprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1DelayprofileRequest +*/ +func (a *DelayProfileApiService) ListApiV1Delayprofile(ctx context.Context) ApiListApiV1DelayprofileRequest { + return ApiListApiV1DelayprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []DelayProfileResource +func (a *DelayProfileApiService) ListApiV1DelayprofileExecute(r ApiListApiV1DelayprofileRequest) ([]*DelayProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*DelayProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.ListApiV1Delayprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1DelayprofileRequest struct { + ctx context.Context + ApiService *DelayProfileApiService + id string + delayProfileResource *DelayProfileResource +} + +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) +} + +/* +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 +*/ +func (a *DelayProfileApiService) UpdateApiV1Delayprofile(ctx context.Context, id string) ApiUpdateApiV1DelayprofileRequest { + return ApiUpdateApiV1DelayprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DelayProfileResource +func (a *DelayProfileApiService) UpdateApiV1DelayprofileExecute(r ApiUpdateApiV1DelayprofileRequest) (*DelayProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DelayProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DelayProfileApiService.UpdateApiV1Delayprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.delayProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1DelayprofileReorderRequest struct { + ctx context.Context + ApiService *DelayProfileApiService + id int32 + afterId *int32 +} + +func (r ApiUpdateApiV1DelayprofileReorderRequest) AfterId(afterId int32) ApiUpdateApiV1DelayprofileReorderRequest { + r.afterId = &afterId + return r +} + +func (r ApiUpdateApiV1DelayprofileReorderRequest) Execute() (*http.Response, error) { + return r.ApiService.UpdateApiV1DelayprofileReorderExecute(r) +} + +/* +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 +*/ +func (a *DelayProfileApiService) UpdateApiV1DelayprofileReorder(ctx context.Context, id int32) ApiUpdateApiV1DelayprofileReorderRequest { + return ApiUpdateApiV1DelayprofileReorderRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/delayprofile/reorder/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.afterId != nil { + localVarQueryParams.Add("afterId", parameterToString(*r.afterId, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_disk_space.go b/lidarr/api_disk_space.go new file mode 100644 index 0000000..2892fc9 --- /dev/null +++ b/lidarr/api_disk_space.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// DiskSpaceApiService DiskSpaceApi service +type DiskSpaceApiService service +type ApiListApiV1DiskspaceRequest struct { + ctx context.Context + ApiService *DiskSpaceApiService +} + +func (r ApiListApiV1DiskspaceRequest) Execute() ([]*DiskSpaceResource, *http.Response, error) { + return r.ApiService.ListApiV1DiskspaceExecute(r) +} + +/* +ListApiV1Diskspace Method for ListApiV1Diskspace + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1DiskspaceRequest +*/ +func (a *DiskSpaceApiService) ListApiV1Diskspace(ctx context.Context) ApiListApiV1DiskspaceRequest { + return ApiListApiV1DiskspaceRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []DiskSpaceResource +func (a *DiskSpaceApiService) ListApiV1DiskspaceExecute(r ApiListApiV1DiskspaceRequest) ([]*DiskSpaceResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*DiskSpaceResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DiskSpaceApiService.ListApiV1Diskspace") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/diskspace" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_download_client.go b/lidarr/api_download_client.go new file mode 100644 index 0000000..fbac971 --- /dev/null +++ b/lidarr/api_download_client.go @@ -0,0 +1,1144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// DownloadClientApiService DownloadClientApi service +type DownloadClientApiService service +type ApiCreateApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + downloadClientResource *DownloadClientResource +} + +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) +} + +/* +CreateApiV1Downloadclient Method for CreateApiV1Downloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1DownloadclientRequest +*/ +func (a *DownloadClientApiService) CreateApiV1Downloadclient(ctx context.Context) ApiCreateApiV1DownloadclientRequest { + return ApiCreateApiV1DownloadclientRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DownloadClientResource +func (a *DownloadClientApiService) CreateApiV1DownloadclientExecute(r ApiCreateApiV1DownloadclientRequest) (*DownloadClientResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.CreateApiV1Downloadclient") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.downloadClientResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiCreateApiV1DownloadclientActionByNameRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + name string + downloadClientResource *DownloadClientResource +} + +func (r ApiCreateApiV1DownloadclientActionByNameRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiCreateApiV1DownloadclientActionByNameRequest { + r.downloadClientResource = &downloadClientResource + return r +} + +func (r ApiCreateApiV1DownloadclientActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1DownloadclientActionByNameExecute(r) +} + +/* +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 +*/ +func (a *DownloadClientApiService) CreateApiV1DownloadclientActionByName(ctx context.Context, name string) ApiCreateApiV1DownloadclientActionByNameRequest { + return ApiCreateApiV1DownloadclientActionByNameRequest{ + ApiService: a, + ctx: ctx, + name: name, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/action/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", url.PathEscape(parameterToString(r.name, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.downloadClientResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + id int32 +} + +func (r ApiDeleteApiV1DownloadclientRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1DownloadclientExecute(r) +} + +/* +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 +*/ +func (a *DownloadClientApiService) DeleteApiV1Downloadclient(ctx context.Context, id int32) ApiDeleteApiV1DownloadclientRequest { + return ApiDeleteApiV1DownloadclientRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1DownloadclientByIdRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + id int32 +} + +func (r ApiGetApiV1DownloadclientByIdRequest) Execute() (*DownloadClientResource, *http.Response, error) { + return r.ApiService.GetApiV1DownloadclientByIdExecute(r) +} + +/* +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 +*/ +func (a *DownloadClientApiService) GetApiV1DownloadclientById(ctx context.Context, id int32) ApiGetApiV1DownloadclientByIdRequest { + return ApiGetApiV1DownloadclientByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DownloadClientResource +func (a *DownloadClientApiService) GetApiV1DownloadclientByIdExecute(r ApiGetApiV1DownloadclientByIdRequest) (*DownloadClientResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.GetApiV1DownloadclientById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService +} + +func (r ApiListApiV1DownloadclientRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { + return r.ApiService.ListApiV1DownloadclientExecute(r) +} + +/* +ListApiV1Downloadclient Method for ListApiV1Downloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1DownloadclientRequest +*/ +func (a *DownloadClientApiService) ListApiV1Downloadclient(ctx context.Context) ApiListApiV1DownloadclientRequest { + return ApiListApiV1DownloadclientRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []DownloadClientResource +func (a *DownloadClientApiService) ListApiV1DownloadclientExecute(r ApiListApiV1DownloadclientRequest) ([]*DownloadClientResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*DownloadClientResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1Downloadclient") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1DownloadclientSchemaRequest struct { + ctx context.Context + ApiService *DownloadClientApiService +} + +func (r ApiListApiV1DownloadclientSchemaRequest) Execute() ([]*DownloadClientResource, *http.Response, error) { + return r.ApiService.ListApiV1DownloadclientSchemaExecute(r) +} + +/* +ListApiV1DownloadclientSchema Method for ListApiV1DownloadclientSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1DownloadclientSchemaRequest +*/ +func (a *DownloadClientApiService) ListApiV1DownloadclientSchema(ctx context.Context) ApiListApiV1DownloadclientSchemaRequest { + return ApiListApiV1DownloadclientSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []DownloadClientResource +func (a *DownloadClientApiService) ListApiV1DownloadclientSchemaExecute(r ApiListApiV1DownloadclientSchemaRequest) ([]*DownloadClientResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*DownloadClientResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.ListApiV1DownloadclientSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiTestApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + downloadClientResource *DownloadClientResource +} + +func (r ApiTestApiV1DownloadclientRequest) DownloadClientResource(downloadClientResource DownloadClientResource) ApiTestApiV1DownloadclientRequest { + r.downloadClientResource = &downloadClientResource + return r +} + +func (r ApiTestApiV1DownloadclientRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1DownloadclientExecute(r) +} + +/* +TestApiV1Downloadclient Method for TestApiV1Downloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestApiV1Downloadclient") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/test" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.downloadClientResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiTestallApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService +} + +func (r ApiTestallApiV1DownloadclientRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1DownloadclientExecute(r) +} + +/* +TestallApiV1Downloadclient Method for TestallApiV1Downloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.TestallApiV1Downloadclient") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/testall" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1DownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientApiService + id string + downloadClientResource *DownloadClientResource +} + +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) +} + +/* +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 +*/ +func (a *DownloadClientApiService) UpdateApiV1Downloadclient(ctx context.Context, id string) ApiUpdateApiV1DownloadclientRequest { + return ApiUpdateApiV1DownloadclientRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DownloadClientResource +func (a *DownloadClientApiService) UpdateApiV1DownloadclientExecute(r ApiUpdateApiV1DownloadclientRequest) (*DownloadClientResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientApiService.UpdateApiV1Downloadclient") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/downloadclient/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.downloadClientResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_download_client_config.go b/lidarr/api_download_client_config.go new file mode 100644 index 0000000..c28d7b0 --- /dev/null +++ b/lidarr/api_download_client_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// DownloadClientConfigApiService DownloadClientConfigApi service +type DownloadClientConfigApiService service +type ApiGetApiV1ConfigDownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientConfigApiService +} + +func (r ApiGetApiV1ConfigDownloadclientRequest) Execute() (*DownloadClientConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigDownloadclientExecute(r) +} + +/* +GetApiV1ConfigDownloadclient Method for GetApiV1ConfigDownloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigDownloadclientRequest +*/ +func (a *DownloadClientConfigApiService) GetApiV1ConfigDownloadclient(ctx context.Context) ApiGetApiV1ConfigDownloadclientRequest { + return ApiGetApiV1ConfigDownloadclientRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return DownloadClientConfigResource +func (a *DownloadClientConfigApiService) GetApiV1ConfigDownloadclientExecute(r ApiGetApiV1ConfigDownloadclientRequest) (*DownloadClientConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.GetApiV1ConfigDownloadclient") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/downloadclient" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigDownloadclientByIdRequest struct { + ctx context.Context + ApiService *DownloadClientConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigDownloadclientByIdRequest) Execute() (*DownloadClientConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigDownloadclientByIdExecute(r) +} + +/* +GetApiV1ConfigDownloadclientById Method for GetApiV1ConfigDownloadclientById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigDownloadclientByIdRequest +*/ +func (a *DownloadClientConfigApiService) GetApiV1ConfigDownloadclientById(ctx context.Context, id int32) ApiGetApiV1ConfigDownloadclientByIdRequest { + return ApiGetApiV1ConfigDownloadclientByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DownloadClientConfigResource +func (a *DownloadClientConfigApiService) GetApiV1ConfigDownloadclientByIdExecute(r ApiGetApiV1ConfigDownloadclientByIdRequest) (*DownloadClientConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.GetApiV1ConfigDownloadclientById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/downloadclient/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigDownloadclientRequest struct { + ctx context.Context + ApiService *DownloadClientConfigApiService + id string + downloadClientConfigResource *DownloadClientConfigResource +} + +func (r ApiUpdateApiV1ConfigDownloadclientRequest) DownloadClientConfigResource(downloadClientConfigResource DownloadClientConfigResource) ApiUpdateApiV1ConfigDownloadclientRequest { + r.downloadClientConfigResource = &downloadClientConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigDownloadclientRequest) Execute() (*DownloadClientConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigDownloadclientExecute(r) +} + +/* +UpdateApiV1ConfigDownloadclient Method for UpdateApiV1ConfigDownloadclient + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigDownloadclientRequest +*/ +func (a *DownloadClientConfigApiService) UpdateApiV1ConfigDownloadclient(ctx context.Context, id string) ApiUpdateApiV1ConfigDownloadclientRequest { + return ApiUpdateApiV1ConfigDownloadclientRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return DownloadClientConfigResource +func (a *DownloadClientConfigApiService) UpdateApiV1ConfigDownloadclientExecute(r ApiUpdateApiV1ConfigDownloadclientRequest) (*DownloadClientConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *DownloadClientConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DownloadClientConfigApiService.UpdateApiV1ConfigDownloadclient") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/downloadclient/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.downloadClientConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_file_system.go b/lidarr/api_file_system.go new file mode 100644 index 0000000..37aac5f --- /dev/null +++ b/lidarr/api_file_system.go @@ -0,0 +1,407 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// FileSystemApiService FileSystemApi service +type FileSystemApiService service +type ApiGetApiV1FilesystemRequest struct { + ctx context.Context + ApiService *FileSystemApiService + path *string + includeFiles *bool + allowFoldersWithoutTrailingSlashes *bool +} + +func (r ApiGetApiV1FilesystemRequest) Path(path string) ApiGetApiV1FilesystemRequest { + r.path = &path + return r +} + +func (r ApiGetApiV1FilesystemRequest) IncludeFiles(includeFiles bool) ApiGetApiV1FilesystemRequest { + r.includeFiles = &includeFiles + return r +} + +func (r ApiGetApiV1FilesystemRequest) AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes bool) ApiGetApiV1FilesystemRequest { + r.allowFoldersWithoutTrailingSlashes = &allowFoldersWithoutTrailingSlashes + return r +} + +func (r ApiGetApiV1FilesystemRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FilesystemExecute(r) +} + +/* +GetApiV1Filesystem Method for GetApiV1Filesystem + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1Filesystem") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/filesystem" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.path != nil { + localVarQueryParams.Add("path", parameterToString(*r.path, "")) + } + if r.includeFiles != nil { + localVarQueryParams.Add("includeFiles", parameterToString(*r.includeFiles, "")) + } + if r.allowFoldersWithoutTrailingSlashes != nil { + localVarQueryParams.Add("allowFoldersWithoutTrailingSlashes", parameterToString(*r.allowFoldersWithoutTrailingSlashes, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1FilesystemMediafilesRequest struct { + ctx context.Context + ApiService *FileSystemApiService + path *string +} + +func (r ApiGetApiV1FilesystemMediafilesRequest) Path(path string) ApiGetApiV1FilesystemMediafilesRequest { + r.path = &path + return r +} + +func (r ApiGetApiV1FilesystemMediafilesRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FilesystemMediafilesExecute(r) +} + +/* +GetApiV1FilesystemMediafiles Method for GetApiV1FilesystemMediafiles + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FilesystemMediafiles") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/filesystem/mediafiles" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.path != nil { + localVarQueryParams.Add("path", parameterToString(*r.path, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1FilesystemTypeRequest struct { + ctx context.Context + ApiService *FileSystemApiService + path *string +} + +func (r ApiGetApiV1FilesystemTypeRequest) Path(path string) ApiGetApiV1FilesystemTypeRequest { + r.path = &path + return r +} + +func (r ApiGetApiV1FilesystemTypeRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1FilesystemTypeExecute(r) +} + +/* +GetApiV1FilesystemType Method for GetApiV1FilesystemType + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FileSystemApiService.GetApiV1FilesystemType") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/filesystem/type" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.path != nil { + localVarQueryParams.Add("path", parameterToString(*r.path, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_health.go b/lidarr/api_health.go new file mode 100644 index 0000000..95241ea --- /dev/null +++ b/lidarr/api_health.go @@ -0,0 +1,276 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// HealthApiService HealthApi service +type HealthApiService service +type ApiGetApiV1HealthByIdRequest struct { + ctx context.Context + ApiService *HealthApiService + id int32 +} + +func (r ApiGetApiV1HealthByIdRequest) Execute() (*HealthResource, *http.Response, error) { + return r.ApiService.GetApiV1HealthByIdExecute(r) +} + +/* +GetApiV1HealthById Method for GetApiV1HealthById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1HealthByIdRequest +*/ +func (a *HealthApiService) GetApiV1HealthById(ctx context.Context, id int32) ApiGetApiV1HealthByIdRequest { + return ApiGetApiV1HealthByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return HealthResource +func (a *HealthApiService) GetApiV1HealthByIdExecute(r ApiGetApiV1HealthByIdRequest) (*HealthResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HealthResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthApiService.GetApiV1HealthById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/health/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1HealthRequest struct { + ctx context.Context + ApiService *HealthApiService +} + +func (r ApiListApiV1HealthRequest) Execute() ([]*HealthResource, *http.Response, error) { + return r.ApiService.ListApiV1HealthExecute(r) +} + +/* +ListApiV1Health Method for ListApiV1Health + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1HealthRequest +*/ +func (a *HealthApiService) ListApiV1Health(ctx context.Context) ApiListApiV1HealthRequest { + return ApiListApiV1HealthRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []HealthResource +func (a *HealthApiService) ListApiV1HealthExecute(r ApiListApiV1HealthRequest) ([]*HealthResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*HealthResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HealthApiService.ListApiV1Health") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/health" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_history.go b/lidarr/api_history.go new file mode 100644 index 0000000..97d303c --- /dev/null +++ b/lidarr/api_history.go @@ -0,0 +1,640 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "time" +) + + +// HistoryApiService HistoryApi service +type HistoryApiService service +type ApiCreateApiV1HistoryFailedByIdRequest struct { + ctx context.Context + ApiService *HistoryApiService + id int32 +} + +func (r ApiCreateApiV1HistoryFailedByIdRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1HistoryFailedByIdExecute(r) +} + +/* +CreateApiV1HistoryFailedById Method for CreateApiV1HistoryFailedById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiCreateApiV1HistoryFailedByIdRequest +*/ +func (a *HistoryApiService) CreateApiV1HistoryFailedById(ctx context.Context, id int32) ApiCreateApiV1HistoryFailedByIdRequest { + return ApiCreateApiV1HistoryFailedByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *HistoryApiService) CreateApiV1HistoryFailedByIdExecute(r ApiCreateApiV1HistoryFailedByIdRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.CreateApiV1HistoryFailedById") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/history/failed/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1HistoryRequest struct { + ctx context.Context + ApiService *HistoryApiService + includeArtist *bool + includeAlbum *bool + includeTrack *bool +} + +func (r ApiGetApiV1HistoryRequest) IncludeArtist(includeArtist bool) ApiGetApiV1HistoryRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiGetApiV1HistoryRequest) IncludeAlbum(includeAlbum bool) ApiGetApiV1HistoryRequest { + r.includeAlbum = &includeAlbum + return r +} + +func (r ApiGetApiV1HistoryRequest) IncludeTrack(includeTrack bool) ApiGetApiV1HistoryRequest { + r.includeTrack = &includeTrack + return r +} + +func (r ApiGetApiV1HistoryRequest) Execute() (*HistoryResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1HistoryExecute(r) +} + +/* +GetApiV1History Method for GetApiV1History + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1HistoryRequest +*/ +func (a *HistoryApiService) GetApiV1History(ctx context.Context) ApiGetApiV1HistoryRequest { + return ApiGetApiV1HistoryRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HistoryResourcePagingResource +func (a *HistoryApiService) GetApiV1HistoryExecute(r ApiGetApiV1HistoryRequest) (*HistoryResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HistoryResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.GetApiV1History") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/history" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + if r.includeAlbum != nil { + localVarQueryParams.Add("includeAlbum", parameterToString(*r.includeAlbum, "")) + } + if r.includeTrack != nil { + localVarQueryParams.Add("includeTrack", parameterToString(*r.includeTrack, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1HistoryArtistRequest struct { + ctx context.Context + ApiService *HistoryApiService + artistId *int32 + albumId *int32 + eventType *EntityHistoryEventType + includeArtist *bool + includeAlbum *bool + includeTrack *bool +} + +func (r ApiListApiV1HistoryArtistRequest) ArtistId(artistId int32) ApiListApiV1HistoryArtistRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1HistoryArtistRequest) AlbumId(albumId int32) ApiListApiV1HistoryArtistRequest { + r.albumId = &albumId + return r +} + +func (r ApiListApiV1HistoryArtistRequest) EventType(eventType EntityHistoryEventType) ApiListApiV1HistoryArtistRequest { + r.eventType = &eventType + return r +} + +func (r ApiListApiV1HistoryArtistRequest) IncludeArtist(includeArtist bool) ApiListApiV1HistoryArtistRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiListApiV1HistoryArtistRequest) IncludeAlbum(includeAlbum bool) ApiListApiV1HistoryArtistRequest { + r.includeAlbum = &includeAlbum + return r +} + +func (r ApiListApiV1HistoryArtistRequest) IncludeTrack(includeTrack bool) ApiListApiV1HistoryArtistRequest { + r.includeTrack = &includeTrack + return r +} + +func (r ApiListApiV1HistoryArtistRequest) Execute() ([]*HistoryResource, *http.Response, error) { + return r.ApiService.ListApiV1HistoryArtistExecute(r) +} + +/* +ListApiV1HistoryArtist Method for ListApiV1HistoryArtist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1HistoryArtistRequest +*/ +func (a *HistoryApiService) ListApiV1HistoryArtist(ctx context.Context) ApiListApiV1HistoryArtistRequest { + return ApiListApiV1HistoryArtistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []HistoryResource +func (a *HistoryApiService) ListApiV1HistoryArtistExecute(r ApiListApiV1HistoryArtistRequest) ([]*HistoryResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*HistoryResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.ListApiV1HistoryArtist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/history/artist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumId != nil { + localVarQueryParams.Add("albumId", parameterToString(*r.albumId, "")) + } + if r.eventType != nil { + localVarQueryParams.Add("eventType", parameterToString(*r.eventType, "")) + } + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + if r.includeAlbum != nil { + localVarQueryParams.Add("includeAlbum", parameterToString(*r.includeAlbum, "")) + } + if r.includeTrack != nil { + localVarQueryParams.Add("includeTrack", parameterToString(*r.includeTrack, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1HistorySinceRequest struct { + ctx context.Context + ApiService *HistoryApiService + date *time.Time + eventType *EntityHistoryEventType + includeArtist *bool + includeAlbum *bool + includeTrack *bool +} + +func (r ApiListApiV1HistorySinceRequest) Date(date time.Time) ApiListApiV1HistorySinceRequest { + r.date = &date + return r +} + +func (r ApiListApiV1HistorySinceRequest) EventType(eventType EntityHistoryEventType) ApiListApiV1HistorySinceRequest { + r.eventType = &eventType + return r +} + +func (r ApiListApiV1HistorySinceRequest) IncludeArtist(includeArtist bool) ApiListApiV1HistorySinceRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiListApiV1HistorySinceRequest) IncludeAlbum(includeAlbum bool) ApiListApiV1HistorySinceRequest { + r.includeAlbum = &includeAlbum + return r +} + +func (r ApiListApiV1HistorySinceRequest) IncludeTrack(includeTrack bool) ApiListApiV1HistorySinceRequest { + r.includeTrack = &includeTrack + return r +} + +func (r ApiListApiV1HistorySinceRequest) Execute() ([]*HistoryResource, *http.Response, error) { + return r.ApiService.ListApiV1HistorySinceExecute(r) +} + +/* +ListApiV1HistorySince Method for ListApiV1HistorySince + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1HistorySinceRequest +*/ +func (a *HistoryApiService) ListApiV1HistorySince(ctx context.Context) ApiListApiV1HistorySinceRequest { + return ApiListApiV1HistorySinceRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []HistoryResource +func (a *HistoryApiService) ListApiV1HistorySinceExecute(r ApiListApiV1HistorySinceRequest) ([]*HistoryResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*HistoryResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HistoryApiService.ListApiV1HistorySince") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/history/since" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.date != nil { + localVarQueryParams.Add("date", parameterToString(*r.date, "")) + } + if r.eventType != nil { + localVarQueryParams.Add("eventType", parameterToString(*r.eventType, "")) + } + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + if r.includeAlbum != nil { + localVarQueryParams.Add("includeAlbum", parameterToString(*r.includeAlbum, "")) + } + if r.includeTrack != nil { + localVarQueryParams.Add("includeTrack", parameterToString(*r.includeTrack, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_host_config.go b/lidarr/api_host_config.go new file mode 100644 index 0000000..8f84b9f --- /dev/null +++ b/lidarr/api_host_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// HostConfigApiService HostConfigApi service +type HostConfigApiService service +type ApiGetApiV1ConfigHostRequest struct { + ctx context.Context + ApiService *HostConfigApiService +} + +func (r ApiGetApiV1ConfigHostRequest) Execute() (*HostConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigHostExecute(r) +} + +/* +GetApiV1ConfigHost Method for GetApiV1ConfigHost + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigHostRequest +*/ +func (a *HostConfigApiService) GetApiV1ConfigHost(ctx context.Context) ApiGetApiV1ConfigHostRequest { + return ApiGetApiV1ConfigHostRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return HostConfigResource +func (a *HostConfigApiService) GetApiV1ConfigHostExecute(r ApiGetApiV1ConfigHostRequest) (*HostConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HostConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.GetApiV1ConfigHost") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/host" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigHostByIdRequest struct { + ctx context.Context + ApiService *HostConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigHostByIdRequest) Execute() (*HostConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigHostByIdExecute(r) +} + +/* +GetApiV1ConfigHostById Method for GetApiV1ConfigHostById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigHostByIdRequest +*/ +func (a *HostConfigApiService) GetApiV1ConfigHostById(ctx context.Context, id int32) ApiGetApiV1ConfigHostByIdRequest { + return ApiGetApiV1ConfigHostByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return HostConfigResource +func (a *HostConfigApiService) GetApiV1ConfigHostByIdExecute(r ApiGetApiV1ConfigHostByIdRequest) (*HostConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HostConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.GetApiV1ConfigHostById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/host/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigHostRequest struct { + ctx context.Context + ApiService *HostConfigApiService + id string + hostConfigResource *HostConfigResource +} + +func (r ApiUpdateApiV1ConfigHostRequest) HostConfigResource(hostConfigResource HostConfigResource) ApiUpdateApiV1ConfigHostRequest { + r.hostConfigResource = &hostConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigHostRequest) Execute() (*HostConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigHostExecute(r) +} + +/* +UpdateApiV1ConfigHost Method for UpdateApiV1ConfigHost + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigHostRequest +*/ +func (a *HostConfigApiService) UpdateApiV1ConfigHost(ctx context.Context, id string) ApiUpdateApiV1ConfigHostRequest { + return ApiUpdateApiV1ConfigHostRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return HostConfigResource +func (a *HostConfigApiService) UpdateApiV1ConfigHostExecute(r ApiUpdateApiV1ConfigHostRequest) (*HostConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *HostConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "HostConfigApiService.UpdateApiV1ConfigHost") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/host/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.hostConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_import_list.go b/lidarr/api_import_list.go new file mode 100644 index 0000000..ec35bdb --- /dev/null +++ b/lidarr/api_import_list.go @@ -0,0 +1,1144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ImportListApiService ImportListApi service +type ImportListApiService service +type ApiCreateApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService + importListResource *ImportListResource +} + +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) +} + +/* +CreateApiV1Importlist Method for CreateApiV1Importlist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ImportlistRequest +*/ +func (a *ImportListApiService) CreateApiV1Importlist(ctx context.Context) ApiCreateApiV1ImportlistRequest { + return ApiCreateApiV1ImportlistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ImportListResource +func (a *ImportListApiService) CreateApiV1ImportlistExecute(r ApiCreateApiV1ImportlistRequest) (*ImportListResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.CreateApiV1Importlist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiCreateApiV1ImportlistActionByNameRequest struct { + ctx context.Context + ApiService *ImportListApiService + name string + importListResource *ImportListResource +} + +func (r ApiCreateApiV1ImportlistActionByNameRequest) ImportListResource(importListResource ImportListResource) ApiCreateApiV1ImportlistActionByNameRequest { + r.importListResource = &importListResource + return r +} + +func (r ApiCreateApiV1ImportlistActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1ImportlistActionByNameExecute(r) +} + +/* +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 +*/ +func (a *ImportListApiService) CreateApiV1ImportlistActionByName(ctx context.Context, name string) ApiCreateApiV1ImportlistActionByNameRequest { + return ApiCreateApiV1ImportlistActionByNameRequest{ + ApiService: a, + ctx: ctx, + name: name, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/action/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", url.PathEscape(parameterToString(r.name, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService + id int32 +} + +func (r ApiDeleteApiV1ImportlistRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ImportlistExecute(r) +} + +/* +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 +*/ +func (a *ImportListApiService) DeleteApiV1Importlist(ctx context.Context, id int32) ApiDeleteApiV1ImportlistRequest { + return ApiDeleteApiV1ImportlistRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1ImportlistByIdRequest struct { + ctx context.Context + ApiService *ImportListApiService + id int32 +} + +func (r ApiGetApiV1ImportlistByIdRequest) Execute() (*ImportListResource, *http.Response, error) { + return r.ApiService.GetApiV1ImportlistByIdExecute(r) +} + +/* +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 +*/ +func (a *ImportListApiService) GetApiV1ImportlistById(ctx context.Context, id int32) ApiGetApiV1ImportlistByIdRequest { + return ApiGetApiV1ImportlistByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ImportListResource +func (a *ImportListApiService) GetApiV1ImportlistByIdExecute(r ApiGetApiV1ImportlistByIdRequest) (*ImportListResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.GetApiV1ImportlistById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService +} + +func (r ApiListApiV1ImportlistRequest) Execute() ([]*ImportListResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportlistExecute(r) +} + +/* +ListApiV1Importlist Method for ListApiV1Importlist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ImportlistRequest +*/ +func (a *ImportListApiService) ListApiV1Importlist(ctx context.Context) ApiListApiV1ImportlistRequest { + return ApiListApiV1ImportlistRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ImportListResource +func (a *ImportListApiService) ListApiV1ImportlistExecute(r ApiListApiV1ImportlistRequest) ([]*ImportListResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ImportListResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1Importlist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ImportlistSchemaRequest struct { + ctx context.Context + ApiService *ImportListApiService +} + +func (r ApiListApiV1ImportlistSchemaRequest) Execute() ([]*ImportListResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportlistSchemaExecute(r) +} + +/* +ListApiV1ImportlistSchema Method for ListApiV1ImportlistSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ImportlistSchemaRequest +*/ +func (a *ImportListApiService) ListApiV1ImportlistSchema(ctx context.Context) ApiListApiV1ImportlistSchemaRequest { + return ApiListApiV1ImportlistSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ImportListResource +func (a *ImportListApiService) ListApiV1ImportlistSchemaExecute(r ApiListApiV1ImportlistSchemaRequest) ([]*ImportListResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ImportListResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.ListApiV1ImportlistSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiTestApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService + importListResource *ImportListResource +} + +func (r ApiTestApiV1ImportlistRequest) ImportListResource(importListResource ImportListResource) ApiTestApiV1ImportlistRequest { + r.importListResource = &importListResource + return r +} + +func (r ApiTestApiV1ImportlistRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1ImportlistExecute(r) +} + +/* +TestApiV1Importlist Method for TestApiV1Importlist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestApiV1Importlist") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/test" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiTestallApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService +} + +func (r ApiTestallApiV1ImportlistRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1ImportlistExecute(r) +} + +/* +TestallApiV1Importlist Method for TestallApiV1Importlist + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.TestallApiV1Importlist") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/testall" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1ImportlistRequest struct { + ctx context.Context + ApiService *ImportListApiService + id string + importListResource *ImportListResource +} + +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) +} + +/* +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 +*/ +func (a *ImportListApiService) UpdateApiV1Importlist(ctx context.Context, id string) ApiUpdateApiV1ImportlistRequest { + return ApiUpdateApiV1ImportlistRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ImportListResource +func (a *ImportListApiService) UpdateApiV1ImportlistExecute(r ApiUpdateApiV1ImportlistRequest) (*ImportListResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListApiService.UpdateApiV1Importlist") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlist/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_import_list_exclusion.go b/lidarr/api_import_list_exclusion.go new file mode 100644 index 0000000..a8ad39a --- /dev/null +++ b/lidarr/api_import_list_exclusion.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ImportListExclusionApiService ImportListExclusionApi service +type ImportListExclusionApiService service +type ApiCreateApiV1ImportlistexclusionRequest struct { + ctx context.Context + ApiService *ImportListExclusionApiService + importListExclusionResource *ImportListExclusionResource +} + +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) +} + +/* +CreateApiV1Importlistexclusion Method for CreateApiV1Importlistexclusion + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ImportlistexclusionRequest +*/ +func (a *ImportListExclusionApiService) CreateApiV1Importlistexclusion(ctx context.Context) ApiCreateApiV1ImportlistexclusionRequest { + return ApiCreateApiV1ImportlistexclusionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ImportListExclusionResource +func (a *ImportListExclusionApiService) CreateApiV1ImportlistexclusionExecute(r ApiCreateApiV1ImportlistexclusionRequest) (*ImportListExclusionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListExclusionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.CreateApiV1Importlistexclusion") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlistexclusion" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListExclusionResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1ImportlistexclusionRequest struct { + ctx context.Context + ApiService *ImportListExclusionApiService + id int32 +} + +func (r ApiDeleteApiV1ImportlistexclusionRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ImportlistexclusionExecute(r) +} + +/* +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 +*/ +func (a *ImportListExclusionApiService) DeleteApiV1Importlistexclusion(ctx context.Context, id int32) ApiDeleteApiV1ImportlistexclusionRequest { + return ApiDeleteApiV1ImportlistexclusionRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlistexclusion/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1ImportlistexclusionByIdRequest struct { + ctx context.Context + ApiService *ImportListExclusionApiService + id int32 +} + +func (r ApiGetApiV1ImportlistexclusionByIdRequest) Execute() (*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.GetApiV1ImportlistexclusionByIdExecute(r) +} + +/* +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 +*/ +func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionById(ctx context.Context, id int32) ApiGetApiV1ImportlistexclusionByIdRequest { + return ApiGetApiV1ImportlistexclusionByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ImportListExclusionResource +func (a *ImportListExclusionApiService) GetApiV1ImportlistexclusionByIdExecute(r ApiGetApiV1ImportlistexclusionByIdRequest) (*ImportListExclusionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListExclusionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.GetApiV1ImportlistexclusionById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlistexclusion/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ImportlistexclusionRequest struct { + ctx context.Context + ApiService *ImportListExclusionApiService +} + +func (r ApiListApiV1ImportlistexclusionRequest) Execute() ([]*ImportListExclusionResource, *http.Response, error) { + return r.ApiService.ListApiV1ImportlistexclusionExecute(r) +} + +/* +ListApiV1Importlistexclusion Method for ListApiV1Importlistexclusion + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ImportlistexclusionRequest +*/ +func (a *ImportListExclusionApiService) ListApiV1Importlistexclusion(ctx context.Context) ApiListApiV1ImportlistexclusionRequest { + return ApiListApiV1ImportlistexclusionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ImportListExclusionResource +func (a *ImportListExclusionApiService) ListApiV1ImportlistexclusionExecute(r ApiListApiV1ImportlistexclusionRequest) ([]*ImportListExclusionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ImportListExclusionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.ListApiV1Importlistexclusion") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlistexclusion" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ImportlistexclusionRequest struct { + ctx context.Context + ApiService *ImportListExclusionApiService + id string + importListExclusionResource *ImportListExclusionResource +} + +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) +} + +/* +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 +*/ +func (a *ImportListExclusionApiService) UpdateApiV1Importlistexclusion(ctx context.Context, id string) ApiUpdateApiV1ImportlistexclusionRequest { + return ApiUpdateApiV1ImportlistexclusionRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ImportListExclusionResource +func (a *ImportListExclusionApiService) UpdateApiV1ImportlistexclusionExecute(r ApiUpdateApiV1ImportlistexclusionRequest) (*ImportListExclusionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ImportListExclusionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ImportListExclusionApiService.UpdateApiV1Importlistexclusion") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/importlistexclusion/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.importListExclusionResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_indexer.go b/lidarr/api_indexer.go new file mode 100644 index 0000000..d5d227d --- /dev/null +++ b/lidarr/api_indexer.go @@ -0,0 +1,1144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// IndexerApiService IndexerApi service +type IndexerApiService service +type ApiCreateApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService + indexerResource *IndexerResource +} + +func (r ApiCreateApiV1IndexerRequest) IndexerResource(indexerResource IndexerResource) ApiCreateApiV1IndexerRequest { + r.indexerResource = &indexerResource + return r +} + +func (r ApiCreateApiV1IndexerRequest) Execute() (*IndexerResource, *http.Response, error) { + return r.ApiService.CreateApiV1IndexerExecute(r) +} + +/* +CreateApiV1Indexer Method for CreateApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1IndexerRequest +*/ +func (a *IndexerApiService) CreateApiV1Indexer(ctx context.Context) ApiCreateApiV1IndexerRequest { + return ApiCreateApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return IndexerResource +func (a *IndexerApiService) CreateApiV1IndexerExecute(r ApiCreateApiV1IndexerRequest) (*IndexerResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.CreateApiV1Indexer") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.indexerResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiCreateApiV1IndexerActionByNameRequest struct { + ctx context.Context + ApiService *IndexerApiService + name string + indexerResource *IndexerResource +} + +func (r ApiCreateApiV1IndexerActionByNameRequest) IndexerResource(indexerResource IndexerResource) ApiCreateApiV1IndexerActionByNameRequest { + r.indexerResource = &indexerResource + return r +} + +func (r ApiCreateApiV1IndexerActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1IndexerActionByNameExecute(r) +} + +/* +CreateApiV1IndexerActionByName Method for CreateApiV1IndexerActionByName + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param name + @return ApiCreateApiV1IndexerActionByNameRequest +*/ +func (a *IndexerApiService) CreateApiV1IndexerActionByName(ctx context.Context, name string) ApiCreateApiV1IndexerActionByNameRequest { + return ApiCreateApiV1IndexerActionByNameRequest{ + ApiService: a, + ctx: ctx, + name: name, + } +} + +// Execute executes the request +func (a *IndexerApiService) CreateApiV1IndexerActionByNameExecute(r ApiCreateApiV1IndexerActionByNameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.CreateApiV1IndexerActionByName") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/action/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", url.PathEscape(parameterToString(r.name, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.indexerResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService + id int32 +} + +func (r ApiDeleteApiV1IndexerRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1IndexerExecute(r) +} + +/* +DeleteApiV1Indexer Method for DeleteApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1IndexerRequest +*/ +func (a *IndexerApiService) DeleteApiV1Indexer(ctx context.Context, id int32) ApiDeleteApiV1IndexerRequest { + return ApiDeleteApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *IndexerApiService) DeleteApiV1IndexerExecute(r ApiDeleteApiV1IndexerRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.DeleteApiV1Indexer") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1IndexerByIdRequest struct { + ctx context.Context + ApiService *IndexerApiService + id int32 +} + +func (r ApiGetApiV1IndexerByIdRequest) Execute() (*IndexerResource, *http.Response, error) { + return r.ApiService.GetApiV1IndexerByIdExecute(r) +} + +/* +GetApiV1IndexerById Method for GetApiV1IndexerById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1IndexerByIdRequest +*/ +func (a *IndexerApiService) GetApiV1IndexerById(ctx context.Context, id int32) ApiGetApiV1IndexerByIdRequest { + return ApiGetApiV1IndexerByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return IndexerResource +func (a *IndexerApiService) GetApiV1IndexerByIdExecute(r ApiGetApiV1IndexerByIdRequest) (*IndexerResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.GetApiV1IndexerById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService +} + +func (r ApiListApiV1IndexerRequest) Execute() ([]*IndexerResource, *http.Response, error) { + return r.ApiService.ListApiV1IndexerExecute(r) +} + +/* +ListApiV1Indexer Method for ListApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1IndexerRequest +*/ +func (a *IndexerApiService) ListApiV1Indexer(ctx context.Context) ApiListApiV1IndexerRequest { + return ApiListApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []IndexerResource +func (a *IndexerApiService) ListApiV1IndexerExecute(r ApiListApiV1IndexerRequest) ([]*IndexerResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*IndexerResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.ListApiV1Indexer") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1IndexerSchemaRequest struct { + ctx context.Context + ApiService *IndexerApiService +} + +func (r ApiListApiV1IndexerSchemaRequest) Execute() ([]*IndexerResource, *http.Response, error) { + return r.ApiService.ListApiV1IndexerSchemaExecute(r) +} + +/* +ListApiV1IndexerSchema Method for ListApiV1IndexerSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1IndexerSchemaRequest +*/ +func (a *IndexerApiService) ListApiV1IndexerSchema(ctx context.Context) ApiListApiV1IndexerSchemaRequest { + return ApiListApiV1IndexerSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []IndexerResource +func (a *IndexerApiService) ListApiV1IndexerSchemaExecute(r ApiListApiV1IndexerSchemaRequest) ([]*IndexerResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*IndexerResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.ListApiV1IndexerSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiTestApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService + indexerResource *IndexerResource +} + +func (r ApiTestApiV1IndexerRequest) IndexerResource(indexerResource IndexerResource) ApiTestApiV1IndexerRequest { + r.indexerResource = &indexerResource + return r +} + +func (r ApiTestApiV1IndexerRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1IndexerExecute(r) +} + +/* +TestApiV1Indexer Method for TestApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestApiV1IndexerRequest +*/ +func (a *IndexerApiService) TestApiV1Indexer(ctx context.Context) ApiTestApiV1IndexerRequest { + return ApiTestApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *IndexerApiService) TestApiV1IndexerExecute(r ApiTestApiV1IndexerRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.TestApiV1Indexer") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/test" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.indexerResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiTestallApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService +} + +func (r ApiTestallApiV1IndexerRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1IndexerExecute(r) +} + +/* +TestallApiV1Indexer Method for TestallApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestallApiV1IndexerRequest +*/ +func (a *IndexerApiService) TestallApiV1Indexer(ctx context.Context) ApiTestallApiV1IndexerRequest { + return ApiTestallApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *IndexerApiService) TestallApiV1IndexerExecute(r ApiTestallApiV1IndexerRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.TestallApiV1Indexer") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/testall" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1IndexerRequest struct { + ctx context.Context + ApiService *IndexerApiService + id string + indexerResource *IndexerResource +} + +func (r ApiUpdateApiV1IndexerRequest) IndexerResource(indexerResource IndexerResource) ApiUpdateApiV1IndexerRequest { + r.indexerResource = &indexerResource + return r +} + +func (r ApiUpdateApiV1IndexerRequest) Execute() (*IndexerResource, *http.Response, error) { + return r.ApiService.UpdateApiV1IndexerExecute(r) +} + +/* +UpdateApiV1Indexer Method for UpdateApiV1Indexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1IndexerRequest +*/ +func (a *IndexerApiService) UpdateApiV1Indexer(ctx context.Context, id string) ApiUpdateApiV1IndexerRequest { + return ApiUpdateApiV1IndexerRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return IndexerResource +func (a *IndexerApiService) UpdateApiV1IndexerExecute(r ApiUpdateApiV1IndexerRequest) (*IndexerResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerApiService.UpdateApiV1Indexer") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/indexer/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.indexerResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_indexer_config.go b/lidarr/api_indexer_config.go new file mode 100644 index 0000000..c81cf75 --- /dev/null +++ b/lidarr/api_indexer_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// IndexerConfigApiService IndexerConfigApi service +type IndexerConfigApiService service +type ApiGetApiV1ConfigIndexerRequest struct { + ctx context.Context + ApiService *IndexerConfigApiService +} + +func (r ApiGetApiV1ConfigIndexerRequest) Execute() (*IndexerConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigIndexerExecute(r) +} + +/* +GetApiV1ConfigIndexer Method for GetApiV1ConfigIndexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigIndexerRequest +*/ +func (a *IndexerConfigApiService) GetApiV1ConfigIndexer(ctx context.Context) ApiGetApiV1ConfigIndexerRequest { + return ApiGetApiV1ConfigIndexerRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return IndexerConfigResource +func (a *IndexerConfigApiService) GetApiV1ConfigIndexerExecute(r ApiGetApiV1ConfigIndexerRequest) (*IndexerConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.GetApiV1ConfigIndexer") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/indexer" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigIndexerByIdRequest struct { + ctx context.Context + ApiService *IndexerConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigIndexerByIdRequest) Execute() (*IndexerConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigIndexerByIdExecute(r) +} + +/* +GetApiV1ConfigIndexerById Method for GetApiV1ConfigIndexerById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigIndexerByIdRequest +*/ +func (a *IndexerConfigApiService) GetApiV1ConfigIndexerById(ctx context.Context, id int32) ApiGetApiV1ConfigIndexerByIdRequest { + return ApiGetApiV1ConfigIndexerByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return IndexerConfigResource +func (a *IndexerConfigApiService) GetApiV1ConfigIndexerByIdExecute(r ApiGetApiV1ConfigIndexerByIdRequest) (*IndexerConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.GetApiV1ConfigIndexerById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/indexer/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigIndexerRequest struct { + ctx context.Context + ApiService *IndexerConfigApiService + id string + indexerConfigResource *IndexerConfigResource +} + +func (r ApiUpdateApiV1ConfigIndexerRequest) IndexerConfigResource(indexerConfigResource IndexerConfigResource) ApiUpdateApiV1ConfigIndexerRequest { + r.indexerConfigResource = &indexerConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigIndexerRequest) Execute() (*IndexerConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigIndexerExecute(r) +} + +/* +UpdateApiV1ConfigIndexer Method for UpdateApiV1ConfigIndexer + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigIndexerRequest +*/ +func (a *IndexerConfigApiService) UpdateApiV1ConfigIndexer(ctx context.Context, id string) ApiUpdateApiV1ConfigIndexerRequest { + return ApiUpdateApiV1ConfigIndexerRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return IndexerConfigResource +func (a *IndexerConfigApiService) UpdateApiV1ConfigIndexerExecute(r ApiUpdateApiV1ConfigIndexerRequest) (*IndexerConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *IndexerConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IndexerConfigApiService.UpdateApiV1ConfigIndexer") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/indexer/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.indexerConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_initialize_js_.go b/lidarr/api_initialize_js_.go new file mode 100644 index 0000000..d5c2551 --- /dev/null +++ b/lidarr/api_initialize_js_.go @@ -0,0 +1,136 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// InitializeJsApiService InitializeJsApi service +type InitializeJsApiService service +type ApiGetInitializeJsRequest struct { + ctx context.Context + ApiService *InitializeJsApiService +} + +func (r ApiGetInitializeJsRequest) Execute() (*http.Response, error) { + return r.ApiService.GetInitializeJsExecute(r) +} + +/* +GetInitializeJs Method for GetInitializeJs + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetInitializeJsRequest +*/ +func (a *InitializeJsApiService) GetInitializeJs(ctx context.Context) ApiGetInitializeJsRequest { + return ApiGetInitializeJsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *InitializeJsApiService) GetInitializeJsExecute(r ApiGetInitializeJsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "InitializeJsApiService.GetInitializeJs") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/initialize.js" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_language.go b/lidarr/api_language.go new file mode 100644 index 0000000..1ea5ff4 --- /dev/null +++ b/lidarr/api_language.go @@ -0,0 +1,276 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// LanguageApiService LanguageApi service +type LanguageApiService service +type ApiGetApiV1LanguageByIdRequest struct { + ctx context.Context + ApiService *LanguageApiService + id int32 +} + +func (r ApiGetApiV1LanguageByIdRequest) Execute() (*LanguageResource, *http.Response, error) { + return r.ApiService.GetApiV1LanguageByIdExecute(r) +} + +/* +GetApiV1LanguageById Method for GetApiV1LanguageById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1LanguageByIdRequest +*/ +func (a *LanguageApiService) GetApiV1LanguageById(ctx context.Context, id int32) ApiGetApiV1LanguageByIdRequest { + return ApiGetApiV1LanguageByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return LanguageResource +func (a *LanguageApiService) GetApiV1LanguageByIdExecute(r ApiGetApiV1LanguageByIdRequest) (*LanguageResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *LanguageResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageApiService.GetApiV1LanguageById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/language/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1LanguageRequest struct { + ctx context.Context + ApiService *LanguageApiService +} + +func (r ApiListApiV1LanguageRequest) Execute() ([]*LanguageResource, *http.Response, error) { + return r.ApiService.ListApiV1LanguageExecute(r) +} + +/* +ListApiV1Language Method for ListApiV1Language + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1LanguageRequest +*/ +func (a *LanguageApiService) ListApiV1Language(ctx context.Context) ApiListApiV1LanguageRequest { + return ApiListApiV1LanguageRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []LanguageResource +func (a *LanguageApiService) ListApiV1LanguageExecute(r ApiListApiV1LanguageRequest) ([]*LanguageResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*LanguageResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LanguageApiService.ListApiV1Language") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/language" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_localization.go b/lidarr/api_localization.go new file mode 100644 index 0000000..17a0594 --- /dev/null +++ b/lidarr/api_localization.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// LocalizationApiService LocalizationApi service +type LocalizationApiService service +type ApiGetApiV1LocalizationRequest struct { + ctx context.Context + ApiService *LocalizationApiService +} + +func (r ApiGetApiV1LocalizationRequest) Execute() (string, *http.Response, error) { + return r.ApiService.GetApiV1LocalizationExecute(r) +} + +/* +GetApiV1Localization Method for GetApiV1Localization + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1LocalizationRequest +*/ +func (a *LocalizationApiService) GetApiV1Localization(ctx context.Context) ApiGetApiV1LocalizationRequest { + return ApiGetApiV1LocalizationRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return string +func (a *LocalizationApiService) GetApiV1LocalizationExecute(r ApiGetApiV1LocalizationRequest) (string, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue string + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LocalizationApiService.GetApiV1Localization") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/localization" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_log.go b/lidarr/api_log.go new file mode 100644 index 0000000..ce8d4b6 --- /dev/null +++ b/lidarr/api_log.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// LogApiService LogApi service +type LogApiService service +type ApiGetApiV1LogRequest struct { + ctx context.Context + ApiService *LogApiService +} + +func (r ApiGetApiV1LogRequest) Execute() (*LogResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1LogExecute(r) +} + +/* +GetApiV1Log Method for GetApiV1Log + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1LogRequest +*/ +func (a *LogApiService) GetApiV1Log(ctx context.Context) ApiGetApiV1LogRequest { + return ApiGetApiV1LogRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return LogResourcePagingResource +func (a *LogApiService) GetApiV1LogExecute(r ApiGetApiV1LogRequest) (*LogResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *LogResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogApiService.GetApiV1Log") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/log" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_log_file.go b/lidarr/api_log_file.go new file mode 100644 index 0000000..f351786 --- /dev/null +++ b/lidarr/api_log_file.go @@ -0,0 +1,265 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// LogFileApiService LogFileApi service +type LogFileApiService service +type ApiGetApiV1LogFileByFilenameRequest struct { + ctx context.Context + ApiService *LogFileApiService + filename string +} + +func (r ApiGetApiV1LogFileByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1LogFileByFilenameExecute(r) +} + +/* +GetApiV1LogFileByFilename Method for GetApiV1LogFileByFilename + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param filename + @return ApiGetApiV1LogFileByFilenameRequest +*/ +func (a *LogFileApiService) GetApiV1LogFileByFilename(ctx context.Context, filename string) ApiGetApiV1LogFileByFilenameRequest { + return ApiGetApiV1LogFileByFilenameRequest{ + ApiService: a, + ctx: ctx, + filename: filename, + } +} + +// Execute executes the request +func (a *LogFileApiService) GetApiV1LogFileByFilenameExecute(r ApiGetApiV1LogFileByFilenameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileApiService.GetApiV1LogFileByFilename") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/log/file/{filename}" + localVarPath = strings.Replace(localVarPath, "{"+"filename"+"}", url.PathEscape(parameterToString(r.filename, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiListApiV1LogFileRequest struct { + ctx context.Context + ApiService *LogFileApiService +} + +func (r ApiListApiV1LogFileRequest) Execute() ([]*LogFileResource, *http.Response, error) { + return r.ApiService.ListApiV1LogFileExecute(r) +} + +/* +ListApiV1LogFile Method for ListApiV1LogFile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1LogFileRequest +*/ +func (a *LogFileApiService) ListApiV1LogFile(ctx context.Context) ApiListApiV1LogFileRequest { + return ApiListApiV1LogFileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []LogFileResource +func (a *LogFileApiService) ListApiV1LogFileExecute(r ApiListApiV1LogFileRequest) ([]*LogFileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*LogFileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "LogFileApiService.ListApiV1LogFile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/log/file" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_manual_import.go b/lidarr/api_manual_import.go new file mode 100644 index 0000000..299fc64 --- /dev/null +++ b/lidarr/api_manual_import.go @@ -0,0 +1,313 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// ManualImportApiService ManualImportApi service +type ManualImportApiService service +type ApiListApiV1ManualimportRequest struct { + ctx context.Context + ApiService *ManualImportApiService + folder *string + downloadId *string + artistId *int32 + filterExistingFiles *bool + replaceExistingFiles *bool +} + +func (r ApiListApiV1ManualimportRequest) Folder(folder string) ApiListApiV1ManualimportRequest { + r.folder = &folder + return r +} + +func (r ApiListApiV1ManualimportRequest) DownloadId(downloadId string) ApiListApiV1ManualimportRequest { + r.downloadId = &downloadId + return r +} + +func (r ApiListApiV1ManualimportRequest) ArtistId(artistId int32) ApiListApiV1ManualimportRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1ManualimportRequest) FilterExistingFiles(filterExistingFiles bool) ApiListApiV1ManualimportRequest { + r.filterExistingFiles = &filterExistingFiles + return r +} + +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) +} + +/* +ListApiV1Manualimport Method for ListApiV1Manualimport + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ManualimportRequest +*/ +func (a *ManualImportApiService) ListApiV1Manualimport(ctx context.Context) ApiListApiV1ManualimportRequest { + return ApiListApiV1ManualimportRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ManualImportResource +func (a *ManualImportApiService) ListApiV1ManualimportExecute(r ApiListApiV1ManualimportRequest) ([]*ManualImportResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ManualImportResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.ListApiV1Manualimport") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/manualimport" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.folder != nil { + localVarQueryParams.Add("folder", parameterToString(*r.folder, "")) + } + if r.downloadId != nil { + localVarQueryParams.Add("downloadId", parameterToString(*r.downloadId, "")) + } + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.filterExistingFiles != nil { + localVarQueryParams.Add("filterExistingFiles", parameterToString(*r.filterExistingFiles, "")) + } + if r.replaceExistingFiles != nil { + localVarQueryParams.Add("replaceExistingFiles", parameterToString(*r.replaceExistingFiles, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiPutApiV1ManualimportRequest struct { + ctx context.Context + ApiService *ManualImportApiService + manualImportResource *[]ManualImportResource +} + +func (r ApiPutApiV1ManualimportRequest) ManualImportResource(manualImportResource []ManualImportResource) ApiPutApiV1ManualimportRequest { + r.manualImportResource = &manualImportResource + return r +} + +func (r ApiPutApiV1ManualimportRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1ManualimportExecute(r) +} + +/* +PutApiV1Manualimport Method for PutApiV1Manualimport + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ManualImportApiService.PutApiV1Manualimport") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/manualimport" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.manualImportResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_media_cover.go b/lidarr/api_media_cover.go new file mode 100644 index 0000000..46ce093 --- /dev/null +++ b/lidarr/api_media_cover.go @@ -0,0 +1,266 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MediaCoverApiService MediaCoverApi service +type MediaCoverApiService service +type ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest struct { + ctx context.Context + ApiService *MediaCoverApiService + albumId int32 + filename string +} + +func (r ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1MediacoverAlbumalbumidByFilenameExecute(r) +} + +/* +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 +*/ +func (a *MediaCoverApiService) GetApiV1MediacoverAlbumalbumidByFilename(ctx context.Context, albumId int32, filename string) ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest { + return ApiGetApiV1MediacoverAlbumalbumidByFilenameRequest{ + ApiService: a, + ctx: ctx, + albumId: albumId, + filename: filename, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/mediacover/album/{albumId}/{filename}" + localVarPath = strings.Replace(localVarPath, "{"+"albumId"+"}", url.PathEscape(parameterToString(r.albumId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"filename"+"}", url.PathEscape(parameterToString(r.filename, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1MediacoverArtistartistidByFilenameRequest struct { + ctx context.Context + ApiService *MediaCoverApiService + artistId int32 + filename string +} + +func (r ApiGetApiV1MediacoverArtistartistidByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1MediacoverArtistartistidByFilenameExecute(r) +} + +/* +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 +*/ +func (a *MediaCoverApiService) GetApiV1MediacoverArtistartistidByFilename(ctx context.Context, artistId int32, filename string) ApiGetApiV1MediacoverArtistartistidByFilenameRequest { + return ApiGetApiV1MediacoverArtistartistidByFilenameRequest{ + ApiService: a, + ctx: ctx, + artistId: artistId, + filename: filename, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/mediacover/artist/{artistId}/{filename}" + localVarPath = strings.Replace(localVarPath, "{"+"artistId"+"}", url.PathEscape(parameterToString(r.artistId, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"filename"+"}", url.PathEscape(parameterToString(r.filename, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_media_management_config.go b/lidarr/api_media_management_config.go new file mode 100644 index 0000000..ecc26ce --- /dev/null +++ b/lidarr/api_media_management_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MediaManagementConfigApiService MediaManagementConfigApi service +type MediaManagementConfigApiService service +type ApiGetApiV1ConfigMediamanagementRequest struct { + ctx context.Context + ApiService *MediaManagementConfigApiService +} + +func (r ApiGetApiV1ConfigMediamanagementRequest) Execute() (*MediaManagementConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigMediamanagementExecute(r) +} + +/* +GetApiV1ConfigMediamanagement Method for GetApiV1ConfigMediamanagement + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigMediamanagementRequest +*/ +func (a *MediaManagementConfigApiService) GetApiV1ConfigMediamanagement(ctx context.Context) ApiGetApiV1ConfigMediamanagementRequest { + return ApiGetApiV1ConfigMediamanagementRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return MediaManagementConfigResource +func (a *MediaManagementConfigApiService) GetApiV1ConfigMediamanagementExecute(r ApiGetApiV1ConfigMediamanagementRequest) (*MediaManagementConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MediaManagementConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.GetApiV1ConfigMediamanagement") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/mediamanagement" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigMediamanagementByIdRequest struct { + ctx context.Context + ApiService *MediaManagementConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigMediamanagementByIdRequest) Execute() (*MediaManagementConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigMediamanagementByIdExecute(r) +} + +/* +GetApiV1ConfigMediamanagementById Method for GetApiV1ConfigMediamanagementById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigMediamanagementByIdRequest +*/ +func (a *MediaManagementConfigApiService) GetApiV1ConfigMediamanagementById(ctx context.Context, id int32) ApiGetApiV1ConfigMediamanagementByIdRequest { + return ApiGetApiV1ConfigMediamanagementByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MediaManagementConfigResource +func (a *MediaManagementConfigApiService) GetApiV1ConfigMediamanagementByIdExecute(r ApiGetApiV1ConfigMediamanagementByIdRequest) (*MediaManagementConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MediaManagementConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.GetApiV1ConfigMediamanagementById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/mediamanagement/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigMediamanagementRequest struct { + ctx context.Context + ApiService *MediaManagementConfigApiService + id string + mediaManagementConfigResource *MediaManagementConfigResource +} + +func (r ApiUpdateApiV1ConfigMediamanagementRequest) MediaManagementConfigResource(mediaManagementConfigResource MediaManagementConfigResource) ApiUpdateApiV1ConfigMediamanagementRequest { + r.mediaManagementConfigResource = &mediaManagementConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigMediamanagementRequest) Execute() (*MediaManagementConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigMediamanagementExecute(r) +} + +/* +UpdateApiV1ConfigMediamanagement Method for UpdateApiV1ConfigMediamanagement + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigMediamanagementRequest +*/ +func (a *MediaManagementConfigApiService) UpdateApiV1ConfigMediamanagement(ctx context.Context, id string) ApiUpdateApiV1ConfigMediamanagementRequest { + return ApiUpdateApiV1ConfigMediamanagementRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MediaManagementConfigResource +func (a *MediaManagementConfigApiService) UpdateApiV1ConfigMediamanagementExecute(r ApiUpdateApiV1ConfigMediamanagementRequest) (*MediaManagementConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MediaManagementConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MediaManagementConfigApiService.UpdateApiV1ConfigMediamanagement") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/mediamanagement/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.mediaManagementConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_metadata.go b/lidarr/api_metadata.go new file mode 100644 index 0000000..60cb783 --- /dev/null +++ b/lidarr/api_metadata.go @@ -0,0 +1,1144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MetadataApiService MetadataApi service +type MetadataApiService service +type ApiCreateApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService + metadataResource *MetadataResource +} + +func (r ApiCreateApiV1MetadataRequest) MetadataResource(metadataResource MetadataResource) ApiCreateApiV1MetadataRequest { + r.metadataResource = &metadataResource + return r +} + +func (r ApiCreateApiV1MetadataRequest) Execute() (*MetadataResource, *http.Response, error) { + return r.ApiService.CreateApiV1MetadataExecute(r) +} + +/* +CreateApiV1Metadata Method for CreateApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1MetadataRequest +*/ +func (a *MetadataApiService) CreateApiV1Metadata(ctx context.Context) ApiCreateApiV1MetadataRequest { + return ApiCreateApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return MetadataResource +func (a *MetadataApiService) CreateApiV1MetadataExecute(r ApiCreateApiV1MetadataRequest) (*MetadataResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.CreateApiV1Metadata") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiCreateApiV1MetadataActionByNameRequest struct { + ctx context.Context + ApiService *MetadataApiService + name string + metadataResource *MetadataResource +} + +func (r ApiCreateApiV1MetadataActionByNameRequest) MetadataResource(metadataResource MetadataResource) ApiCreateApiV1MetadataActionByNameRequest { + r.metadataResource = &metadataResource + return r +} + +func (r ApiCreateApiV1MetadataActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1MetadataActionByNameExecute(r) +} + +/* +CreateApiV1MetadataActionByName Method for CreateApiV1MetadataActionByName + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param name + @return ApiCreateApiV1MetadataActionByNameRequest +*/ +func (a *MetadataApiService) CreateApiV1MetadataActionByName(ctx context.Context, name string) ApiCreateApiV1MetadataActionByNameRequest { + return ApiCreateApiV1MetadataActionByNameRequest{ + ApiService: a, + ctx: ctx, + name: name, + } +} + +// Execute executes the request +func (a *MetadataApiService) CreateApiV1MetadataActionByNameExecute(r ApiCreateApiV1MetadataActionByNameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.CreateApiV1MetadataActionByName") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/action/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", url.PathEscape(parameterToString(r.name, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService + id int32 +} + +func (r ApiDeleteApiV1MetadataRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1MetadataExecute(r) +} + +/* +DeleteApiV1Metadata Method for DeleteApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1MetadataRequest +*/ +func (a *MetadataApiService) DeleteApiV1Metadata(ctx context.Context, id int32) ApiDeleteApiV1MetadataRequest { + return ApiDeleteApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *MetadataApiService) DeleteApiV1MetadataExecute(r ApiDeleteApiV1MetadataRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.DeleteApiV1Metadata") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1MetadataByIdRequest struct { + ctx context.Context + ApiService *MetadataApiService + id int32 +} + +func (r ApiGetApiV1MetadataByIdRequest) Execute() (*MetadataResource, *http.Response, error) { + return r.ApiService.GetApiV1MetadataByIdExecute(r) +} + +/* +GetApiV1MetadataById Method for GetApiV1MetadataById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1MetadataByIdRequest +*/ +func (a *MetadataApiService) GetApiV1MetadataById(ctx context.Context, id int32) ApiGetApiV1MetadataByIdRequest { + return ApiGetApiV1MetadataByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataResource +func (a *MetadataApiService) GetApiV1MetadataByIdExecute(r ApiGetApiV1MetadataByIdRequest) (*MetadataResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.GetApiV1MetadataById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService +} + +func (r ApiListApiV1MetadataRequest) Execute() ([]*MetadataResource, *http.Response, error) { + return r.ApiService.ListApiV1MetadataExecute(r) +} + +/* +ListApiV1Metadata Method for ListApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1MetadataRequest +*/ +func (a *MetadataApiService) ListApiV1Metadata(ctx context.Context) ApiListApiV1MetadataRequest { + return ApiListApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []MetadataResource +func (a *MetadataApiService) ListApiV1MetadataExecute(r ApiListApiV1MetadataRequest) ([]*MetadataResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*MetadataResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.ListApiV1Metadata") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1MetadataSchemaRequest struct { + ctx context.Context + ApiService *MetadataApiService +} + +func (r ApiListApiV1MetadataSchemaRequest) Execute() ([]*MetadataResource, *http.Response, error) { + return r.ApiService.ListApiV1MetadataSchemaExecute(r) +} + +/* +ListApiV1MetadataSchema Method for ListApiV1MetadataSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1MetadataSchemaRequest +*/ +func (a *MetadataApiService) ListApiV1MetadataSchema(ctx context.Context) ApiListApiV1MetadataSchemaRequest { + return ApiListApiV1MetadataSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []MetadataResource +func (a *MetadataApiService) ListApiV1MetadataSchemaExecute(r ApiListApiV1MetadataSchemaRequest) ([]*MetadataResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*MetadataResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.ListApiV1MetadataSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiTestApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService + metadataResource *MetadataResource +} + +func (r ApiTestApiV1MetadataRequest) MetadataResource(metadataResource MetadataResource) ApiTestApiV1MetadataRequest { + r.metadataResource = &metadataResource + return r +} + +func (r ApiTestApiV1MetadataRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1MetadataExecute(r) +} + +/* +TestApiV1Metadata Method for TestApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestApiV1MetadataRequest +*/ +func (a *MetadataApiService) TestApiV1Metadata(ctx context.Context) ApiTestApiV1MetadataRequest { + return ApiTestApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *MetadataApiService) TestApiV1MetadataExecute(r ApiTestApiV1MetadataRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.TestApiV1Metadata") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/test" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiTestallApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService +} + +func (r ApiTestallApiV1MetadataRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1MetadataExecute(r) +} + +/* +TestallApiV1Metadata Method for TestallApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestallApiV1MetadataRequest +*/ +func (a *MetadataApiService) TestallApiV1Metadata(ctx context.Context) ApiTestallApiV1MetadataRequest { + return ApiTestallApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *MetadataApiService) TestallApiV1MetadataExecute(r ApiTestallApiV1MetadataRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.TestallApiV1Metadata") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/testall" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1MetadataRequest struct { + ctx context.Context + ApiService *MetadataApiService + id string + metadataResource *MetadataResource +} + +func (r ApiUpdateApiV1MetadataRequest) MetadataResource(metadataResource MetadataResource) ApiUpdateApiV1MetadataRequest { + r.metadataResource = &metadataResource + return r +} + +func (r ApiUpdateApiV1MetadataRequest) Execute() (*MetadataResource, *http.Response, error) { + return r.ApiService.UpdateApiV1MetadataExecute(r) +} + +/* +UpdateApiV1Metadata Method for UpdateApiV1Metadata + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1MetadataRequest +*/ +func (a *MetadataApiService) UpdateApiV1Metadata(ctx context.Context, id string) ApiUpdateApiV1MetadataRequest { + return ApiUpdateApiV1MetadataRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataResource +func (a *MetadataApiService) UpdateApiV1MetadataExecute(r ApiUpdateApiV1MetadataRequest) (*MetadataResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataApiService.UpdateApiV1Metadata") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadata/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_metadata_profile.go b/lidarr/api_metadata_profile.go new file mode 100644 index 0000000..c1e1e84 --- /dev/null +++ b/lidarr/api_metadata_profile.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MetadataProfileApiService MetadataProfileApi service +type MetadataProfileApiService service +type ApiCreateApiV1MetadataprofileRequest struct { + ctx context.Context + ApiService *MetadataProfileApiService + metadataProfileResource *MetadataProfileResource +} + +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) +} + +/* +CreateApiV1Metadataprofile Method for CreateApiV1Metadataprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1MetadataprofileRequest +*/ +func (a *MetadataProfileApiService) CreateApiV1Metadataprofile(ctx context.Context) ApiCreateApiV1MetadataprofileRequest { + return ApiCreateApiV1MetadataprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return MetadataProfileResource +func (a *MetadataProfileApiService) CreateApiV1MetadataprofileExecute(r ApiCreateApiV1MetadataprofileRequest) (*MetadataProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.CreateApiV1Metadataprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1MetadataprofileRequest struct { + ctx context.Context + ApiService *MetadataProfileApiService + id int32 +} + +func (r ApiDeleteApiV1MetadataprofileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1MetadataprofileExecute(r) +} + +/* +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 +*/ +func (a *MetadataProfileApiService) DeleteApiV1Metadataprofile(ctx context.Context, id int32) ApiDeleteApiV1MetadataprofileRequest { + return ApiDeleteApiV1MetadataprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1MetadataprofileByIdRequest struct { + ctx context.Context + ApiService *MetadataProfileApiService + id int32 +} + +func (r ApiGetApiV1MetadataprofileByIdRequest) Execute() (*MetadataProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1MetadataprofileByIdExecute(r) +} + +/* +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 +*/ +func (a *MetadataProfileApiService) GetApiV1MetadataprofileById(ctx context.Context, id int32) ApiGetApiV1MetadataprofileByIdRequest { + return ApiGetApiV1MetadataprofileByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataProfileResource +func (a *MetadataProfileApiService) GetApiV1MetadataprofileByIdExecute(r ApiGetApiV1MetadataprofileByIdRequest) (*MetadataProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.GetApiV1MetadataprofileById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1MetadataprofileRequest struct { + ctx context.Context + ApiService *MetadataProfileApiService +} + +func (r ApiListApiV1MetadataprofileRequest) Execute() ([]*MetadataProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1MetadataprofileExecute(r) +} + +/* +ListApiV1Metadataprofile Method for ListApiV1Metadataprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1MetadataprofileRequest +*/ +func (a *MetadataProfileApiService) ListApiV1Metadataprofile(ctx context.Context) ApiListApiV1MetadataprofileRequest { + return ApiListApiV1MetadataprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []MetadataProfileResource +func (a *MetadataProfileApiService) ListApiV1MetadataprofileExecute(r ApiListApiV1MetadataprofileRequest) ([]*MetadataProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*MetadataProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.ListApiV1Metadataprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1MetadataprofileRequest struct { + ctx context.Context + ApiService *MetadataProfileApiService + id string + metadataProfileResource *MetadataProfileResource +} + +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) +} + +/* +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 +*/ +func (a *MetadataProfileApiService) UpdateApiV1Metadataprofile(ctx context.Context, id string) ApiUpdateApiV1MetadataprofileRequest { + return ApiUpdateApiV1MetadataprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataProfileResource +func (a *MetadataProfileApiService) UpdateApiV1MetadataprofileExecute(r ApiUpdateApiV1MetadataprofileRequest) (*MetadataProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileApiService.UpdateApiV1Metadataprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_metadata_profile_schema.go b/lidarr/api_metadata_profile_schema.go new file mode 100644 index 0000000..8399926 --- /dev/null +++ b/lidarr/api_metadata_profile_schema.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// MetadataProfileSchemaApiService MetadataProfileSchemaApi service +type MetadataProfileSchemaApiService service +type ApiGetApiV1MetadataprofileSchemaRequest struct { + ctx context.Context + ApiService *MetadataProfileSchemaApiService +} + +func (r ApiGetApiV1MetadataprofileSchemaRequest) Execute() (*MetadataProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1MetadataprofileSchemaExecute(r) +} + +/* +GetApiV1MetadataprofileSchema Method for GetApiV1MetadataprofileSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1MetadataprofileSchemaRequest +*/ +func (a *MetadataProfileSchemaApiService) GetApiV1MetadataprofileSchema(ctx context.Context) ApiGetApiV1MetadataprofileSchemaRequest { + return ApiGetApiV1MetadataprofileSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return MetadataProfileResource +func (a *MetadataProfileSchemaApiService) GetApiV1MetadataprofileSchemaExecute(r ApiGetApiV1MetadataprofileSchemaRequest) (*MetadataProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProfileSchemaApiService.GetApiV1MetadataprofileSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/metadataprofile/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_metadata_provider_config.go b/lidarr/api_metadata_provider_config.go new file mode 100644 index 0000000..4c82d22 --- /dev/null +++ b/lidarr/api_metadata_provider_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MetadataProviderConfigApiService MetadataProviderConfigApi service +type MetadataProviderConfigApiService service +type ApiGetApiV1ConfigMetadataproviderRequest struct { + ctx context.Context + ApiService *MetadataProviderConfigApiService +} + +func (r ApiGetApiV1ConfigMetadataproviderRequest) Execute() (*MetadataProviderConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigMetadataproviderExecute(r) +} + +/* +GetApiV1ConfigMetadataprovider Method for GetApiV1ConfigMetadataprovider + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigMetadataproviderRequest +*/ +func (a *MetadataProviderConfigApiService) GetApiV1ConfigMetadataprovider(ctx context.Context) ApiGetApiV1ConfigMetadataproviderRequest { + return ApiGetApiV1ConfigMetadataproviderRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return MetadataProviderConfigResource +func (a *MetadataProviderConfigApiService) GetApiV1ConfigMetadataproviderExecute(r ApiGetApiV1ConfigMetadataproviderRequest) (*MetadataProviderConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProviderConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProviderConfigApiService.GetApiV1ConfigMetadataprovider") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/metadataprovider" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigMetadataproviderByIdRequest struct { + ctx context.Context + ApiService *MetadataProviderConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigMetadataproviderByIdRequest) Execute() (*MetadataProviderConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigMetadataproviderByIdExecute(r) +} + +/* +GetApiV1ConfigMetadataproviderById Method for GetApiV1ConfigMetadataproviderById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigMetadataproviderByIdRequest +*/ +func (a *MetadataProviderConfigApiService) GetApiV1ConfigMetadataproviderById(ctx context.Context, id int32) ApiGetApiV1ConfigMetadataproviderByIdRequest { + return ApiGetApiV1ConfigMetadataproviderByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataProviderConfigResource +func (a *MetadataProviderConfigApiService) GetApiV1ConfigMetadataproviderByIdExecute(r ApiGetApiV1ConfigMetadataproviderByIdRequest) (*MetadataProviderConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProviderConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProviderConfigApiService.GetApiV1ConfigMetadataproviderById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/metadataprovider/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigMetadataproviderRequest struct { + ctx context.Context + ApiService *MetadataProviderConfigApiService + id string + metadataProviderConfigResource *MetadataProviderConfigResource +} + +func (r ApiUpdateApiV1ConfigMetadataproviderRequest) MetadataProviderConfigResource(metadataProviderConfigResource MetadataProviderConfigResource) ApiUpdateApiV1ConfigMetadataproviderRequest { + r.metadataProviderConfigResource = &metadataProviderConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigMetadataproviderRequest) Execute() (*MetadataProviderConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigMetadataproviderExecute(r) +} + +/* +UpdateApiV1ConfigMetadataprovider Method for UpdateApiV1ConfigMetadataprovider + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigMetadataproviderRequest +*/ +func (a *MetadataProviderConfigApiService) UpdateApiV1ConfigMetadataprovider(ctx context.Context, id string) ApiUpdateApiV1ConfigMetadataproviderRequest { + return ApiUpdateApiV1ConfigMetadataproviderRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return MetadataProviderConfigResource +func (a *MetadataProviderConfigApiService) UpdateApiV1ConfigMetadataproviderExecute(r ApiUpdateApiV1ConfigMetadataproviderRequest) (*MetadataProviderConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *MetadataProviderConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetadataProviderConfigApiService.UpdateApiV1ConfigMetadataprovider") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/metadataprovider/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.metadataProviderConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_missing.go b/lidarr/api_missing.go new file mode 100644 index 0000000..c54e2c5 --- /dev/null +++ b/lidarr/api_missing.go @@ -0,0 +1,285 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// MissingApiService MissingApi service +type MissingApiService service +type ApiGetApiV1WantedMissingRequest struct { + ctx context.Context + ApiService *MissingApiService + includeArtist *bool +} + +func (r ApiGetApiV1WantedMissingRequest) IncludeArtist(includeArtist bool) ApiGetApiV1WantedMissingRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiGetApiV1WantedMissingRequest) Execute() (*AlbumResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1WantedMissingExecute(r) +} + +/* +GetApiV1WantedMissing Method for GetApiV1WantedMissing + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1WantedMissingRequest +*/ +func (a *MissingApiService) GetApiV1WantedMissing(ctx context.Context) ApiGetApiV1WantedMissingRequest { + return ApiGetApiV1WantedMissingRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return AlbumResourcePagingResource +func (a *MissingApiService) GetApiV1WantedMissingExecute(r ApiGetApiV1WantedMissingRequest) (*AlbumResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingApiService.GetApiV1WantedMissing") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/wanted/missing" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1WantedMissingByIdRequest struct { + ctx context.Context + ApiService *MissingApiService + id int32 +} + +func (r ApiGetApiV1WantedMissingByIdRequest) Execute() (*AlbumResource, *http.Response, error) { + return r.ApiService.GetApiV1WantedMissingByIdExecute(r) +} + +/* +GetApiV1WantedMissingById Method for GetApiV1WantedMissingById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1WantedMissingByIdRequest +*/ +func (a *MissingApiService) GetApiV1WantedMissingById(ctx context.Context, id int32) ApiGetApiV1WantedMissingByIdRequest { + return ApiGetApiV1WantedMissingByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return AlbumResource +func (a *MissingApiService) GetApiV1WantedMissingByIdExecute(r ApiGetApiV1WantedMissingByIdRequest) (*AlbumResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *AlbumResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MissingApiService.GetApiV1WantedMissingById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/wanted/missing/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_naming_config.go b/lidarr/api_naming_config.go new file mode 100644 index 0000000..0e1ea61 --- /dev/null +++ b/lidarr/api_naming_config.go @@ -0,0 +1,642 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// NamingConfigApiService NamingConfigApi service +type NamingConfigApiService service +type ApiGetApiV1ConfigNamingRequest struct { + ctx context.Context + ApiService *NamingConfigApiService +} + +func (r ApiGetApiV1ConfigNamingRequest) Execute() (*NamingConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigNamingExecute(r) +} + +/* +GetApiV1ConfigNaming Method for GetApiV1ConfigNaming + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigNamingRequest +*/ +func (a *NamingConfigApiService) GetApiV1ConfigNaming(ctx context.Context) ApiGetApiV1ConfigNamingRequest { + return ApiGetApiV1ConfigNamingRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return NamingConfigResource +func (a *NamingConfigApiService) GetApiV1ConfigNamingExecute(r ApiGetApiV1ConfigNamingRequest) (*NamingConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NamingConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetApiV1ConfigNaming") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/naming" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigNamingByIdRequest struct { + ctx context.Context + ApiService *NamingConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigNamingByIdRequest) Execute() (*NamingConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigNamingByIdExecute(r) +} + +/* +GetApiV1ConfigNamingById Method for GetApiV1ConfigNamingById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigNamingByIdRequest +*/ +func (a *NamingConfigApiService) GetApiV1ConfigNamingById(ctx context.Context, id int32) ApiGetApiV1ConfigNamingByIdRequest { + return ApiGetApiV1ConfigNamingByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return NamingConfigResource +func (a *NamingConfigApiService) GetApiV1ConfigNamingByIdExecute(r ApiGetApiV1ConfigNamingByIdRequest) (*NamingConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NamingConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetApiV1ConfigNamingById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/naming/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigNamingExamplesRequest struct { + ctx context.Context + ApiService *NamingConfigApiService + renameTracks *bool + replaceIllegalCharacters *bool + standardTrackFormat *string + multiDiscTrackFormat *string + artistFolderFormat *string + includeArtistName *bool + includeAlbumTitle *bool + includeQuality *bool + replaceSpaces *bool + separator *string + numberStyle *string + id *int32 + resourceName *string +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) RenameTracks(renameTracks bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.renameTracks = &renameTracks + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) ReplaceIllegalCharacters(replaceIllegalCharacters bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.replaceIllegalCharacters = &replaceIllegalCharacters + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) StandardTrackFormat(standardTrackFormat string) ApiGetApiV1ConfigNamingExamplesRequest { + r.standardTrackFormat = &standardTrackFormat + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) MultiDiscTrackFormat(multiDiscTrackFormat string) ApiGetApiV1ConfigNamingExamplesRequest { + r.multiDiscTrackFormat = &multiDiscTrackFormat + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) ArtistFolderFormat(artistFolderFormat string) ApiGetApiV1ConfigNamingExamplesRequest { + r.artistFolderFormat = &artistFolderFormat + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) IncludeArtistName(includeArtistName bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.includeArtistName = &includeArtistName + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) IncludeAlbumTitle(includeAlbumTitle bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.includeAlbumTitle = &includeAlbumTitle + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) IncludeQuality(includeQuality bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.includeQuality = &includeQuality + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) ReplaceSpaces(replaceSpaces bool) ApiGetApiV1ConfigNamingExamplesRequest { + r.replaceSpaces = &replaceSpaces + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) Separator(separator string) ApiGetApiV1ConfigNamingExamplesRequest { + r.separator = &separator + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) NumberStyle(numberStyle string) ApiGetApiV1ConfigNamingExamplesRequest { + r.numberStyle = &numberStyle + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) Id(id int32) ApiGetApiV1ConfigNamingExamplesRequest { + r.id = &id + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) ResourceName(resourceName string) ApiGetApiV1ConfigNamingExamplesRequest { + r.resourceName = &resourceName + return r +} + +func (r ApiGetApiV1ConfigNamingExamplesRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1ConfigNamingExamplesExecute(r) +} + +/* +GetApiV1ConfigNamingExamples Method for GetApiV1ConfigNamingExamples + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigNamingExamplesRequest +*/ +func (a *NamingConfigApiService) GetApiV1ConfigNamingExamples(ctx context.Context) ApiGetApiV1ConfigNamingExamplesRequest { + return ApiGetApiV1ConfigNamingExamplesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *NamingConfigApiService) GetApiV1ConfigNamingExamplesExecute(r ApiGetApiV1ConfigNamingExamplesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.GetApiV1ConfigNamingExamples") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/naming/examples" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.renameTracks != nil { + localVarQueryParams.Add("RenameTracks", parameterToString(*r.renameTracks, "")) + } + if r.replaceIllegalCharacters != nil { + localVarQueryParams.Add("ReplaceIllegalCharacters", parameterToString(*r.replaceIllegalCharacters, "")) + } + if r.standardTrackFormat != nil { + localVarQueryParams.Add("StandardTrackFormat", parameterToString(*r.standardTrackFormat, "")) + } + if r.multiDiscTrackFormat != nil { + localVarQueryParams.Add("MultiDiscTrackFormat", parameterToString(*r.multiDiscTrackFormat, "")) + } + if r.artistFolderFormat != nil { + localVarQueryParams.Add("ArtistFolderFormat", parameterToString(*r.artistFolderFormat, "")) + } + if r.includeArtistName != nil { + localVarQueryParams.Add("IncludeArtistName", parameterToString(*r.includeArtistName, "")) + } + if r.includeAlbumTitle != nil { + localVarQueryParams.Add("IncludeAlbumTitle", parameterToString(*r.includeAlbumTitle, "")) + } + if r.includeQuality != nil { + localVarQueryParams.Add("IncludeQuality", parameterToString(*r.includeQuality, "")) + } + if r.replaceSpaces != nil { + localVarQueryParams.Add("ReplaceSpaces", parameterToString(*r.replaceSpaces, "")) + } + if r.separator != nil { + localVarQueryParams.Add("Separator", parameterToString(*r.separator, "")) + } + if r.numberStyle != nil { + localVarQueryParams.Add("NumberStyle", parameterToString(*r.numberStyle, "")) + } + if r.id != nil { + localVarQueryParams.Add("Id", parameterToString(*r.id, "")) + } + if r.resourceName != nil { + localVarQueryParams.Add("ResourceName", parameterToString(*r.resourceName, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigNamingRequest struct { + ctx context.Context + ApiService *NamingConfigApiService + id string + namingConfigResource *NamingConfigResource +} + +func (r ApiUpdateApiV1ConfigNamingRequest) NamingConfigResource(namingConfigResource NamingConfigResource) ApiUpdateApiV1ConfigNamingRequest { + r.namingConfigResource = &namingConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigNamingRequest) Execute() (*NamingConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigNamingExecute(r) +} + +/* +UpdateApiV1ConfigNaming Method for UpdateApiV1ConfigNaming + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigNamingRequest +*/ +func (a *NamingConfigApiService) UpdateApiV1ConfigNaming(ctx context.Context, id string) ApiUpdateApiV1ConfigNamingRequest { + return ApiUpdateApiV1ConfigNamingRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return NamingConfigResource +func (a *NamingConfigApiService) UpdateApiV1ConfigNamingExecute(r ApiUpdateApiV1ConfigNamingRequest) (*NamingConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NamingConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamingConfigApiService.UpdateApiV1ConfigNaming") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/naming/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.namingConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_notification.go b/lidarr/api_notification.go new file mode 100644 index 0000000..6a53f68 --- /dev/null +++ b/lidarr/api_notification.go @@ -0,0 +1,1144 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// NotificationApiService NotificationApi service +type NotificationApiService service +type ApiCreateApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService + notificationResource *NotificationResource +} + +func (r ApiCreateApiV1NotificationRequest) NotificationResource(notificationResource NotificationResource) ApiCreateApiV1NotificationRequest { + r.notificationResource = ¬ificationResource + return r +} + +func (r ApiCreateApiV1NotificationRequest) Execute() (*NotificationResource, *http.Response, error) { + return r.ApiService.CreateApiV1NotificationExecute(r) +} + +/* +CreateApiV1Notification Method for CreateApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1NotificationRequest +*/ +func (a *NotificationApiService) CreateApiV1Notification(ctx context.Context) ApiCreateApiV1NotificationRequest { + return ApiCreateApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return NotificationResource +func (a *NotificationApiService) CreateApiV1NotificationExecute(r ApiCreateApiV1NotificationRequest) (*NotificationResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NotificationResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.CreateApiV1Notification") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiCreateApiV1NotificationActionByNameRequest struct { + ctx context.Context + ApiService *NotificationApiService + name string + notificationResource *NotificationResource +} + +func (r ApiCreateApiV1NotificationActionByNameRequest) NotificationResource(notificationResource NotificationResource) ApiCreateApiV1NotificationActionByNameRequest { + r.notificationResource = ¬ificationResource + return r +} + +func (r ApiCreateApiV1NotificationActionByNameRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1NotificationActionByNameExecute(r) +} + +/* +CreateApiV1NotificationActionByName Method for CreateApiV1NotificationActionByName + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param name + @return ApiCreateApiV1NotificationActionByNameRequest +*/ +func (a *NotificationApiService) CreateApiV1NotificationActionByName(ctx context.Context, name string) ApiCreateApiV1NotificationActionByNameRequest { + return ApiCreateApiV1NotificationActionByNameRequest{ + ApiService: a, + ctx: ctx, + name: name, + } +} + +// Execute executes the request +func (a *NotificationApiService) CreateApiV1NotificationActionByNameExecute(r ApiCreateApiV1NotificationActionByNameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.CreateApiV1NotificationActionByName") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/action/{name}" + localVarPath = strings.Replace(localVarPath, "{"+"name"+"}", url.PathEscape(parameterToString(r.name, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService + id int32 +} + +func (r ApiDeleteApiV1NotificationRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1NotificationExecute(r) +} + +/* +DeleteApiV1Notification Method for DeleteApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1NotificationRequest +*/ +func (a *NotificationApiService) DeleteApiV1Notification(ctx context.Context, id int32) ApiDeleteApiV1NotificationRequest { + return ApiDeleteApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *NotificationApiService) DeleteApiV1NotificationExecute(r ApiDeleteApiV1NotificationRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.DeleteApiV1Notification") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1NotificationByIdRequest struct { + ctx context.Context + ApiService *NotificationApiService + id int32 +} + +func (r ApiGetApiV1NotificationByIdRequest) Execute() (*NotificationResource, *http.Response, error) { + return r.ApiService.GetApiV1NotificationByIdExecute(r) +} + +/* +GetApiV1NotificationById Method for GetApiV1NotificationById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1NotificationByIdRequest +*/ +func (a *NotificationApiService) GetApiV1NotificationById(ctx context.Context, id int32) ApiGetApiV1NotificationByIdRequest { + return ApiGetApiV1NotificationByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return NotificationResource +func (a *NotificationApiService) GetApiV1NotificationByIdExecute(r ApiGetApiV1NotificationByIdRequest) (*NotificationResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NotificationResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.GetApiV1NotificationById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService +} + +func (r ApiListApiV1NotificationRequest) Execute() ([]*NotificationResource, *http.Response, error) { + return r.ApiService.ListApiV1NotificationExecute(r) +} + +/* +ListApiV1Notification Method for ListApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1NotificationRequest +*/ +func (a *NotificationApiService) ListApiV1Notification(ctx context.Context) ApiListApiV1NotificationRequest { + return ApiListApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []NotificationResource +func (a *NotificationApiService) ListApiV1NotificationExecute(r ApiListApiV1NotificationRequest) ([]*NotificationResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*NotificationResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.ListApiV1Notification") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1NotificationSchemaRequest struct { + ctx context.Context + ApiService *NotificationApiService +} + +func (r ApiListApiV1NotificationSchemaRequest) Execute() ([]*NotificationResource, *http.Response, error) { + return r.ApiService.ListApiV1NotificationSchemaExecute(r) +} + +/* +ListApiV1NotificationSchema Method for ListApiV1NotificationSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1NotificationSchemaRequest +*/ +func (a *NotificationApiService) ListApiV1NotificationSchema(ctx context.Context) ApiListApiV1NotificationSchemaRequest { + return ApiListApiV1NotificationSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []NotificationResource +func (a *NotificationApiService) ListApiV1NotificationSchemaExecute(r ApiListApiV1NotificationSchemaRequest) ([]*NotificationResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*NotificationResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.ListApiV1NotificationSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiTestApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService + notificationResource *NotificationResource +} + +func (r ApiTestApiV1NotificationRequest) NotificationResource(notificationResource NotificationResource) ApiTestApiV1NotificationRequest { + r.notificationResource = ¬ificationResource + return r +} + +func (r ApiTestApiV1NotificationRequest) Execute() (*http.Response, error) { + return r.ApiService.TestApiV1NotificationExecute(r) +} + +/* +TestApiV1Notification Method for TestApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestApiV1NotificationRequest +*/ +func (a *NotificationApiService) TestApiV1Notification(ctx context.Context) ApiTestApiV1NotificationRequest { + return ApiTestApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *NotificationApiService) TestApiV1NotificationExecute(r ApiTestApiV1NotificationRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.TestApiV1Notification") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/test" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiTestallApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService +} + +func (r ApiTestallApiV1NotificationRequest) Execute() (*http.Response, error) { + return r.ApiService.TestallApiV1NotificationExecute(r) +} + +/* +TestallApiV1Notification Method for TestallApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiTestallApiV1NotificationRequest +*/ +func (a *NotificationApiService) TestallApiV1Notification(ctx context.Context) ApiTestallApiV1NotificationRequest { + return ApiTestallApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *NotificationApiService) TestallApiV1NotificationExecute(r ApiTestallApiV1NotificationRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.TestallApiV1Notification") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/testall" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1NotificationRequest struct { + ctx context.Context + ApiService *NotificationApiService + id string + notificationResource *NotificationResource +} + +func (r ApiUpdateApiV1NotificationRequest) NotificationResource(notificationResource NotificationResource) ApiUpdateApiV1NotificationRequest { + r.notificationResource = ¬ificationResource + return r +} + +func (r ApiUpdateApiV1NotificationRequest) Execute() (*NotificationResource, *http.Response, error) { + return r.ApiService.UpdateApiV1NotificationExecute(r) +} + +/* +UpdateApiV1Notification Method for UpdateApiV1Notification + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1NotificationRequest +*/ +func (a *NotificationApiService) UpdateApiV1Notification(ctx context.Context, id string) ApiUpdateApiV1NotificationRequest { + return ApiUpdateApiV1NotificationRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return NotificationResource +func (a *NotificationApiService) UpdateApiV1NotificationExecute(r ApiUpdateApiV1NotificationRequest) (*NotificationResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NotificationResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NotificationApiService.UpdateApiV1Notification") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/notification/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.notificationResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_parse.go b/lidarr/api_parse.go new file mode 100644 index 0000000..3d6f85a --- /dev/null +++ b/lidarr/api_parse.go @@ -0,0 +1,156 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// ParseApiService ParseApi service +type ParseApiService service +type ApiGetApiV1ParseRequest struct { + ctx context.Context + ApiService *ParseApiService + title *string +} + +func (r ApiGetApiV1ParseRequest) Title(title string) ApiGetApiV1ParseRequest { + r.title = &title + return r +} + +func (r ApiGetApiV1ParseRequest) Execute() (*ParseResource, *http.Response, error) { + return r.ApiService.GetApiV1ParseExecute(r) +} + +/* +GetApiV1Parse Method for GetApiV1Parse + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ParseRequest +*/ +func (a *ParseApiService) GetApiV1Parse(ctx context.Context) ApiGetApiV1ParseRequest { + return ApiGetApiV1ParseRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ParseResource +func (a *ParseApiService) GetApiV1ParseExecute(r ApiGetApiV1ParseRequest) (*ParseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ParseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ParseApiService.GetApiV1Parse") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/parse" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.title != nil { + localVarQueryParams.Add("title", parameterToString(*r.title, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_quality_definition.go b/lidarr/api_quality_definition.go new file mode 100644 index 0000000..f860690 --- /dev/null +++ b/lidarr/api_quality_definition.go @@ -0,0 +1,533 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// QualityDefinitionApiService QualityDefinitionApi service +type QualityDefinitionApiService service +type ApiGetApiV1QualitydefinitionByIdRequest struct { + ctx context.Context + ApiService *QualityDefinitionApiService + id int32 +} + +func (r ApiGetApiV1QualitydefinitionByIdRequest) Execute() (*QualityDefinitionResource, *http.Response, error) { + return r.ApiService.GetApiV1QualitydefinitionByIdExecute(r) +} + +/* +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 +*/ +func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionById(ctx context.Context, id int32) ApiGetApiV1QualitydefinitionByIdRequest { + return ApiGetApiV1QualitydefinitionByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QualityDefinitionResource +func (a *QualityDefinitionApiService) GetApiV1QualitydefinitionByIdExecute(r ApiGetApiV1QualitydefinitionByIdRequest) (*QualityDefinitionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityDefinitionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.GetApiV1QualitydefinitionById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualitydefinition/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1QualitydefinitionRequest struct { + ctx context.Context + ApiService *QualityDefinitionApiService +} + +func (r ApiListApiV1QualitydefinitionRequest) Execute() ([]*QualityDefinitionResource, *http.Response, error) { + return r.ApiService.ListApiV1QualitydefinitionExecute(r) +} + +/* +ListApiV1Qualitydefinition Method for ListApiV1Qualitydefinition + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1QualitydefinitionRequest +*/ +func (a *QualityDefinitionApiService) ListApiV1Qualitydefinition(ctx context.Context) ApiListApiV1QualitydefinitionRequest { + return ApiListApiV1QualitydefinitionRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []QualityDefinitionResource +func (a *QualityDefinitionApiService) ListApiV1QualitydefinitionExecute(r ApiListApiV1QualitydefinitionRequest) ([]*QualityDefinitionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*QualityDefinitionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.ListApiV1Qualitydefinition") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualitydefinition" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiPutApiV1QualitydefinitionUpdateRequest struct { + ctx context.Context + ApiService *QualityDefinitionApiService + qualityDefinitionResource *[]QualityDefinitionResource +} + +func (r ApiPutApiV1QualitydefinitionUpdateRequest) QualityDefinitionResource(qualityDefinitionResource []QualityDefinitionResource) ApiPutApiV1QualitydefinitionUpdateRequest { + r.qualityDefinitionResource = &qualityDefinitionResource + return r +} + +func (r ApiPutApiV1QualitydefinitionUpdateRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1QualitydefinitionUpdateExecute(r) +} + +/* +PutApiV1QualitydefinitionUpdate Method for PutApiV1QualitydefinitionUpdate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.PutApiV1QualitydefinitionUpdate") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualitydefinition/update" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.qualityDefinitionResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1QualitydefinitionRequest struct { + ctx context.Context + ApiService *QualityDefinitionApiService + id string + qualityDefinitionResource *QualityDefinitionResource +} + +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) +} + +/* +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 +*/ +func (a *QualityDefinitionApiService) UpdateApiV1Qualitydefinition(ctx context.Context, id string) ApiUpdateApiV1QualitydefinitionRequest { + return ApiUpdateApiV1QualitydefinitionRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QualityDefinitionResource +func (a *QualityDefinitionApiService) UpdateApiV1QualitydefinitionExecute(r ApiUpdateApiV1QualitydefinitionRequest) (*QualityDefinitionResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityDefinitionResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityDefinitionApiService.UpdateApiV1Qualitydefinition") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualitydefinition/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.qualityDefinitionResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_quality_profile.go b/lidarr/api_quality_profile.go new file mode 100644 index 0000000..76dfa13 --- /dev/null +++ b/lidarr/api_quality_profile.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// QualityProfileApiService QualityProfileApi service +type QualityProfileApiService service +type ApiCreateApiV1QualityprofileRequest struct { + ctx context.Context + ApiService *QualityProfileApiService + qualityProfileResource *QualityProfileResource +} + +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) +} + +/* +CreateApiV1Qualityprofile Method for CreateApiV1Qualityprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1QualityprofileRequest +*/ +func (a *QualityProfileApiService) CreateApiV1Qualityprofile(ctx context.Context) ApiCreateApiV1QualityprofileRequest { + return ApiCreateApiV1QualityprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return QualityProfileResource +func (a *QualityProfileApiService) CreateApiV1QualityprofileExecute(r ApiCreateApiV1QualityprofileRequest) (*QualityProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.CreateApiV1Qualityprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.qualityProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1QualityprofileRequest struct { + ctx context.Context + ApiService *QualityProfileApiService + id int32 +} + +func (r ApiDeleteApiV1QualityprofileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1QualityprofileExecute(r) +} + +/* +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 +*/ +func (a *QualityProfileApiService) DeleteApiV1Qualityprofile(ctx context.Context, id int32) ApiDeleteApiV1QualityprofileRequest { + return ApiDeleteApiV1QualityprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1QualityprofileByIdRequest struct { + ctx context.Context + ApiService *QualityProfileApiService + id int32 +} + +func (r ApiGetApiV1QualityprofileByIdRequest) Execute() (*QualityProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1QualityprofileByIdExecute(r) +} + +/* +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 +*/ +func (a *QualityProfileApiService) GetApiV1QualityprofileById(ctx context.Context, id int32) ApiGetApiV1QualityprofileByIdRequest { + return ApiGetApiV1QualityprofileByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QualityProfileResource +func (a *QualityProfileApiService) GetApiV1QualityprofileByIdExecute(r ApiGetApiV1QualityprofileByIdRequest) (*QualityProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.GetApiV1QualityprofileById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1QualityprofileRequest struct { + ctx context.Context + ApiService *QualityProfileApiService +} + +func (r ApiListApiV1QualityprofileRequest) Execute() ([]*QualityProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1QualityprofileExecute(r) +} + +/* +ListApiV1Qualityprofile Method for ListApiV1Qualityprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1QualityprofileRequest +*/ +func (a *QualityProfileApiService) ListApiV1Qualityprofile(ctx context.Context) ApiListApiV1QualityprofileRequest { + return ApiListApiV1QualityprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []QualityProfileResource +func (a *QualityProfileApiService) ListApiV1QualityprofileExecute(r ApiListApiV1QualityprofileRequest) ([]*QualityProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*QualityProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.ListApiV1Qualityprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1QualityprofileRequest struct { + ctx context.Context + ApiService *QualityProfileApiService + id string + qualityProfileResource *QualityProfileResource +} + +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) +} + +/* +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 +*/ +func (a *QualityProfileApiService) UpdateApiV1Qualityprofile(ctx context.Context, id string) ApiUpdateApiV1QualityprofileRequest { + return ApiUpdateApiV1QualityprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QualityProfileResource +func (a *QualityProfileApiService) UpdateApiV1QualityprofileExecute(r ApiUpdateApiV1QualityprofileRequest) (*QualityProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileApiService.UpdateApiV1Qualityprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.qualityProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_quality_profile_schema.go b/lidarr/api_quality_profile_schema.go new file mode 100644 index 0000000..2255cf0 --- /dev/null +++ b/lidarr/api_quality_profile_schema.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// QualityProfileSchemaApiService QualityProfileSchemaApi service +type QualityProfileSchemaApiService service +type ApiGetApiV1QualityprofileSchemaRequest struct { + ctx context.Context + ApiService *QualityProfileSchemaApiService +} + +func (r ApiGetApiV1QualityprofileSchemaRequest) Execute() (*QualityProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1QualityprofileSchemaExecute(r) +} + +/* +GetApiV1QualityprofileSchema Method for GetApiV1QualityprofileSchema + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1QualityprofileSchemaRequest +*/ +func (a *QualityProfileSchemaApiService) GetApiV1QualityprofileSchema(ctx context.Context) ApiGetApiV1QualityprofileSchemaRequest { + return ApiGetApiV1QualityprofileSchemaRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return QualityProfileResource +func (a *QualityProfileSchemaApiService) GetApiV1QualityprofileSchemaExecute(r ApiGetApiV1QualityprofileSchemaRequest) (*QualityProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QualityProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QualityProfileSchemaApiService.GetApiV1QualityprofileSchema") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/qualityprofile/schema" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_queue.go b/lidarr/api_queue.go new file mode 100644 index 0000000..f498d0f --- /dev/null +++ b/lidarr/api_queue.go @@ -0,0 +1,595 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// QueueApiService QueueApi service +type QueueApiService service +type ApiDeleteApiV1QueueRequest struct { + ctx context.Context + ApiService *QueueApiService + id int32 + removeFromClient *bool + blocklist *bool + skipReDownload *bool +} + +func (r ApiDeleteApiV1QueueRequest) RemoveFromClient(removeFromClient bool) ApiDeleteApiV1QueueRequest { + r.removeFromClient = &removeFromClient + return r +} + +func (r ApiDeleteApiV1QueueRequest) Blocklist(blocklist bool) ApiDeleteApiV1QueueRequest { + r.blocklist = &blocklist + return r +} + +func (r ApiDeleteApiV1QueueRequest) SkipReDownload(skipReDownload bool) ApiDeleteApiV1QueueRequest { + r.skipReDownload = &skipReDownload + return r +} + +func (r ApiDeleteApiV1QueueRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1QueueExecute(r) +} + +/* +DeleteApiV1Queue Method for DeleteApiV1Queue + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1QueueRequest +*/ +func (a *QueueApiService) DeleteApiV1Queue(ctx context.Context, id int32) ApiDeleteApiV1QueueRequest { + return ApiDeleteApiV1QueueRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *QueueApiService) DeleteApiV1QueueExecute(r ApiDeleteApiV1QueueRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.DeleteApiV1Queue") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.removeFromClient != nil { + localVarQueryParams.Add("removeFromClient", parameterToString(*r.removeFromClient, "")) + } + if r.blocklist != nil { + localVarQueryParams.Add("blocklist", parameterToString(*r.blocklist, "")) + } + if r.skipReDownload != nil { + localVarQueryParams.Add("skipReDownload", parameterToString(*r.skipReDownload, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1QueueBulkRequest struct { + ctx context.Context + ApiService *QueueApiService + removeFromClient *bool + blocklist *bool + skipReDownload *bool + queueBulkResource *QueueBulkResource +} + +func (r ApiDeleteApiV1QueueBulkRequest) RemoveFromClient(removeFromClient bool) ApiDeleteApiV1QueueBulkRequest { + r.removeFromClient = &removeFromClient + return r +} + +func (r ApiDeleteApiV1QueueBulkRequest) Blocklist(blocklist bool) ApiDeleteApiV1QueueBulkRequest { + r.blocklist = &blocklist + return r +} + +func (r ApiDeleteApiV1QueueBulkRequest) SkipReDownload(skipReDownload bool) ApiDeleteApiV1QueueBulkRequest { + r.skipReDownload = &skipReDownload + return r +} + +func (r ApiDeleteApiV1QueueBulkRequest) QueueBulkResource(queueBulkResource QueueBulkResource) ApiDeleteApiV1QueueBulkRequest { + r.queueBulkResource = &queueBulkResource + return r +} + +func (r ApiDeleteApiV1QueueBulkRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1QueueBulkExecute(r) +} + +/* +DeleteApiV1QueueBulk Method for DeleteApiV1QueueBulk + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiDeleteApiV1QueueBulkRequest +*/ +func (a *QueueApiService) DeleteApiV1QueueBulk(ctx context.Context) ApiDeleteApiV1QueueBulkRequest { + return ApiDeleteApiV1QueueBulkRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *QueueApiService) DeleteApiV1QueueBulkExecute(r ApiDeleteApiV1QueueBulkRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.DeleteApiV1QueueBulk") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/bulk" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.removeFromClient != nil { + localVarQueryParams.Add("removeFromClient", parameterToString(*r.removeFromClient, "")) + } + if r.blocklist != nil { + localVarQueryParams.Add("blocklist", parameterToString(*r.blocklist, "")) + } + if r.skipReDownload != nil { + localVarQueryParams.Add("skipReDownload", parameterToString(*r.skipReDownload, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.queueBulkResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1QueueRequest struct { + ctx context.Context + ApiService *QueueApiService + includeUnknownArtistItems *bool + includeArtist *bool + includeAlbum *bool +} + +func (r ApiGetApiV1QueueRequest) IncludeUnknownArtistItems(includeUnknownArtistItems bool) ApiGetApiV1QueueRequest { + r.includeUnknownArtistItems = &includeUnknownArtistItems + return r +} + +func (r ApiGetApiV1QueueRequest) IncludeArtist(includeArtist bool) ApiGetApiV1QueueRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiGetApiV1QueueRequest) IncludeAlbum(includeAlbum bool) ApiGetApiV1QueueRequest { + r.includeAlbum = &includeAlbum + return r +} + +func (r ApiGetApiV1QueueRequest) Execute() (*QueueResourcePagingResource, *http.Response, error) { + return r.ApiService.GetApiV1QueueExecute(r) +} + +/* +GetApiV1Queue Method for GetApiV1Queue + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1QueueRequest +*/ +func (a *QueueApiService) GetApiV1Queue(ctx context.Context) ApiGetApiV1QueueRequest { + return ApiGetApiV1QueueRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return QueueResourcePagingResource +func (a *QueueApiService) GetApiV1QueueExecute(r ApiGetApiV1QueueRequest) (*QueueResourcePagingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueueResourcePagingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.GetApiV1Queue") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.includeUnknownArtistItems != nil { + localVarQueryParams.Add("includeUnknownArtistItems", parameterToString(*r.includeUnknownArtistItems, "")) + } + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + if r.includeAlbum != nil { + localVarQueryParams.Add("includeAlbum", parameterToString(*r.includeAlbum, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1QueueByIdRequest struct { + ctx context.Context + ApiService *QueueApiService + id int32 +} + +func (r ApiGetApiV1QueueByIdRequest) Execute() (*QueueResource, *http.Response, error) { + return r.ApiService.GetApiV1QueueByIdExecute(r) +} + +/* +GetApiV1QueueById Method for GetApiV1QueueById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1QueueByIdRequest +*/ +func (a *QueueApiService) GetApiV1QueueById(ctx context.Context, id int32) ApiGetApiV1QueueByIdRequest { + return ApiGetApiV1QueueByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QueueResource +func (a *QueueApiService) GetApiV1QueueByIdExecute(r ApiGetApiV1QueueByIdRequest) (*QueueResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueueResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueApiService.GetApiV1QueueById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_queue_action.go b/lidarr/api_queue_action.go new file mode 100644 index 0000000..485e7e4 --- /dev/null +++ b/lidarr/api_queue_action.go @@ -0,0 +1,262 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// QueueActionApiService QueueActionApi service +type QueueActionApiService service +type ApiCreateApiV1QueueGrabBulkRequest struct { + ctx context.Context + ApiService *QueueActionApiService + queueBulkResource *QueueBulkResource +} + +func (r ApiCreateApiV1QueueGrabBulkRequest) QueueBulkResource(queueBulkResource QueueBulkResource) ApiCreateApiV1QueueGrabBulkRequest { + r.queueBulkResource = &queueBulkResource + return r +} + +func (r ApiCreateApiV1QueueGrabBulkRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1QueueGrabBulkExecute(r) +} + +/* +CreateApiV1QueueGrabBulk Method for CreateApiV1QueueGrabBulk + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1QueueGrabBulkRequest +*/ +func (a *QueueActionApiService) CreateApiV1QueueGrabBulk(ctx context.Context) ApiCreateApiV1QueueGrabBulkRequest { + return ApiCreateApiV1QueueGrabBulkRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *QueueActionApiService) CreateApiV1QueueGrabBulkExecute(r ApiCreateApiV1QueueGrabBulkRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionApiService.CreateApiV1QueueGrabBulk") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/grab/bulk" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.queueBulkResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiCreateApiV1QueueGrabByIdRequest struct { + ctx context.Context + ApiService *QueueActionApiService + id int32 +} + +func (r ApiCreateApiV1QueueGrabByIdRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1QueueGrabByIdExecute(r) +} + +/* +CreateApiV1QueueGrabById Method for CreateApiV1QueueGrabById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiCreateApiV1QueueGrabByIdRequest +*/ +func (a *QueueActionApiService) CreateApiV1QueueGrabById(ctx context.Context, id int32) ApiCreateApiV1QueueGrabByIdRequest { + return ApiCreateApiV1QueueGrabByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *QueueActionApiService) CreateApiV1QueueGrabByIdExecute(r ApiCreateApiV1QueueGrabByIdRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueActionApiService.CreateApiV1QueueGrabById") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/grab/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_queue_details.go b/lidarr/api_queue_details.go new file mode 100644 index 0000000..ab336a0 --- /dev/null +++ b/lidarr/api_queue_details.go @@ -0,0 +1,321 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "reflect" +) + + +// QueueDetailsApiService QueueDetailsApi service +type QueueDetailsApiService service +type ApiGetApiV1QueueDetailsByIdRequest struct { + ctx context.Context + ApiService *QueueDetailsApiService + id int32 +} + +func (r ApiGetApiV1QueueDetailsByIdRequest) Execute() (*QueueResource, *http.Response, error) { + return r.ApiService.GetApiV1QueueDetailsByIdExecute(r) +} + +/* +GetApiV1QueueDetailsById Method for GetApiV1QueueDetailsById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1QueueDetailsByIdRequest +*/ +func (a *QueueDetailsApiService) GetApiV1QueueDetailsById(ctx context.Context, id int32) ApiGetApiV1QueueDetailsByIdRequest { + return ApiGetApiV1QueueDetailsByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QueueResource +func (a *QueueDetailsApiService) GetApiV1QueueDetailsByIdExecute(r ApiGetApiV1QueueDetailsByIdRequest) (*QueueResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueueResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsApiService.GetApiV1QueueDetailsById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/details/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1QueueDetailsRequest struct { + ctx context.Context + ApiService *QueueDetailsApiService + artistId *int32 + albumIds *[]int32 + includeArtist *bool + includeAlbum *bool +} + +func (r ApiListApiV1QueueDetailsRequest) ArtistId(artistId int32) ApiListApiV1QueueDetailsRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1QueueDetailsRequest) AlbumIds(albumIds []int32) ApiListApiV1QueueDetailsRequest { + r.albumIds = &albumIds + return r +} + +func (r ApiListApiV1QueueDetailsRequest) IncludeArtist(includeArtist bool) ApiListApiV1QueueDetailsRequest { + r.includeArtist = &includeArtist + return r +} + +func (r ApiListApiV1QueueDetailsRequest) IncludeAlbum(includeAlbum bool) ApiListApiV1QueueDetailsRequest { + r.includeAlbum = &includeAlbum + return r +} + +func (r ApiListApiV1QueueDetailsRequest) Execute() ([]*QueueResource, *http.Response, error) { + return r.ApiService.ListApiV1QueueDetailsExecute(r) +} + +/* +ListApiV1QueueDetails Method for ListApiV1QueueDetails + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1QueueDetailsRequest +*/ +func (a *QueueDetailsApiService) ListApiV1QueueDetails(ctx context.Context) ApiListApiV1QueueDetailsRequest { + return ApiListApiV1QueueDetailsRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []QueueResource +func (a *QueueDetailsApiService) ListApiV1QueueDetailsExecute(r ApiListApiV1QueueDetailsRequest) ([]*QueueResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*QueueResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueDetailsApiService.ListApiV1QueueDetails") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/details" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumIds != nil { + t := *r.albumIds + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + localVarQueryParams.Add("albumIds", parameterToString(s.Index(i), "multi")) + } + } else { + localVarQueryParams.Add("albumIds", parameterToString(t, "multi")) + } + } + if r.includeArtist != nil { + localVarQueryParams.Add("includeArtist", parameterToString(*r.includeArtist, "")) + } + if r.includeAlbum != nil { + localVarQueryParams.Add("includeAlbum", parameterToString(*r.includeAlbum, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_queue_status.go b/lidarr/api_queue_status.go new file mode 100644 index 0000000..890b235 --- /dev/null +++ b/lidarr/api_queue_status.go @@ -0,0 +1,276 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// QueueStatusApiService QueueStatusApi service +type QueueStatusApiService service +type ApiGetApiV1QueueStatusRequest struct { + ctx context.Context + ApiService *QueueStatusApiService +} + +func (r ApiGetApiV1QueueStatusRequest) Execute() (*QueueStatusResource, *http.Response, error) { + return r.ApiService.GetApiV1QueueStatusExecute(r) +} + +/* +GetApiV1QueueStatus Method for GetApiV1QueueStatus + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1QueueStatusRequest +*/ +func (a *QueueStatusApiService) GetApiV1QueueStatus(ctx context.Context) ApiGetApiV1QueueStatusRequest { + return ApiGetApiV1QueueStatusRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return QueueStatusResource +func (a *QueueStatusApiService) GetApiV1QueueStatusExecute(r ApiGetApiV1QueueStatusRequest) (*QueueStatusResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueueStatusResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusApiService.GetApiV1QueueStatus") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1QueueStatusByIdRequest struct { + ctx context.Context + ApiService *QueueStatusApiService + id int32 +} + +func (r ApiGetApiV1QueueStatusByIdRequest) Execute() (*QueueStatusResource, *http.Response, error) { + return r.ApiService.GetApiV1QueueStatusByIdExecute(r) +} + +/* +GetApiV1QueueStatusById Method for GetApiV1QueueStatusById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1QueueStatusByIdRequest +*/ +func (a *QueueStatusApiService) GetApiV1QueueStatusById(ctx context.Context, id int32) ApiGetApiV1QueueStatusByIdRequest { + return ApiGetApiV1QueueStatusByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return QueueStatusResource +func (a *QueueStatusApiService) GetApiV1QueueStatusByIdExecute(r ApiGetApiV1QueueStatusByIdRequest) (*QueueStatusResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *QueueStatusResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QueueStatusApiService.GetApiV1QueueStatusById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/queue/status/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_release.go b/lidarr/api_release.go new file mode 100644 index 0000000..1d05fd3 --- /dev/null +++ b/lidarr/api_release.go @@ -0,0 +1,426 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ReleaseApiService ReleaseApi service +type ReleaseApiService service +type ApiCreateApiV1ReleaseRequest struct { + ctx context.Context + ApiService *ReleaseApiService + releaseResource *ReleaseResource +} + +func (r ApiCreateApiV1ReleaseRequest) ReleaseResource(releaseResource ReleaseResource) ApiCreateApiV1ReleaseRequest { + r.releaseResource = &releaseResource + return r +} + +func (r ApiCreateApiV1ReleaseRequest) Execute() (*ReleaseResource, *http.Response, error) { + return r.ApiService.CreateApiV1ReleaseExecute(r) +} + +/* +CreateApiV1Release Method for CreateApiV1Release + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ReleaseRequest +*/ +func (a *ReleaseApiService) CreateApiV1Release(ctx context.Context) ApiCreateApiV1ReleaseRequest { + return ApiCreateApiV1ReleaseRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ReleaseResource +func (a *ReleaseApiService) CreateApiV1ReleaseExecute(r ApiCreateApiV1ReleaseRequest) (*ReleaseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.CreateApiV1Release") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/release" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.releaseResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ReleaseByIdRequest struct { + ctx context.Context + ApiService *ReleaseApiService + id int32 +} + +func (r ApiGetApiV1ReleaseByIdRequest) Execute() (*ReleaseResource, *http.Response, error) { + return r.ApiService.GetApiV1ReleaseByIdExecute(r) +} + +/* +GetApiV1ReleaseById Method for GetApiV1ReleaseById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ReleaseByIdRequest +*/ +func (a *ReleaseApiService) GetApiV1ReleaseById(ctx context.Context, id int32) ApiGetApiV1ReleaseByIdRequest { + return ApiGetApiV1ReleaseByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ReleaseResource +func (a *ReleaseApiService) GetApiV1ReleaseByIdExecute(r ApiGetApiV1ReleaseByIdRequest) (*ReleaseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.GetApiV1ReleaseById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/release/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ReleaseRequest struct { + ctx context.Context + ApiService *ReleaseApiService + albumId *int32 + artistId *int32 +} + +func (r ApiListApiV1ReleaseRequest) AlbumId(albumId int32) ApiListApiV1ReleaseRequest { + r.albumId = &albumId + return r +} + +func (r ApiListApiV1ReleaseRequest) ArtistId(artistId int32) ApiListApiV1ReleaseRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1ReleaseRequest) Execute() ([]*ReleaseResource, *http.Response, error) { + return r.ApiService.ListApiV1ReleaseExecute(r) +} + +/* +ListApiV1Release Method for ListApiV1Release + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ReleaseRequest +*/ +func (a *ReleaseApiService) ListApiV1Release(ctx context.Context) ApiListApiV1ReleaseRequest { + return ApiListApiV1ReleaseRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ReleaseResource +func (a *ReleaseApiService) ListApiV1ReleaseExecute(r ApiListApiV1ReleaseRequest) ([]*ReleaseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ReleaseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseApiService.ListApiV1Release") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/release" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.albumId != nil { + localVarQueryParams.Add("albumId", parameterToString(*r.albumId, "")) + } + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_release_profile.go b/lidarr/api_release_profile.go new file mode 100644 index 0000000..bddb420 --- /dev/null +++ b/lidarr/api_release_profile.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ReleaseProfileApiService ReleaseProfileApi service +type ReleaseProfileApiService service +type ApiCreateApiV1ReleaseprofileRequest struct { + ctx context.Context + ApiService *ReleaseProfileApiService + releaseProfileResource *ReleaseProfileResource +} + +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) +} + +/* +CreateApiV1Releaseprofile Method for CreateApiV1Releaseprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ReleaseprofileRequest +*/ +func (a *ReleaseProfileApiService) CreateApiV1Releaseprofile(ctx context.Context) ApiCreateApiV1ReleaseprofileRequest { + return ApiCreateApiV1ReleaseprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ReleaseProfileResource +func (a *ReleaseProfileApiService) CreateApiV1ReleaseprofileExecute(r ApiCreateApiV1ReleaseprofileRequest) (*ReleaseProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.CreateApiV1Releaseprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/releaseprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.releaseProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1ReleaseprofileRequest struct { + ctx context.Context + ApiService *ReleaseProfileApiService + id int32 +} + +func (r ApiDeleteApiV1ReleaseprofileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1ReleaseprofileExecute(r) +} + +/* +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 +*/ +func (a *ReleaseProfileApiService) DeleteApiV1Releaseprofile(ctx context.Context, id int32) ApiDeleteApiV1ReleaseprofileRequest { + return ApiDeleteApiV1ReleaseprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/releaseprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1ReleaseprofileByIdRequest struct { + ctx context.Context + ApiService *ReleaseProfileApiService + id int32 +} + +func (r ApiGetApiV1ReleaseprofileByIdRequest) Execute() (*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.GetApiV1ReleaseprofileByIdExecute(r) +} + +/* +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 +*/ +func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileById(ctx context.Context, id int32) ApiGetApiV1ReleaseprofileByIdRequest { + return ApiGetApiV1ReleaseprofileByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ReleaseProfileResource +func (a *ReleaseProfileApiService) GetApiV1ReleaseprofileByIdExecute(r ApiGetApiV1ReleaseprofileByIdRequest) (*ReleaseProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.GetApiV1ReleaseprofileById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/releaseprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1ReleaseprofileRequest struct { + ctx context.Context + ApiService *ReleaseProfileApiService +} + +func (r ApiListApiV1ReleaseprofileRequest) Execute() ([]*ReleaseProfileResource, *http.Response, error) { + return r.ApiService.ListApiV1ReleaseprofileExecute(r) +} + +/* +ListApiV1Releaseprofile Method for ListApiV1Releaseprofile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1ReleaseprofileRequest +*/ +func (a *ReleaseProfileApiService) ListApiV1Releaseprofile(ctx context.Context) ApiListApiV1ReleaseprofileRequest { + return ApiListApiV1ReleaseprofileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []ReleaseProfileResource +func (a *ReleaseProfileApiService) ListApiV1ReleaseprofileExecute(r ApiListApiV1ReleaseprofileRequest) ([]*ReleaseProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*ReleaseProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.ListApiV1Releaseprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/releaseprofile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ReleaseprofileRequest struct { + ctx context.Context + ApiService *ReleaseProfileApiService + id string + releaseProfileResource *ReleaseProfileResource +} + +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) +} + +/* +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 +*/ +func (a *ReleaseProfileApiService) UpdateApiV1Releaseprofile(ctx context.Context, id string) ApiUpdateApiV1ReleaseprofileRequest { + return ApiUpdateApiV1ReleaseprofileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ReleaseProfileResource +func (a *ReleaseProfileApiService) UpdateApiV1ReleaseprofileExecute(r ApiUpdateApiV1ReleaseprofileRequest) (*ReleaseProfileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseProfileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleaseProfileApiService.UpdateApiV1Releaseprofile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/releaseprofile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.releaseProfileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_release_push.go b/lidarr/api_release_push.go new file mode 100644 index 0000000..cb3f918 --- /dev/null +++ b/lidarr/api_release_push.go @@ -0,0 +1,284 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// ReleasePushApiService ReleasePushApi service +type ReleasePushApiService service +type ApiCreateApiV1ReleasePushRequest struct { + ctx context.Context + ApiService *ReleasePushApiService + releaseResource *ReleaseResource +} + +func (r ApiCreateApiV1ReleasePushRequest) ReleaseResource(releaseResource ReleaseResource) ApiCreateApiV1ReleasePushRequest { + r.releaseResource = &releaseResource + return r +} + +func (r ApiCreateApiV1ReleasePushRequest) Execute() (*ReleaseResource, *http.Response, error) { + return r.ApiService.CreateApiV1ReleasePushExecute(r) +} + +/* +CreateApiV1ReleasePush Method for CreateApiV1ReleasePush + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1ReleasePushRequest +*/ +func (a *ReleasePushApiService) CreateApiV1ReleasePush(ctx context.Context) ApiCreateApiV1ReleasePushRequest { + return ApiCreateApiV1ReleasePushRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return ReleaseResource +func (a *ReleasePushApiService) CreateApiV1ReleasePushExecute(r ApiCreateApiV1ReleasePushRequest) (*ReleaseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushApiService.CreateApiV1ReleasePush") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/release/push" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.releaseResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ReleasePushByIdRequest struct { + ctx context.Context + ApiService *ReleasePushApiService + id int32 +} + +func (r ApiGetApiV1ReleasePushByIdRequest) Execute() (*ReleaseResource, *http.Response, error) { + return r.ApiService.GetApiV1ReleasePushByIdExecute(r) +} + +/* +GetApiV1ReleasePushById Method for GetApiV1ReleasePushById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ReleasePushByIdRequest +*/ +func (a *ReleasePushApiService) GetApiV1ReleasePushById(ctx context.Context, id int32) ApiGetApiV1ReleasePushByIdRequest { + return ApiGetApiV1ReleasePushByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return ReleaseResource +func (a *ReleasePushApiService) GetApiV1ReleasePushByIdExecute(r ApiGetApiV1ReleasePushByIdRequest) (*ReleaseResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ReleaseResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReleasePushApiService.GetApiV1ReleasePushById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/release/push/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_remote_path_mapping.go b/lidarr/api_remote_path_mapping.go new file mode 100644 index 0000000..4dbf95a --- /dev/null +++ b/lidarr/api_remote_path_mapping.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// RemotePathMappingApiService RemotePathMappingApi service +type RemotePathMappingApiService service +type ApiCreateApiV1RemotepathmappingRequest struct { + ctx context.Context + ApiService *RemotePathMappingApiService + remotePathMappingResource *RemotePathMappingResource +} + +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) +} + +/* +CreateApiV1Remotepathmapping Method for CreateApiV1Remotepathmapping + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1RemotepathmappingRequest +*/ +func (a *RemotePathMappingApiService) CreateApiV1Remotepathmapping(ctx context.Context) ApiCreateApiV1RemotepathmappingRequest { + return ApiCreateApiV1RemotepathmappingRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RemotePathMappingResource +func (a *RemotePathMappingApiService) CreateApiV1RemotepathmappingExecute(r ApiCreateApiV1RemotepathmappingRequest) (*RemotePathMappingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RemotePathMappingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.CreateApiV1Remotepathmapping") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/remotepathmapping" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.remotePathMappingResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1RemotepathmappingRequest struct { + ctx context.Context + ApiService *RemotePathMappingApiService + id int32 +} + +func (r ApiDeleteApiV1RemotepathmappingRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1RemotepathmappingExecute(r) +} + +/* +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 +*/ +func (a *RemotePathMappingApiService) DeleteApiV1Remotepathmapping(ctx context.Context, id int32) ApiDeleteApiV1RemotepathmappingRequest { + return ApiDeleteApiV1RemotepathmappingRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/remotepathmapping/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1RemotepathmappingByIdRequest struct { + ctx context.Context + ApiService *RemotePathMappingApiService + id int32 +} + +func (r ApiGetApiV1RemotepathmappingByIdRequest) Execute() (*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.GetApiV1RemotepathmappingByIdExecute(r) +} + +/* +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 +*/ +func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingById(ctx context.Context, id int32) ApiGetApiV1RemotepathmappingByIdRequest { + return ApiGetApiV1RemotepathmappingByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return RemotePathMappingResource +func (a *RemotePathMappingApiService) GetApiV1RemotepathmappingByIdExecute(r ApiGetApiV1RemotepathmappingByIdRequest) (*RemotePathMappingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RemotePathMappingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.GetApiV1RemotepathmappingById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/remotepathmapping/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1RemotepathmappingRequest struct { + ctx context.Context + ApiService *RemotePathMappingApiService +} + +func (r ApiListApiV1RemotepathmappingRequest) Execute() ([]*RemotePathMappingResource, *http.Response, error) { + return r.ApiService.ListApiV1RemotepathmappingExecute(r) +} + +/* +ListApiV1Remotepathmapping Method for ListApiV1Remotepathmapping + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1RemotepathmappingRequest +*/ +func (a *RemotePathMappingApiService) ListApiV1Remotepathmapping(ctx context.Context) ApiListApiV1RemotepathmappingRequest { + return ApiListApiV1RemotepathmappingRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []RemotePathMappingResource +func (a *RemotePathMappingApiService) ListApiV1RemotepathmappingExecute(r ApiListApiV1RemotepathmappingRequest) ([]*RemotePathMappingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*RemotePathMappingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.ListApiV1Remotepathmapping") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/remotepathmapping" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1RemotepathmappingRequest struct { + ctx context.Context + ApiService *RemotePathMappingApiService + id string + remotePathMappingResource *RemotePathMappingResource +} + +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) +} + +/* +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 +*/ +func (a *RemotePathMappingApiService) UpdateApiV1Remotepathmapping(ctx context.Context, id string) ApiUpdateApiV1RemotepathmappingRequest { + return ApiUpdateApiV1RemotepathmappingRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return RemotePathMappingResource +func (a *RemotePathMappingApiService) UpdateApiV1RemotepathmappingExecute(r ApiUpdateApiV1RemotepathmappingRequest) (*RemotePathMappingResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RemotePathMappingResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RemotePathMappingApiService.UpdateApiV1Remotepathmapping") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/remotepathmapping/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.remotePathMappingResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_rename_track.go b/lidarr/api_rename_track.go new file mode 100644 index 0000000..ac5aac3 --- /dev/null +++ b/lidarr/api_rename_track.go @@ -0,0 +1,165 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// RenameTrackApiService RenameTrackApi service +type RenameTrackApiService service +type ApiListApiV1RenameRequest struct { + ctx context.Context + ApiService *RenameTrackApiService + artistId *int32 + albumId *int32 +} + +func (r ApiListApiV1RenameRequest) ArtistId(artistId int32) ApiListApiV1RenameRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1RenameRequest) AlbumId(albumId int32) ApiListApiV1RenameRequest { + r.albumId = &albumId + return r +} + +func (r ApiListApiV1RenameRequest) Execute() ([]*RenameTrackResource, *http.Response, error) { + return r.ApiService.ListApiV1RenameExecute(r) +} + +/* +ListApiV1Rename Method for ListApiV1Rename + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1RenameRequest +*/ +func (a *RenameTrackApiService) ListApiV1Rename(ctx context.Context) ApiListApiV1RenameRequest { + return ApiListApiV1RenameRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []RenameTrackResource +func (a *RenameTrackApiService) ListApiV1RenameExecute(r ApiListApiV1RenameRequest) ([]*RenameTrackResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*RenameTrackResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RenameTrackApiService.ListApiV1Rename") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rename" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumId != nil { + localVarQueryParams.Add("albumId", parameterToString(*r.albumId, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_retag_track.go b/lidarr/api_retag_track.go new file mode 100644 index 0000000..a1140b0 --- /dev/null +++ b/lidarr/api_retag_track.go @@ -0,0 +1,165 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// RetagTrackApiService RetagTrackApi service +type RetagTrackApiService service +type ApiListApiV1RetagRequest struct { + ctx context.Context + ApiService *RetagTrackApiService + artistId *int32 + albumId *int32 +} + +func (r ApiListApiV1RetagRequest) ArtistId(artistId int32) ApiListApiV1RetagRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1RetagRequest) AlbumId(albumId int32) ApiListApiV1RetagRequest { + r.albumId = &albumId + return r +} + +func (r ApiListApiV1RetagRequest) Execute() ([]*RetagTrackResource, *http.Response, error) { + return r.ApiService.ListApiV1RetagExecute(r) +} + +/* +ListApiV1Retag Method for ListApiV1Retag + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1RetagRequest +*/ +func (a *RetagTrackApiService) ListApiV1Retag(ctx context.Context) ApiListApiV1RetagRequest { + return ApiListApiV1RetagRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []RetagTrackResource +func (a *RetagTrackApiService) ListApiV1RetagExecute(r ApiListApiV1RetagRequest) ([]*RetagTrackResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*RetagTrackResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RetagTrackApiService.ListApiV1Retag") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/retag" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumId != nil { + localVarQueryParams.Add("albumId", parameterToString(*r.albumId, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_root_folder.go b/lidarr/api_root_folder.go new file mode 100644 index 0000000..6989573 --- /dev/null +++ b/lidarr/api_root_folder.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// RootFolderApiService RootFolderApi service +type RootFolderApiService service +type ApiCreateApiV1RootfolderRequest struct { + ctx context.Context + ApiService *RootFolderApiService + rootFolderResource *RootFolderResource +} + +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) +} + +/* +CreateApiV1Rootfolder Method for CreateApiV1Rootfolder + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1RootfolderRequest +*/ +func (a *RootFolderApiService) CreateApiV1Rootfolder(ctx context.Context) ApiCreateApiV1RootfolderRequest { + return ApiCreateApiV1RootfolderRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return RootFolderResource +func (a *RootFolderApiService) CreateApiV1RootfolderExecute(r ApiCreateApiV1RootfolderRequest) (*RootFolderResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RootFolderResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.CreateApiV1Rootfolder") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rootfolder" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rootFolderResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1RootfolderRequest struct { + ctx context.Context + ApiService *RootFolderApiService + id int32 +} + +func (r ApiDeleteApiV1RootfolderRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1RootfolderExecute(r) +} + +/* +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 +*/ +func (a *RootFolderApiService) DeleteApiV1Rootfolder(ctx context.Context, id int32) ApiDeleteApiV1RootfolderRequest { + return ApiDeleteApiV1RootfolderRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rootfolder/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1RootfolderByIdRequest struct { + ctx context.Context + ApiService *RootFolderApiService + id int32 +} + +func (r ApiGetApiV1RootfolderByIdRequest) Execute() (*RootFolderResource, *http.Response, error) { + return r.ApiService.GetApiV1RootfolderByIdExecute(r) +} + +/* +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 +*/ +func (a *RootFolderApiService) GetApiV1RootfolderById(ctx context.Context, id int32) ApiGetApiV1RootfolderByIdRequest { + return ApiGetApiV1RootfolderByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return RootFolderResource +func (a *RootFolderApiService) GetApiV1RootfolderByIdExecute(r ApiGetApiV1RootfolderByIdRequest) (*RootFolderResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RootFolderResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.GetApiV1RootfolderById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rootfolder/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1RootfolderRequest struct { + ctx context.Context + ApiService *RootFolderApiService +} + +func (r ApiListApiV1RootfolderRequest) Execute() ([]*RootFolderResource, *http.Response, error) { + return r.ApiService.ListApiV1RootfolderExecute(r) +} + +/* +ListApiV1Rootfolder Method for ListApiV1Rootfolder + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1RootfolderRequest +*/ +func (a *RootFolderApiService) ListApiV1Rootfolder(ctx context.Context) ApiListApiV1RootfolderRequest { + return ApiListApiV1RootfolderRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []RootFolderResource +func (a *RootFolderApiService) ListApiV1RootfolderExecute(r ApiListApiV1RootfolderRequest) ([]*RootFolderResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*RootFolderResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.ListApiV1Rootfolder") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rootfolder" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1RootfolderRequest struct { + ctx context.Context + ApiService *RootFolderApiService + id string + rootFolderResource *RootFolderResource +} + +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) +} + +/* +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 +*/ +func (a *RootFolderApiService) UpdateApiV1Rootfolder(ctx context.Context, id string) ApiUpdateApiV1RootfolderRequest { + return ApiUpdateApiV1RootfolderRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return RootFolderResource +func (a *RootFolderApiService) UpdateApiV1RootfolderExecute(r ApiUpdateApiV1RootfolderRequest) (*RootFolderResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RootFolderResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RootFolderApiService.UpdateApiV1Rootfolder") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/rootfolder/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.rootFolderResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_search.go b/lidarr/api_search.go new file mode 100644 index 0000000..8d9e0b6 --- /dev/null +++ b/lidarr/api_search.go @@ -0,0 +1,145 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// SearchApiService SearchApi service +type SearchApiService service +type ApiGetApiV1SearchRequest struct { + ctx context.Context + ApiService *SearchApiService + term *string +} + +func (r ApiGetApiV1SearchRequest) Term(term string) ApiGetApiV1SearchRequest { + r.term = &term + return r +} + +func (r ApiGetApiV1SearchRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1SearchExecute(r) +} + +/* +GetApiV1Search Method for GetApiV1Search + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1SearchRequest +*/ +func (a *SearchApiService) GetApiV1Search(ctx context.Context) ApiGetApiV1SearchRequest { + return ApiGetApiV1SearchRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SearchApiService) GetApiV1SearchExecute(r ApiGetApiV1SearchRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SearchApiService.GetApiV1Search") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/search" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.term != nil { + localVarQueryParams.Add("term", parameterToString(*r.term, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_static_resource.go b/lidarr/api_static_resource.go new file mode 100644 index 0000000..2dda6d2 --- /dev/null +++ b/lidarr/api_static_resource.go @@ -0,0 +1,488 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// StaticResourceApiService StaticResourceApi service +type StaticResourceApiService service +type ApiGetRequest struct { + ctx context.Context + ApiService *StaticResourceApiService + path string +} + +func (r ApiGetRequest) Execute() (*http.Response, error) { + return r.ApiService.GetExecute(r) +} + +/* +Get Method for Get + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param path + @return ApiGetRequest +*/ +func (a *StaticResourceApiService) Get(ctx context.Context, path string) ApiGetRequest { + return ApiGetRequest{ + ApiService: a, + ctx: ctx, + path: path, + } +} + +// Execute executes the request +func (a *StaticResourceApiService) GetExecute(r ApiGetRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.Get") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/" + localVarPath = strings.Replace(localVarPath, "{"+"path"+"}", url.PathEscape(parameterToString(r.path, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetByPathRequest struct { + ctx context.Context + ApiService *StaticResourceApiService + path string +} + +func (r ApiGetByPathRequest) Execute() (*http.Response, error) { + return r.ApiService.GetByPathExecute(r) +} + +/* +GetByPath Method for GetByPath + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param path + @return ApiGetByPathRequest +*/ +func (a *StaticResourceApiService) GetByPath(ctx context.Context, path string) ApiGetByPathRequest { + return ApiGetByPathRequest{ + ApiService: a, + ctx: ctx, + path: path, + } +} + +// Execute executes the request +func (a *StaticResourceApiService) GetByPathExecute(r ApiGetByPathRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetByPath") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/{path}" + localVarPath = strings.Replace(localVarPath, "{"+"path"+"}", url.PathEscape(parameterToString(r.path, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetContentByPathRequest struct { + ctx context.Context + ApiService *StaticResourceApiService + path string +} + +func (r ApiGetContentByPathRequest) Execute() (*http.Response, error) { + return r.ApiService.GetContentByPathExecute(r) +} + +/* +GetContentByPath Method for GetContentByPath + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param path + @return ApiGetContentByPathRequest +*/ +func (a *StaticResourceApiService) GetContentByPath(ctx context.Context, path string) ApiGetContentByPathRequest { + return ApiGetContentByPathRequest{ + ApiService: a, + ctx: ctx, + path: path, + } +} + +// Execute executes the request +func (a *StaticResourceApiService) GetContentByPathExecute(r ApiGetContentByPathRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetContentByPath") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/content/{path}" + localVarPath = strings.Replace(localVarPath, "{"+"path"+"}", url.PathEscape(parameterToString(r.path, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetLoginRequest struct { + ctx context.Context + ApiService *StaticResourceApiService +} + +func (r ApiGetLoginRequest) Execute() (*http.Response, error) { + return r.ApiService.GetLoginExecute(r) +} + +/* +GetLogin Method for GetLogin + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetLoginRequest +*/ +func (a *StaticResourceApiService) GetLogin(ctx context.Context) ApiGetLoginRequest { + return ApiGetLoginRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *StaticResourceApiService) GetLoginExecute(r ApiGetLoginRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StaticResourceApiService.GetLogin") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/login" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_system.go b/lidarr/api_system.go new file mode 100644 index 0000000..8068b64 --- /dev/null +++ b/lidarr/api_system.go @@ -0,0 +1,588 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// SystemApiService SystemApi service +type SystemApiService service +type ApiCreateApiV1SystemRestartRequest struct { + ctx context.Context + ApiService *SystemApiService +} + +func (r ApiCreateApiV1SystemRestartRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1SystemRestartExecute(r) +} + +/* +CreateApiV1SystemRestart Method for CreateApiV1SystemRestart + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1SystemRestartRequest +*/ +func (a *SystemApiService) CreateApiV1SystemRestart(ctx context.Context) ApiCreateApiV1SystemRestartRequest { + return ApiCreateApiV1SystemRestartRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SystemApiService) CreateApiV1SystemRestartExecute(r ApiCreateApiV1SystemRestartRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.CreateApiV1SystemRestart") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/restart" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiCreateApiV1SystemShutdownRequest struct { + ctx context.Context + ApiService *SystemApiService +} + +func (r ApiCreateApiV1SystemShutdownRequest) Execute() (*http.Response, error) { + return r.ApiService.CreateApiV1SystemShutdownExecute(r) +} + +/* +CreateApiV1SystemShutdown Method for CreateApiV1SystemShutdown + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1SystemShutdownRequest +*/ +func (a *SystemApiService) CreateApiV1SystemShutdown(ctx context.Context) ApiCreateApiV1SystemShutdownRequest { + return ApiCreateApiV1SystemShutdownRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SystemApiService) CreateApiV1SystemShutdownExecute(r ApiCreateApiV1SystemShutdownRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.CreateApiV1SystemShutdown") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/shutdown" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1SystemRoutesRequest struct { + ctx context.Context + ApiService *SystemApiService +} + +func (r ApiGetApiV1SystemRoutesRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1SystemRoutesExecute(r) +} + +/* +GetApiV1SystemRoutes Method for GetApiV1SystemRoutes + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1SystemRoutesRequest +*/ +func (a *SystemApiService) GetApiV1SystemRoutes(ctx context.Context) ApiGetApiV1SystemRoutesRequest { + return ApiGetApiV1SystemRoutesRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SystemApiService) GetApiV1SystemRoutesExecute(r ApiGetApiV1SystemRoutesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetApiV1SystemRoutes") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/routes" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1SystemRoutesDuplicateRequest struct { + ctx context.Context + ApiService *SystemApiService +} + +func (r ApiGetApiV1SystemRoutesDuplicateRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1SystemRoutesDuplicateExecute(r) +} + +/* +GetApiV1SystemRoutesDuplicate Method for GetApiV1SystemRoutesDuplicate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1SystemRoutesDuplicateRequest +*/ +func (a *SystemApiService) GetApiV1SystemRoutesDuplicate(ctx context.Context) ApiGetApiV1SystemRoutesDuplicateRequest { + return ApiGetApiV1SystemRoutesDuplicateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SystemApiService) GetApiV1SystemRoutesDuplicateExecute(r ApiGetApiV1SystemRoutesDuplicateRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetApiV1SystemRoutesDuplicate") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/routes/duplicate" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1SystemStatusRequest struct { + ctx context.Context + ApiService *SystemApiService +} + +func (r ApiGetApiV1SystemStatusRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1SystemStatusExecute(r) +} + +/* +GetApiV1SystemStatus Method for GetApiV1SystemStatus + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1SystemStatusRequest +*/ +func (a *SystemApiService) GetApiV1SystemStatus(ctx context.Context) ApiGetApiV1SystemStatusRequest { + return ApiGetApiV1SystemStatusRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +func (a *SystemApiService) GetApiV1SystemStatusExecute(r ApiGetApiV1SystemStatusRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SystemApiService.GetApiV1SystemStatus") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/status" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/lidarr/api_tag.go b/lidarr/api_tag.go new file mode 100644 index 0000000..d8f46dd --- /dev/null +++ b/lidarr/api_tag.go @@ -0,0 +1,661 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// TagApiService TagApi service +type TagApiService service +type ApiCreateApiV1TagRequest struct { + ctx context.Context + ApiService *TagApiService + tagResource *TagResource +} + +func (r ApiCreateApiV1TagRequest) TagResource(tagResource TagResource) ApiCreateApiV1TagRequest { + r.tagResource = &tagResource + return r +} + +func (r ApiCreateApiV1TagRequest) Execute() (*TagResource, *http.Response, error) { + return r.ApiService.CreateApiV1TagExecute(r) +} + +/* +CreateApiV1Tag Method for CreateApiV1Tag + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiCreateApiV1TagRequest +*/ +func (a *TagApiService) CreateApiV1Tag(ctx context.Context) ApiCreateApiV1TagRequest { + return ApiCreateApiV1TagRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return TagResource +func (a *TagApiService) CreateApiV1TagExecute(r ApiCreateApiV1TagRequest) (*TagResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TagResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.CreateApiV1Tag") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.tagResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiDeleteApiV1TagRequest struct { + ctx context.Context + ApiService *TagApiService + id int32 +} + +func (r ApiDeleteApiV1TagRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1TagExecute(r) +} + +/* +DeleteApiV1Tag Method for DeleteApiV1Tag + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiDeleteApiV1TagRequest +*/ +func (a *TagApiService) DeleteApiV1Tag(ctx context.Context, id int32) ApiDeleteApiV1TagRequest { + return ApiDeleteApiV1TagRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +func (a *TagApiService) DeleteApiV1TagExecute(r ApiDeleteApiV1TagRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.DeleteApiV1Tag") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1TagByIdRequest struct { + ctx context.Context + ApiService *TagApiService + id int32 +} + +func (r ApiGetApiV1TagByIdRequest) Execute() (*TagResource, *http.Response, error) { + return r.ApiService.GetApiV1TagByIdExecute(r) +} + +/* +GetApiV1TagById Method for GetApiV1TagById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1TagByIdRequest +*/ +func (a *TagApiService) GetApiV1TagById(ctx context.Context, id int32) ApiGetApiV1TagByIdRequest { + return ApiGetApiV1TagByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TagResource +func (a *TagApiService) GetApiV1TagByIdExecute(r ApiGetApiV1TagByIdRequest) (*TagResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TagResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.GetApiV1TagById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1TagRequest struct { + ctx context.Context + ApiService *TagApiService +} + +func (r ApiListApiV1TagRequest) Execute() ([]*TagResource, *http.Response, error) { + return r.ApiService.ListApiV1TagExecute(r) +} + +/* +ListApiV1Tag Method for ListApiV1Tag + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1TagRequest +*/ +func (a *TagApiService) ListApiV1Tag(ctx context.Context) ApiListApiV1TagRequest { + return ApiListApiV1TagRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []TagResource +func (a *TagApiService) ListApiV1TagExecute(r ApiListApiV1TagRequest) ([]*TagResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*TagResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.ListApiV1Tag") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1TagRequest struct { + ctx context.Context + ApiService *TagApiService + id string + tagResource *TagResource +} + +func (r ApiUpdateApiV1TagRequest) TagResource(tagResource TagResource) ApiUpdateApiV1TagRequest { + r.tagResource = &tagResource + return r +} + +func (r ApiUpdateApiV1TagRequest) Execute() (*TagResource, *http.Response, error) { + return r.ApiService.UpdateApiV1TagExecute(r) +} + +/* +UpdateApiV1Tag Method for UpdateApiV1Tag + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1TagRequest +*/ +func (a *TagApiService) UpdateApiV1Tag(ctx context.Context, id string) ApiUpdateApiV1TagRequest { + return ApiUpdateApiV1TagRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TagResource +func (a *TagApiService) UpdateApiV1TagExecute(r ApiUpdateApiV1TagRequest) (*TagResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TagResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagApiService.UpdateApiV1Tag") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.tagResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_tag_details.go b/lidarr/api_tag_details.go new file mode 100644 index 0000000..f8cb2ad --- /dev/null +++ b/lidarr/api_tag_details.go @@ -0,0 +1,276 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// TagDetailsApiService TagDetailsApi service +type TagDetailsApiService service +type ApiGetApiV1TagDetailByIdRequest struct { + ctx context.Context + ApiService *TagDetailsApiService + id int32 +} + +func (r ApiGetApiV1TagDetailByIdRequest) Execute() (*TagDetailsResource, *http.Response, error) { + return r.ApiService.GetApiV1TagDetailByIdExecute(r) +} + +/* +GetApiV1TagDetailById Method for GetApiV1TagDetailById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1TagDetailByIdRequest +*/ +func (a *TagDetailsApiService) GetApiV1TagDetailById(ctx context.Context, id int32) ApiGetApiV1TagDetailByIdRequest { + return ApiGetApiV1TagDetailByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TagDetailsResource +func (a *TagDetailsApiService) GetApiV1TagDetailByIdExecute(r ApiGetApiV1TagDetailByIdRequest) (*TagDetailsResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TagDetailsResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsApiService.GetApiV1TagDetailById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag/detail/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1TagDetailRequest struct { + ctx context.Context + ApiService *TagDetailsApiService +} + +func (r ApiListApiV1TagDetailRequest) Execute() ([]*TagDetailsResource, *http.Response, error) { + return r.ApiService.ListApiV1TagDetailExecute(r) +} + +/* +ListApiV1TagDetail Method for ListApiV1TagDetail + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1TagDetailRequest +*/ +func (a *TagDetailsApiService) ListApiV1TagDetail(ctx context.Context) ApiListApiV1TagDetailRequest { + return ApiListApiV1TagDetailRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []TagDetailsResource +func (a *TagDetailsApiService) ListApiV1TagDetailExecute(r ApiListApiV1TagDetailRequest) ([]*TagDetailsResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*TagDetailsResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TagDetailsApiService.ListApiV1TagDetail") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/tag/detail" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_task.go b/lidarr/api_task.go new file mode 100644 index 0000000..6c337dd --- /dev/null +++ b/lidarr/api_task.go @@ -0,0 +1,276 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// TaskApiService TaskApi service +type TaskApiService service +type ApiGetApiV1SystemTaskByIdRequest struct { + ctx context.Context + ApiService *TaskApiService + id int32 +} + +func (r ApiGetApiV1SystemTaskByIdRequest) Execute() (*TaskResource, *http.Response, error) { + return r.ApiService.GetApiV1SystemTaskByIdExecute(r) +} + +/* +GetApiV1SystemTaskById Method for GetApiV1SystemTaskById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1SystemTaskByIdRequest +*/ +func (a *TaskApiService) GetApiV1SystemTaskById(ctx context.Context, id int32) ApiGetApiV1SystemTaskByIdRequest { + return ApiGetApiV1SystemTaskByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TaskResource +func (a *TaskApiService) GetApiV1SystemTaskByIdExecute(r ApiGetApiV1SystemTaskByIdRequest) (*TaskResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TaskResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskApiService.GetApiV1SystemTaskById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/task/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1SystemTaskRequest struct { + ctx context.Context + ApiService *TaskApiService +} + +func (r ApiListApiV1SystemTaskRequest) Execute() ([]*TaskResource, *http.Response, error) { + return r.ApiService.ListApiV1SystemTaskExecute(r) +} + +/* +ListApiV1SystemTask Method for ListApiV1SystemTask + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1SystemTaskRequest +*/ +func (a *TaskApiService) ListApiV1SystemTask(ctx context.Context) ApiListApiV1SystemTaskRequest { + return ApiListApiV1SystemTaskRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []TaskResource +func (a *TaskApiService) ListApiV1SystemTaskExecute(r ApiListApiV1SystemTaskRequest) ([]*TaskResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*TaskResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskApiService.ListApiV1SystemTask") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/system/task" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_track.go b/lidarr/api_track.go new file mode 100644 index 0000000..c3f80cb --- /dev/null +++ b/lidarr/api_track.go @@ -0,0 +1,321 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "reflect" +) + + +// TrackApiService TrackApi service +type TrackApiService service +type ApiGetApiV1TrackByIdRequest struct { + ctx context.Context + ApiService *TrackApiService + id int32 +} + +func (r ApiGetApiV1TrackByIdRequest) Execute() (*TrackResource, *http.Response, error) { + return r.ApiService.GetApiV1TrackByIdExecute(r) +} + +/* +GetApiV1TrackById Method for GetApiV1TrackById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1TrackByIdRequest +*/ +func (a *TrackApiService) GetApiV1TrackById(ctx context.Context, id int32) ApiGetApiV1TrackByIdRequest { + return ApiGetApiV1TrackByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TrackResource +func (a *TrackApiService) GetApiV1TrackByIdExecute(r ApiGetApiV1TrackByIdRequest) (*TrackResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TrackResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackApiService.GetApiV1TrackById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/track/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1TrackRequest struct { + ctx context.Context + ApiService *TrackApiService + artistId *int32 + albumId *int32 + albumReleaseId *int32 + trackIds *[]int32 +} + +func (r ApiListApiV1TrackRequest) ArtistId(artistId int32) ApiListApiV1TrackRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1TrackRequest) AlbumId(albumId int32) ApiListApiV1TrackRequest { + r.albumId = &albumId + return r +} + +func (r ApiListApiV1TrackRequest) AlbumReleaseId(albumReleaseId int32) ApiListApiV1TrackRequest { + r.albumReleaseId = &albumReleaseId + return r +} + +func (r ApiListApiV1TrackRequest) TrackIds(trackIds []int32) ApiListApiV1TrackRequest { + r.trackIds = &trackIds + return r +} + +func (r ApiListApiV1TrackRequest) Execute() ([]*TrackResource, *http.Response, error) { + return r.ApiService.ListApiV1TrackExecute(r) +} + +/* +ListApiV1Track Method for ListApiV1Track + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1TrackRequest +*/ +func (a *TrackApiService) ListApiV1Track(ctx context.Context) ApiListApiV1TrackRequest { + return ApiListApiV1TrackRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []TrackResource +func (a *TrackApiService) ListApiV1TrackExecute(r ApiListApiV1TrackRequest) ([]*TrackResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*TrackResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackApiService.ListApiV1Track") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/track" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.albumId != nil { + localVarQueryParams.Add("albumId", parameterToString(*r.albumId, "")) + } + if r.albumReleaseId != nil { + localVarQueryParams.Add("albumReleaseId", parameterToString(*r.albumReleaseId, "")) + } + if r.trackIds != nil { + t := *r.trackIds + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + localVarQueryParams.Add("trackIds", parameterToString(s.Index(i), "multi")) + } + } else { + localVarQueryParams.Add("trackIds", parameterToString(t, "multi")) + } + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_track_file.go b/lidarr/api_track_file.go new file mode 100644 index 0000000..150a548 --- /dev/null +++ b/lidarr/api_track_file.go @@ -0,0 +1,824 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" + "reflect" +) + + +// TrackFileApiService TrackFileApi service +type TrackFileApiService service +type ApiDeleteApiV1TrackfileRequest struct { + ctx context.Context + ApiService *TrackFileApiService + id int32 +} + +func (r ApiDeleteApiV1TrackfileRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1TrackfileExecute(r) +} + +/* +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 +*/ +func (a *TrackFileApiService) DeleteApiV1Trackfile(ctx context.Context, id int32) ApiDeleteApiV1TrackfileRequest { + return ApiDeleteApiV1TrackfileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +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") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiDeleteApiV1TrackfileBulkRequest struct { + ctx context.Context + ApiService *TrackFileApiService + trackFileListResource *TrackFileListResource +} + +func (r ApiDeleteApiV1TrackfileBulkRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiDeleteApiV1TrackfileBulkRequest { + r.trackFileListResource = &trackFileListResource + return r +} + +func (r ApiDeleteApiV1TrackfileBulkRequest) Execute() (*http.Response, error) { + return r.ApiService.DeleteApiV1TrackfileBulkExecute(r) +} + +/* +DeleteApiV1TrackfileBulk Method for DeleteApiV1TrackfileBulk + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.DeleteApiV1TrackfileBulk") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile/bulk" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.trackFileListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiGetApiV1TrackfileByIdRequest struct { + ctx context.Context + ApiService *TrackFileApiService + id int32 +} + +func (r ApiGetApiV1TrackfileByIdRequest) Execute() (*TrackFileResource, *http.Response, error) { + return r.ApiService.GetApiV1TrackfileByIdExecute(r) +} + +/* +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 +*/ +func (a *TrackFileApiService) GetApiV1TrackfileById(ctx context.Context, id int32) ApiGetApiV1TrackfileByIdRequest { + return ApiGetApiV1TrackfileByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TrackFileResource +func (a *TrackFileApiService) GetApiV1TrackfileByIdExecute(r ApiGetApiV1TrackfileByIdRequest) (*TrackFileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TrackFileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.GetApiV1TrackfileById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiListApiV1TrackfileRequest struct { + ctx context.Context + ApiService *TrackFileApiService + artistId *int32 + trackFileIds *[]int32 + albumId *[]int32 + unmapped *bool +} + +func (r ApiListApiV1TrackfileRequest) ArtistId(artistId int32) ApiListApiV1TrackfileRequest { + r.artistId = &artistId + return r +} + +func (r ApiListApiV1TrackfileRequest) TrackFileIds(trackFileIds []int32) ApiListApiV1TrackfileRequest { + r.trackFileIds = &trackFileIds + return r +} + +func (r ApiListApiV1TrackfileRequest) AlbumId(albumId []int32) ApiListApiV1TrackfileRequest { + r.albumId = &albumId + return r +} + +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) +} + +/* +ListApiV1Trackfile Method for ListApiV1Trackfile + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1TrackfileRequest +*/ +func (a *TrackFileApiService) ListApiV1Trackfile(ctx context.Context) ApiListApiV1TrackfileRequest { + return ApiListApiV1TrackfileRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []TrackFileResource +func (a *TrackFileApiService) ListApiV1TrackfileExecute(r ApiListApiV1TrackfileRequest) ([]*TrackFileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*TrackFileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.ListApiV1Trackfile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.artistId != nil { + localVarQueryParams.Add("artistId", parameterToString(*r.artistId, "")) + } + if r.trackFileIds != nil { + t := *r.trackFileIds + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + localVarQueryParams.Add("trackFileIds", parameterToString(s.Index(i), "multi")) + } + } else { + localVarQueryParams.Add("trackFileIds", parameterToString(t, "multi")) + } + } + if r.albumId != nil { + t := *r.albumId + if reflect.TypeOf(t).Kind() == reflect.Slice { + s := reflect.ValueOf(t) + for i := 0; i < s.Len(); i++ { + localVarQueryParams.Add("albumId", parameterToString(s.Index(i), "multi")) + } + } else { + localVarQueryParams.Add("albumId", parameterToString(t, "multi")) + } + } + if r.unmapped != nil { + localVarQueryParams.Add("unmapped", parameterToString(*r.unmapped, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiPutApiV1TrackfileEditorRequest struct { + ctx context.Context + ApiService *TrackFileApiService + trackFileListResource *TrackFileListResource +} + +func (r ApiPutApiV1TrackfileEditorRequest) TrackFileListResource(trackFileListResource TrackFileListResource) ApiPutApiV1TrackfileEditorRequest { + r.trackFileListResource = &trackFileListResource + return r +} + +func (r ApiPutApiV1TrackfileEditorRequest) Execute() (*http.Response, error) { + return r.ApiService.PutApiV1TrackfileEditorExecute(r) +} + +/* +PutApiV1TrackfileEditor Method for PutApiV1TrackfileEditor + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @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) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.PutApiV1TrackfileEditor") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile/editor" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.trackFileListResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiUpdateApiV1TrackfileRequest struct { + ctx context.Context + ApiService *TrackFileApiService + id string + trackFileResource *TrackFileResource +} + +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) +} + +/* +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 +*/ +func (a *TrackFileApiService) UpdateApiV1Trackfile(ctx context.Context, id string) ApiUpdateApiV1TrackfileRequest { + return ApiUpdateApiV1TrackfileRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return TrackFileResource +func (a *TrackFileApiService) UpdateApiV1TrackfileExecute(r ApiUpdateApiV1TrackfileRequest) (*TrackFileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *TrackFileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TrackFileApiService.UpdateApiV1Trackfile") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/trackfile/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.trackFileResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_ui_config.go b/lidarr/api_ui_config.go new file mode 100644 index 0000000..5902603 --- /dev/null +++ b/lidarr/api_ui_config.go @@ -0,0 +1,412 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// UiConfigApiService UiConfigApi service +type UiConfigApiService service +type ApiGetApiV1ConfigUiRequest struct { + ctx context.Context + ApiService *UiConfigApiService +} + +func (r ApiGetApiV1ConfigUiRequest) Execute() (*UiConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigUiExecute(r) +} + +/* +GetApiV1ConfigUi Method for GetApiV1ConfigUi + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiGetApiV1ConfigUiRequest +*/ +func (a *UiConfigApiService) GetApiV1ConfigUi(ctx context.Context) ApiGetApiV1ConfigUiRequest { + return ApiGetApiV1ConfigUiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return UiConfigResource +func (a *UiConfigApiService) GetApiV1ConfigUiExecute(r ApiGetApiV1ConfigUiRequest) (*UiConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UiConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.GetApiV1ConfigUi") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/ui" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiGetApiV1ConfigUiByIdRequest struct { + ctx context.Context + ApiService *UiConfigApiService + id int32 +} + +func (r ApiGetApiV1ConfigUiByIdRequest) Execute() (*UiConfigResource, *http.Response, error) { + return r.ApiService.GetApiV1ConfigUiByIdExecute(r) +} + +/* +GetApiV1ConfigUiById Method for GetApiV1ConfigUiById + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiGetApiV1ConfigUiByIdRequest +*/ +func (a *UiConfigApiService) GetApiV1ConfigUiById(ctx context.Context, id int32) ApiGetApiV1ConfigUiByIdRequest { + return ApiGetApiV1ConfigUiByIdRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return UiConfigResource +func (a *UiConfigApiService) GetApiV1ConfigUiByIdExecute(r ApiGetApiV1ConfigUiByIdRequest) (*UiConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UiConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.GetApiV1ConfigUiById") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/ui/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} +type ApiUpdateApiV1ConfigUiRequest struct { + ctx context.Context + ApiService *UiConfigApiService + id string + uiConfigResource *UiConfigResource +} + +func (r ApiUpdateApiV1ConfigUiRequest) UiConfigResource(uiConfigResource UiConfigResource) ApiUpdateApiV1ConfigUiRequest { + r.uiConfigResource = &uiConfigResource + return r +} + +func (r ApiUpdateApiV1ConfigUiRequest) Execute() (*UiConfigResource, *http.Response, error) { + return r.ApiService.UpdateApiV1ConfigUiExecute(r) +} + +/* +UpdateApiV1ConfigUi Method for UpdateApiV1ConfigUi + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param id + @return ApiUpdateApiV1ConfigUiRequest +*/ +func (a *UiConfigApiService) UpdateApiV1ConfigUi(ctx context.Context, id string) ApiUpdateApiV1ConfigUiRequest { + return ApiUpdateApiV1ConfigUiRequest{ + ApiService: a, + ctx: ctx, + id: id, + } +} + +// Execute executes the request +// @return UiConfigResource +func (a *UiConfigApiService) UpdateApiV1ConfigUiExecute(r ApiUpdateApiV1ConfigUiRequest) (*UiConfigResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *UiConfigResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiConfigApiService.UpdateApiV1ConfigUi") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/config/ui/{id}" + localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterToString(r.id, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json", "text/json", "application/*+json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.uiConfigResource + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_update.go b/lidarr/api_update.go new file mode 100644 index 0000000..419bc0a --- /dev/null +++ b/lidarr/api_update.go @@ -0,0 +1,147 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + + +// UpdateApiService UpdateApi service +type UpdateApiService service +type ApiListApiV1UpdateRequest struct { + ctx context.Context + ApiService *UpdateApiService +} + +func (r ApiListApiV1UpdateRequest) Execute() ([]*UpdateResource, *http.Response, error) { + return r.ApiService.ListApiV1UpdateExecute(r) +} + +/* +ListApiV1Update Method for ListApiV1Update + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1UpdateRequest +*/ +func (a *UpdateApiService) ListApiV1Update(ctx context.Context) ApiListApiV1UpdateRequest { + return ApiListApiV1UpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []UpdateResource +func (a *UpdateApiService) ListApiV1UpdateExecute(r ApiListApiV1UpdateRequest) ([]*UpdateResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*UpdateResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateApiService.ListApiV1Update") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/update" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/api_update_log_file.go b/lidarr/api_update_log_file.go new file mode 100644 index 0000000..9e87c37 --- /dev/null +++ b/lidarr/api_update_log_file.go @@ -0,0 +1,265 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +// UpdateLogFileApiService UpdateLogFileApi service +type UpdateLogFileApiService service +type ApiGetApiV1LogFileUpdateByFilenameRequest struct { + ctx context.Context + ApiService *UpdateLogFileApiService + filename string +} + +func (r ApiGetApiV1LogFileUpdateByFilenameRequest) Execute() (*http.Response, error) { + return r.ApiService.GetApiV1LogFileUpdateByFilenameExecute(r) +} + +/* +GetApiV1LogFileUpdateByFilename Method for GetApiV1LogFileUpdateByFilename + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param filename + @return ApiGetApiV1LogFileUpdateByFilenameRequest +*/ +func (a *UpdateLogFileApiService) GetApiV1LogFileUpdateByFilename(ctx context.Context, filename string) ApiGetApiV1LogFileUpdateByFilenameRequest { + return ApiGetApiV1LogFileUpdateByFilenameRequest{ + ApiService: a, + ctx: ctx, + filename: filename, + } +} + +// Execute executes the request +func (a *UpdateLogFileApiService) GetApiV1LogFileUpdateByFilenameExecute(r ApiGetApiV1LogFileUpdateByFilenameRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileApiService.GetApiV1LogFileUpdateByFilename") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/log/file/update/{filename}" + localVarPath = strings.Replace(localVarPath, "{"+"filename"+"}", url.PathEscape(parameterToString(r.filename, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} +type ApiListApiV1LogFileUpdateRequest struct { + ctx context.Context + ApiService *UpdateLogFileApiService +} + +func (r ApiListApiV1LogFileUpdateRequest) Execute() ([]*LogFileResource, *http.Response, error) { + return r.ApiService.ListApiV1LogFileUpdateExecute(r) +} + +/* +ListApiV1LogFileUpdate Method for ListApiV1LogFileUpdate + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListApiV1LogFileUpdateRequest +*/ +func (a *UpdateLogFileApiService) ListApiV1LogFileUpdate(ctx context.Context) ApiListApiV1LogFileUpdateRequest { + return ApiListApiV1LogFileUpdateRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []LogFileResource +func (a *UpdateLogFileApiService) ListApiV1LogFileUpdateExecute(r ApiListApiV1LogFileUpdateRequest) ([]*LogFileResource, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []*LogFileResource + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UpdateLogFileApiService.ListApiV1LogFileUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v1/log/file/update" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"text/plain", "application/json", "text/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["X-Api-Key"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarQueryParams.Add("apikey", key) + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/lidarr/client.go b/lidarr/client.go new file mode 100644 index 0000000..b064397 --- /dev/null +++ b/lidarr/client.go @@ -0,0 +1,715 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "bytes" + "context" + "encoding/json" + "encoding/xml" + "errors" + "fmt" + "io" + "log" + "mime/multipart" + "net/http" + "net/http/httputil" + "net/url" + "os" + "path/filepath" + "reflect" + "regexp" + "strconv" + "strings" + "time" + "unicode/utf8" + + "golang.org/x/oauth2" +) + +var ( + jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`) + xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) +) + +// APIClient manages communication with the Lidarr API v1.0.0 +// In most cases there should be only one, shared, APIClient. +type APIClient struct { + cfg *Configuration + common service // Reuse a single struct instead of allocating one for each service on the heap. + + // API Services + AlbumApi *AlbumApiService + AlbumLookupApi *AlbumLookupApiService + AlbumStudioApi *AlbumStudioApiService + ApiInfoApi *ApiInfoApiService + ArtistApi *ArtistApiService + ArtistEditorApi *ArtistEditorApiService + ArtistLookupApi *ArtistLookupApiService + AuthenticationApi *AuthenticationApiService + BackupApi *BackupApiService + BlocklistApi *BlocklistApiService + CalendarApi *CalendarApiService + CalendarFeedApi *CalendarFeedApiService + CommandApi *CommandApiService + CustomFilterApi *CustomFilterApiService + CutoffApi *CutoffApiService + DelayProfileApi *DelayProfileApiService + DiskSpaceApi *DiskSpaceApiService + DownloadClientApi *DownloadClientApiService + DownloadClientConfigApi *DownloadClientConfigApiService + FileSystemApi *FileSystemApiService + HealthApi *HealthApiService + HistoryApi *HistoryApiService + HostConfigApi *HostConfigApiService + ImportListApi *ImportListApiService + ImportListExclusionApi *ImportListExclusionApiService + IndexerApi *IndexerApiService + IndexerConfigApi *IndexerConfigApiService + InitializeJsApi *InitializeJsApiService + LanguageApi *LanguageApiService + LocalizationApi *LocalizationApiService + LogApi *LogApiService + LogFileApi *LogFileApiService + ManualImportApi *ManualImportApiService + MediaCoverApi *MediaCoverApiService + MediaManagementConfigApi *MediaManagementConfigApiService + MetadataApi *MetadataApiService + MetadataProfileApi *MetadataProfileApiService + MetadataProfileSchemaApi *MetadataProfileSchemaApiService + MetadataProviderConfigApi *MetadataProviderConfigApiService + MissingApi *MissingApiService + NamingConfigApi *NamingConfigApiService + NotificationApi *NotificationApiService + ParseApi *ParseApiService + QualityDefinitionApi *QualityDefinitionApiService + QualityProfileApi *QualityProfileApiService + QualityProfileSchemaApi *QualityProfileSchemaApiService + QueueApi *QueueApiService + QueueActionApi *QueueActionApiService + QueueDetailsApi *QueueDetailsApiService + QueueStatusApi *QueueStatusApiService + ReleaseApi *ReleaseApiService + ReleaseProfileApi *ReleaseProfileApiService + ReleasePushApi *ReleasePushApiService + RemotePathMappingApi *RemotePathMappingApiService + RenameTrackApi *RenameTrackApiService + RetagTrackApi *RetagTrackApiService + RootFolderApi *RootFolderApiService + SearchApi *SearchApiService + StaticResourceApi *StaticResourceApiService + SystemApi *SystemApiService + TagApi *TagApiService + TagDetailsApi *TagDetailsApiService + TaskApi *TaskApiService + TrackApi *TrackApiService + TrackFileApi *TrackFileApiService + UiConfigApi *UiConfigApiService + UpdateApi *UpdateApiService + UpdateLogFileApi *UpdateLogFileApiService +} + +type service struct { + client *APIClient +} + +// NewAPIClient creates a new API client. Requires a userAgent string describing your application. +// optionally a custom http.Client to allow for advanced features such as caching. +func NewAPIClient(cfg *Configuration) *APIClient { + if cfg.HTTPClient == nil { + cfg.HTTPClient = http.DefaultClient + } + + c := &APIClient{} + c.cfg = cfg + c.common.client = c + + // API Services + c.AlbumApi = (*AlbumApiService)(&c.common) + c.AlbumLookupApi = (*AlbumLookupApiService)(&c.common) + c.AlbumStudioApi = (*AlbumStudioApiService)(&c.common) + c.ApiInfoApi = (*ApiInfoApiService)(&c.common) + c.ArtistApi = (*ArtistApiService)(&c.common) + c.ArtistEditorApi = (*ArtistEditorApiService)(&c.common) + c.ArtistLookupApi = (*ArtistLookupApiService)(&c.common) + c.AuthenticationApi = (*AuthenticationApiService)(&c.common) + c.BackupApi = (*BackupApiService)(&c.common) + c.BlocklistApi = (*BlocklistApiService)(&c.common) + c.CalendarApi = (*CalendarApiService)(&c.common) + c.CalendarFeedApi = (*CalendarFeedApiService)(&c.common) + c.CommandApi = (*CommandApiService)(&c.common) + c.CustomFilterApi = (*CustomFilterApiService)(&c.common) + c.CutoffApi = (*CutoffApiService)(&c.common) + c.DelayProfileApi = (*DelayProfileApiService)(&c.common) + c.DiskSpaceApi = (*DiskSpaceApiService)(&c.common) + c.DownloadClientApi = (*DownloadClientApiService)(&c.common) + c.DownloadClientConfigApi = (*DownloadClientConfigApiService)(&c.common) + c.FileSystemApi = (*FileSystemApiService)(&c.common) + c.HealthApi = (*HealthApiService)(&c.common) + c.HistoryApi = (*HistoryApiService)(&c.common) + c.HostConfigApi = (*HostConfigApiService)(&c.common) + c.ImportListApi = (*ImportListApiService)(&c.common) + c.ImportListExclusionApi = (*ImportListExclusionApiService)(&c.common) + c.IndexerApi = (*IndexerApiService)(&c.common) + c.IndexerConfigApi = (*IndexerConfigApiService)(&c.common) + c.InitializeJsApi = (*InitializeJsApiService)(&c.common) + c.LanguageApi = (*LanguageApiService)(&c.common) + c.LocalizationApi = (*LocalizationApiService)(&c.common) + c.LogApi = (*LogApiService)(&c.common) + c.LogFileApi = (*LogFileApiService)(&c.common) + c.ManualImportApi = (*ManualImportApiService)(&c.common) + c.MediaCoverApi = (*MediaCoverApiService)(&c.common) + c.MediaManagementConfigApi = (*MediaManagementConfigApiService)(&c.common) + c.MetadataApi = (*MetadataApiService)(&c.common) + c.MetadataProfileApi = (*MetadataProfileApiService)(&c.common) + c.MetadataProfileSchemaApi = (*MetadataProfileSchemaApiService)(&c.common) + c.MetadataProviderConfigApi = (*MetadataProviderConfigApiService)(&c.common) + c.MissingApi = (*MissingApiService)(&c.common) + c.NamingConfigApi = (*NamingConfigApiService)(&c.common) + c.NotificationApi = (*NotificationApiService)(&c.common) + c.ParseApi = (*ParseApiService)(&c.common) + c.QualityDefinitionApi = (*QualityDefinitionApiService)(&c.common) + c.QualityProfileApi = (*QualityProfileApiService)(&c.common) + c.QualityProfileSchemaApi = (*QualityProfileSchemaApiService)(&c.common) + c.QueueApi = (*QueueApiService)(&c.common) + c.QueueActionApi = (*QueueActionApiService)(&c.common) + c.QueueDetailsApi = (*QueueDetailsApiService)(&c.common) + c.QueueStatusApi = (*QueueStatusApiService)(&c.common) + c.ReleaseApi = (*ReleaseApiService)(&c.common) + c.ReleaseProfileApi = (*ReleaseProfileApiService)(&c.common) + c.ReleasePushApi = (*ReleasePushApiService)(&c.common) + c.RemotePathMappingApi = (*RemotePathMappingApiService)(&c.common) + c.RenameTrackApi = (*RenameTrackApiService)(&c.common) + c.RetagTrackApi = (*RetagTrackApiService)(&c.common) + c.RootFolderApi = (*RootFolderApiService)(&c.common) + c.SearchApi = (*SearchApiService)(&c.common) + c.StaticResourceApi = (*StaticResourceApiService)(&c.common) + c.SystemApi = (*SystemApiService)(&c.common) + c.TagApi = (*TagApiService)(&c.common) + c.TagDetailsApi = (*TagDetailsApiService)(&c.common) + c.TaskApi = (*TaskApiService)(&c.common) + c.TrackApi = (*TrackApiService)(&c.common) + c.TrackFileApi = (*TrackFileApiService)(&c.common) + c.UiConfigApi = (*UiConfigApiService)(&c.common) + c.UpdateApi = (*UpdateApiService)(&c.common) + c.UpdateLogFileApi = (*UpdateLogFileApiService)(&c.common) + + return c +} + +func atoi(in string) (int, error) { + return strconv.Atoi(in) +} + +// selectHeaderContentType select a content type from the available list. +func selectHeaderContentType(contentTypes []string) string { + if len(contentTypes) == 0 { + return "" + } + if contains(contentTypes, "application/json") { + return "application/json" + } + return contentTypes[0] // use the first content type specified in 'consumes' +} + +// selectHeaderAccept join all accept types and return +func selectHeaderAccept(accepts []string) string { + if len(accepts) == 0 { + return "" + } + + if contains(accepts, "application/json") { + return "application/json" + } + + return strings.Join(accepts, ",") +} + +// contains is a case insensitive match, finding needle in a haystack +func contains(haystack []string, needle string) bool { + for _, a := range haystack { + if strings.EqualFold(a, needle) { + return true + } + } + return false +} + +// Verify optional parameters are of the correct type. +func typeCheckParameter(obj interface{}, expected string, name string) error { + // Make sure there is an object. + if obj == nil { + return nil + } + + // Check the type is as expected. + if reflect.TypeOf(obj).String() != expected { + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) + } + return nil +} + +// parameterToString convert interface{} parameters to string, using a delimiter if format is provided. +func parameterToString(obj interface{}, collectionFormat string) string { + var delimiter string + + switch collectionFormat { + case "pipes": + delimiter = "|" + case "ssv": + delimiter = " " + case "tsv": + delimiter = "\t" + case "csv": + delimiter = "," + } + + if reflect.TypeOf(obj).Kind() == reflect.Slice { + return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]") + } else if t, ok := obj.(time.Time); ok { + return t.Format(time.RFC3339) + } + + return fmt.Sprintf("%v", obj) +} + +// helper for converting interface{} parameters to json strings +func parameterToJson(obj interface{}) (string, error) { + jsonBuf, err := json.Marshal(obj) + if err != nil { + return "", err + } + return string(jsonBuf), err +} + +// callAPI do the request. +func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) { + if c.cfg.Debug { + dump, err := httputil.DumpRequestOut(request, true) + if err != nil { + return nil, err + } + log.Printf("\n%s\n", string(dump)) + } + + resp, err := c.cfg.HTTPClient.Do(request) + if err != nil { + return resp, err + } + + if c.cfg.Debug { + dump, err := httputil.DumpResponse(resp, true) + if err != nil { + return resp, err + } + log.Printf("\n%s\n", string(dump)) + } + return resp, err +} + +// Allow modification of underlying config for alternate implementations and testing +// Caution: modifying the configuration while live can cause data races and potentially unwanted behavior +func (c *APIClient) GetConfig() *Configuration { + return c.cfg +} + +type formFile struct { + fileBytes []byte + fileName string + formFileName string +} + +// prepareRequest build the request +func (c *APIClient) prepareRequest( + ctx context.Context, + path string, method string, + postBody interface{}, + headerParams map[string]string, + queryParams url.Values, + formParams url.Values, + formFiles []formFile) (localVarRequest *http.Request, err error) { + + var body *bytes.Buffer + + // Detect postBody type and post. + if postBody != nil { + contentType := headerParams["Content-Type"] + if contentType == "" { + contentType = detectContentType(postBody) + headerParams["Content-Type"] = contentType + } + + body, err = setBody(postBody, contentType) + if err != nil { + return nil, err + } + } + + // add form parameters and file if available. + if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(formFiles) > 0) { + if body != nil { + return nil, errors.New("cannot specify postBody and multipart form at the same time") + } + body = &bytes.Buffer{} + w := multipart.NewWriter(body) + + for k, v := range formParams { + for _, iv := range v { + if strings.HasPrefix(k, "@") { // file + err = addFile(w, k[1:], iv) + if err != nil { + return nil, err + } + } else { // form value + w.WriteField(k, iv) + } + } + } + for _, formFile := range formFiles { + if len(formFile.fileBytes) > 0 && formFile.fileName != "" { + w.Boundary() + part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName)) + if err != nil { + return nil, err + } + _, err = part.Write(formFile.fileBytes) + if err != nil { + return nil, err + } + } + } + + // Set the Boundary in the Content-Type + headerParams["Content-Type"] = w.FormDataContentType() + + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + w.Close() + } + + if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 { + if body != nil { + return nil, errors.New("cannot specify postBody and x-www-form-urlencoded form at the same time") + } + body = &bytes.Buffer{} + body.WriteString(formParams.Encode()) + // Set Content-Length + headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len()) + } + + // Setup path and query parameters + url, err := url.Parse(path) + if err != nil { + return nil, err + } + + // Override request host, if applicable + if c.cfg.Host != "" { + url.Host = c.cfg.Host + } + + // Override request scheme, if applicable + if c.cfg.Scheme != "" { + url.Scheme = c.cfg.Scheme + } + + // Adding Query Param + query := url.Query() + for k, v := range queryParams { + for _, iv := range v { + query.Add(k, iv) + } + } + + // Encode the parameters. + url.RawQuery = query.Encode() + + // Generate a new request + if body != nil { + localVarRequest, err = http.NewRequest(method, url.String(), body) + } else { + localVarRequest, err = http.NewRequest(method, url.String(), nil) + } + if err != nil { + return nil, err + } + + // add header parameters, if any + if len(headerParams) > 0 { + headers := http.Header{} + for h, v := range headerParams { + headers[h] = []string{v} + } + localVarRequest.Header = headers + } + + // Add the user agent to the request. + localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent) + + if ctx != nil { + // add context to the request + localVarRequest = localVarRequest.WithContext(ctx) + + // Walk through any authentication. + + // OAuth2 authentication + if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok { + // We were able to grab an oauth2 token from the context + var latestToken *oauth2.Token + if latestToken, err = tok.Token(); err != nil { + return nil, err + } + + latestToken.SetAuthHeader(localVarRequest) + } + + // Basic HTTP Authentication + if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok { + localVarRequest.SetBasicAuth(auth.UserName, auth.Password) + } + + // AccessToken Authentication + if auth, ok := ctx.Value(ContextAccessToken).(string); ok { + localVarRequest.Header.Add("Authorization", "Bearer "+auth) + } + + } + + for header, value := range c.cfg.DefaultHeader { + localVarRequest.Header.Add(header, value) + } + return localVarRequest, nil +} + +func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) { + if len(b) == 0 { + return nil + } + if s, ok := v.(*string); ok { + *s = string(b) + return nil + } + if f, ok := v.(**os.File); ok { + *f, err = os.CreateTemp("", "HttpClientFile") + if err != nil { + return + } + _, err = (*f).Write(b) + if err != nil { + return + } + _, err = (*f).Seek(0, io.SeekStart) + return + } + if xmlCheck.MatchString(contentType) { + if err = xml.Unmarshal(b, v); err != nil { + return err + } + return nil + } + if jsonCheck.MatchString(contentType) { + if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas + if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined + if err = unmarshalObj.UnmarshalJSON(b); err != nil { + return err + } + } else { + return errors.New("unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined") + } + } else if err = json.Unmarshal(b, v); err != nil { // simple model + return err + } + return nil + } + return errors.New("undefined response type") +} + +// Add a file to the multipart request +func addFile(w *multipart.Writer, fieldName, path string) error { + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() + if err != nil { + return err + } + + part, err := w.CreateFormFile(fieldName, filepath.Base(path)) + if err != nil { + return err + } + _, err = io.Copy(part, file) + + return err +} + +// Prevent trying to import "fmt" +func reportError(format string, a ...interface{}) error { + return fmt.Errorf(format, a...) +} + +// A wrapper for strict JSON decoding +func newStrictDecoder(data []byte) *json.Decoder { + dec := json.NewDecoder(bytes.NewBuffer(data)) + dec.DisallowUnknownFields() + return dec +} + +// Set request body from an interface{} +func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) { + if bodyBuf == nil { + bodyBuf = &bytes.Buffer{} + } + + if reader, ok := body.(io.Reader); ok { + _, err = bodyBuf.ReadFrom(reader) + } else if fp, ok := body.(**os.File); ok { + _, err = bodyBuf.ReadFrom(*fp) + } else if b, ok := body.([]byte); ok { + _, err = bodyBuf.Write(b) + } else if s, ok := body.(string); ok { + _, err = bodyBuf.WriteString(s) + } else if s, ok := body.(*string); ok { + _, err = bodyBuf.WriteString(*s) + } else if jsonCheck.MatchString(contentType) { + err = json.NewEncoder(bodyBuf).Encode(body) + } else if xmlCheck.MatchString(contentType) { + err = xml.NewEncoder(bodyBuf).Encode(body) + } + + if err != nil { + return nil, err + } + + if bodyBuf.Len() == 0 { + err = fmt.Errorf("invalid body type %s", contentType) + return nil, err + } + return bodyBuf, nil +} + +// detectContentType method is used to figure out `Request.Body` content type for request header +func detectContentType(body interface{}) string { + contentType := "text/plain; charset=utf-8" + kind := reflect.TypeOf(body).Kind() + + switch kind { + case reflect.Struct, reflect.Map, reflect.Ptr: + contentType = "application/json; charset=utf-8" + case reflect.String: + contentType = "text/plain; charset=utf-8" + default: + if b, ok := body.([]byte); ok { + contentType = http.DetectContentType(b) + } else if kind == reflect.Slice { + contentType = "application/json; charset=utf-8" + } + } + + return contentType +} + +// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go +type cacheControl map[string]string + +func parseCacheControl(headers http.Header) cacheControl { + cc := cacheControl{} + ccHeader := headers.Get("Cache-Control") + for _, part := range strings.Split(ccHeader, ",") { + part = strings.Trim(part, " ") + if part == "" { + continue + } + if strings.ContainsRune(part, '=') { + keyval := strings.Split(part, "=") + cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",") + } else { + cc[part] = "" + } + } + return cc +} + +// CacheExpires helper function to determine remaining time before repeating a request. +func CacheExpires(r *http.Response) time.Time { + // Figure out when the cache expires. + var expires time.Time + now, err := time.Parse(time.RFC1123, r.Header.Get("date")) + if err != nil { + return time.Now() + } + respCacheControl := parseCacheControl(r.Header) + + if maxAge, ok := respCacheControl["max-age"]; ok { + lifetime, err := time.ParseDuration(maxAge + "s") + if err != nil { + expires = now + } else { + expires = now.Add(lifetime) + } + } else { + expiresHeader := r.Header.Get("Expires") + if expiresHeader != "" { + expires, err = time.Parse(time.RFC1123, expiresHeader) + if err != nil { + expires = now + } + } + } + return expires +} + +func strlen(s string) int { + return utf8.RuneCountInString(s) +} + +// GenericOpenAPIError Provides access to the body, error and model on returned errors. +type GenericOpenAPIError struct { + body []byte + error string + model interface{} +} + +// Error returns non-empty string if there was an error. +func (e GenericOpenAPIError) Error() string { + return e.error +} + +// Body returns the raw bytes of the response +func (e GenericOpenAPIError) Body() []byte { + return e.body +} + +// Model returns the unpacked model of the error +func (e GenericOpenAPIError) Model() interface{} { + return e.model +} + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + + str := "" + metaValue := reflect.ValueOf(v).Elem() + + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + + // status title (detail) + return fmt.Sprintf("%s %s", status, str) +} diff --git a/lidarr/configuration.go b/lidarr/configuration.go new file mode 100644 index 0000000..97d548a --- /dev/null +++ b/lidarr/configuration.go @@ -0,0 +1,244 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "context" + "fmt" + "net/http" + "strings" +) + +// contextKeys are used to identify the type of value in the context. +// Since these are string, it is possible to get a short description of the +// context key for logging and debugging using key.String(). + +type contextKey string + +func (c contextKey) String() string { + return "auth " + string(c) +} + +var ( + // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. + ContextOAuth2 = contextKey("token") + + // ContextBasicAuth takes BasicAuth as authentication for the request. + ContextBasicAuth = contextKey("basic") + + // ContextAccessToken takes a string oauth2 access token as authentication for the request. + ContextAccessToken = contextKey("accesstoken") + + // ContextAPIKeys takes a string apikey as authentication for the request + ContextAPIKeys = contextKey("apiKeys") + + // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. + ContextHttpSignatureAuth = contextKey("httpsignature") + + // ContextServerIndex uses a server configuration from the index. + ContextServerIndex = contextKey("serverIndex") + + // ContextOperationServerIndices uses a server configuration from the index mapping. + ContextOperationServerIndices = contextKey("serverOperationIndices") + + // ContextServerVariables overrides a server configuration variables. + ContextServerVariables = contextKey("serverVariables") + + // ContextOperationServerVariables overrides a server configuration variables using operation specific values. + ContextOperationServerVariables = contextKey("serverOperationVariables") +) + +// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth +type BasicAuth struct { + UserName string `json:"userName,omitempty"` + Password string `json:"password,omitempty"` +} + +// APIKey provides API key based authentication to a request passed via context using ContextAPIKey +type APIKey struct { + Key string + Prefix string +} + +// ServerVariable stores the information about a server variable +type ServerVariable struct { + Description string + DefaultValue string + EnumValues []string +} + +// ServerConfiguration stores the information about a server +type ServerConfiguration struct { + URL string + Description string + Variables map[string]ServerVariable +} + +// ServerConfigurations stores multiple ServerConfiguration items +type ServerConfigurations []ServerConfiguration + +// Configuration stores the configuration of the API client +type Configuration struct { + Host string `json:"host,omitempty"` + Scheme string `json:"scheme,omitempty"` + DefaultHeader map[string]string `json:"defaultHeader,omitempty"` + UserAgent string `json:"userAgent,omitempty"` + Debug bool `json:"debug,omitempty"` + Servers ServerConfigurations + OperationServers map[string]ServerConfigurations + HTTPClient *http.Client +} + +// NewConfiguration returns a new Configuration object +func NewConfiguration() *Configuration { + cfg := &Configuration{ + DefaultHeader: make(map[string]string), + UserAgent: "Lidarr-go/v0.0.1", + Debug: false, + Servers: ServerConfigurations{ + { + URL: "{protocol}://{hostpath}", + Description: "No description provided", + Variables: map[string]ServerVariable{ + "protocol": { + Description: "No description provided", + DefaultValue: "http", + EnumValues: []string{ + "http", + "https", + }, + }, + "hostpath": { + Description: "No description provided", + DefaultValue: "localhost:8686", + }, + }, + }, + }, + OperationServers: map[string]ServerConfigurations{ + }, + } + return cfg +} + +// AddDefaultHeader adds a new HTTP header to the default header in the request +func (c *Configuration) AddDefaultHeader(key string, value string) { + c.DefaultHeader[key] = value +} + +// URL formats template on a index using given variables +func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { + if index < 0 || len(sc) <= index { + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) + } + server := sc[index] + url := server.URL + + // go through variables and replace placeholders + for name, variable := range server.Variables { + if value, ok := variables[name]; ok { + found := bool(len(variable.EnumValues) == 0) + for _, enumValue := range variable.EnumValues { + if value == enumValue { + found = true + } + } + if !found { + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + } + url = strings.Replace(url, "{"+name+"}", value, -1) + } else { + url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1) + } + } + return url, nil +} + +// ServerURL returns URL based on server settings +func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) { + return c.Servers.URL(index, variables) +} + +func getServerIndex(ctx context.Context) (int, error) { + si := ctx.Value(ContextServerIndex) + if si != nil { + if index, ok := si.(int); ok { + return index, nil + } + return 0, reportError("Invalid type %T should be int", si) + } + return 0, nil +} + +func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) { + osi := ctx.Value(ContextOperationServerIndices) + if osi != nil { + if operationIndices, ok := osi.(map[string]int); !ok { + return 0, reportError("Invalid type %T should be map[string]int", osi) + } else { + index, ok := operationIndices[endpoint] + if ok { + return index, nil + } + } + } + return getServerIndex(ctx) +} + +func getServerVariables(ctx context.Context) (map[string]string, error) { + sv := ctx.Value(ContextServerVariables) + if sv != nil { + if variables, ok := sv.(map[string]string); ok { + return variables, nil + } + return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv) + } + return nil, nil +} + +func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) { + osv := ctx.Value(ContextOperationServerVariables) + if osv != nil { + if operationVariables, ok := osv.(map[string]map[string]string); !ok { + return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv) + } else { + variables, ok := operationVariables[endpoint] + if ok { + return variables, nil + } + } + } + return getServerVariables(ctx) +} + +// ServerURLWithContext returns a new server URL given an endpoint +func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) { + sc, ok := c.OperationServers[endpoint] + if !ok { + sc = c.Servers + } + + if ctx == nil { + return sc.URL(0, nil) + } + + index, err := getServerOperationIndex(ctx, endpoint) + if err != nil { + return "", err + } + + variables, err := getServerOperationVariables(ctx, endpoint) + if err != nil { + return "", err + } + + return sc.URL(index, variables) +} diff --git a/lidarr/docs/AddAlbumOptions.md b/lidarr/docs/AddAlbumOptions.md new file mode 100644 index 0000000..a955012 --- /dev/null +++ b/lidarr/docs/AddAlbumOptions.md @@ -0,0 +1,82 @@ +# AddAlbumOptions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AddType** | Pointer to [**AlbumAddType**](AlbumAddType.md) | | [optional] +**SearchForNewAlbum** | Pointer to **bool** | | [optional] + +## Methods + +### NewAddAlbumOptions + +`func NewAddAlbumOptions() *AddAlbumOptions` + +NewAddAlbumOptions instantiates a new AddAlbumOptions object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAddAlbumOptionsWithDefaults + +`func NewAddAlbumOptionsWithDefaults() *AddAlbumOptions` + +NewAddAlbumOptionsWithDefaults instantiates a new AddAlbumOptions object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAddType + +`func (o *AddAlbumOptions) GetAddType() AlbumAddType` + +GetAddType returns the AddType field if non-nil, zero value otherwise. + +### GetAddTypeOk + +`func (o *AddAlbumOptions) GetAddTypeOk() (*AlbumAddType, bool)` + +GetAddTypeOk returns a tuple with the AddType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddType + +`func (o *AddAlbumOptions) SetAddType(v AlbumAddType)` + +SetAddType sets AddType field to given value. + +### HasAddType + +`func (o *AddAlbumOptions) HasAddType() bool` + +HasAddType returns a boolean if a field has been set. + +### GetSearchForNewAlbum + +`func (o *AddAlbumOptions) GetSearchForNewAlbum() bool` + +GetSearchForNewAlbum returns the SearchForNewAlbum field if non-nil, zero value otherwise. + +### GetSearchForNewAlbumOk + +`func (o *AddAlbumOptions) GetSearchForNewAlbumOk() (*bool, bool)` + +GetSearchForNewAlbumOk returns a tuple with the SearchForNewAlbum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSearchForNewAlbum + +`func (o *AddAlbumOptions) SetSearchForNewAlbum(v bool)` + +SetSearchForNewAlbum sets SearchForNewAlbum field to given value. + +### HasSearchForNewAlbum + +`func (o *AddAlbumOptions) HasSearchForNewAlbum() bool` + +HasSearchForNewAlbum returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AddArtistOptions.md b/lidarr/docs/AddArtistOptions.md new file mode 100644 index 0000000..7c62860 --- /dev/null +++ b/lidarr/docs/AddArtistOptions.md @@ -0,0 +1,144 @@ +# AddArtistOptions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Monitor** | Pointer to [**MonitorTypes**](MonitorTypes.md) | | [optional] +**AlbumsToMonitor** | Pointer to **[]string** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**SearchForMissingAlbums** | Pointer to **bool** | | [optional] + +## Methods + +### NewAddArtistOptions + +`func NewAddArtistOptions() *AddArtistOptions` + +NewAddArtistOptions instantiates a new AddArtistOptions object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAddArtistOptionsWithDefaults + +`func NewAddArtistOptionsWithDefaults() *AddArtistOptions` + +NewAddArtistOptionsWithDefaults instantiates a new AddArtistOptions object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMonitor + +`func (o *AddArtistOptions) GetMonitor() MonitorTypes` + +GetMonitor returns the Monitor field if non-nil, zero value otherwise. + +### GetMonitorOk + +`func (o *AddArtistOptions) GetMonitorOk() (*MonitorTypes, bool)` + +GetMonitorOk returns a tuple with the Monitor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitor + +`func (o *AddArtistOptions) SetMonitor(v MonitorTypes)` + +SetMonitor sets Monitor field to given value. + +### HasMonitor + +`func (o *AddArtistOptions) HasMonitor() bool` + +HasMonitor returns a boolean if a field has been set. + +### GetAlbumsToMonitor + +`func (o *AddArtistOptions) GetAlbumsToMonitor() []string` + +GetAlbumsToMonitor returns the AlbumsToMonitor field if non-nil, zero value otherwise. + +### GetAlbumsToMonitorOk + +`func (o *AddArtistOptions) GetAlbumsToMonitorOk() (*[]string, bool)` + +GetAlbumsToMonitorOk returns a tuple with the AlbumsToMonitor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumsToMonitor + +`func (o *AddArtistOptions) SetAlbumsToMonitor(v []string)` + +SetAlbumsToMonitor sets AlbumsToMonitor field to given value. + +### HasAlbumsToMonitor + +`func (o *AddArtistOptions) HasAlbumsToMonitor() bool` + +HasAlbumsToMonitor returns a boolean if a field has been set. + +### SetAlbumsToMonitorNil + +`func (o *AddArtistOptions) SetAlbumsToMonitorNil(b bool)` + + SetAlbumsToMonitorNil sets the value for AlbumsToMonitor to be an explicit nil + +### UnsetAlbumsToMonitor +`func (o *AddArtistOptions) UnsetAlbumsToMonitor()` + +UnsetAlbumsToMonitor ensures that no value is present for AlbumsToMonitor, not even an explicit nil +### GetMonitored + +`func (o *AddArtistOptions) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AddArtistOptions) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AddArtistOptions) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AddArtistOptions) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetSearchForMissingAlbums + +`func (o *AddArtistOptions) GetSearchForMissingAlbums() bool` + +GetSearchForMissingAlbums returns the SearchForMissingAlbums field if non-nil, zero value otherwise. + +### GetSearchForMissingAlbumsOk + +`func (o *AddArtistOptions) GetSearchForMissingAlbumsOk() (*bool, bool)` + +GetSearchForMissingAlbumsOk returns a tuple with the SearchForMissingAlbums field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSearchForMissingAlbums + +`func (o *AddArtistOptions) SetSearchForMissingAlbums(v bool)` + +SetSearchForMissingAlbums sets SearchForMissingAlbums field to given value. + +### HasSearchForMissingAlbums + +`func (o *AddArtistOptions) HasSearchForMissingAlbums() bool` + +HasSearchForMissingAlbums returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Album.md b/lidarr/docs/Album.md new file mode 100644 index 0000000..95bc5d9 --- /dev/null +++ b/lidarr/docs/Album.md @@ -0,0 +1,784 @@ +# Album + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistMetadataId** | Pointer to **int32** | | [optional] +**ForeignAlbumId** | Pointer to **NullableString** | | [optional] +**OldForeignAlbumIds** | Pointer to **[]string** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Overview** | Pointer to **NullableString** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**ReleaseDate** | Pointer to **NullableTime** | | [optional] +**Images** | Pointer to [**[]MediaCover**](MediaCover.md) | | [optional] +**Links** | Pointer to [**[]Links**](Links.md) | | [optional] +**Genres** | Pointer to **[]string** | | [optional] +**AlbumType** | Pointer to **NullableString** | | [optional] +**SecondaryTypes** | Pointer to [**[]SecondaryAlbumType**](SecondaryAlbumType.md) | | [optional] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**CleanTitle** | Pointer to **NullableString** | | [optional] +**ProfileId** | Pointer to **int32** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**AnyReleaseOk** | Pointer to **bool** | | [optional] +**LastInfoSync** | Pointer to **NullableTime** | | [optional] +**Added** | Pointer to **time.Time** | | [optional] +**AddOptions** | Pointer to [**AddAlbumOptions**](AddAlbumOptions.md) | | [optional] +**ArtistMetadata** | Pointer to [**ArtistMetadataLazyLoaded**](ArtistMetadataLazyLoaded.md) | | [optional] +**AlbumReleases** | Pointer to [**AlbumReleaseListLazyLoaded**](AlbumReleaseListLazyLoaded.md) | | [optional] +**Artist** | Pointer to [**ArtistLazyLoaded**](ArtistLazyLoaded.md) | | [optional] + +## Methods + +### NewAlbum + +`func NewAlbum() *Album` + +NewAlbum instantiates a new Album object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumWithDefaults + +`func NewAlbumWithDefaults() *Album` + +NewAlbumWithDefaults instantiates a new Album object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Album) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Album) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Album) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *Album) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistMetadataId + +`func (o *Album) GetArtistMetadataId() int32` + +GetArtistMetadataId returns the ArtistMetadataId field if non-nil, zero value otherwise. + +### GetArtistMetadataIdOk + +`func (o *Album) GetArtistMetadataIdOk() (*int32, bool)` + +GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadataId + +`func (o *Album) SetArtistMetadataId(v int32)` + +SetArtistMetadataId sets ArtistMetadataId field to given value. + +### HasArtistMetadataId + +`func (o *Album) HasArtistMetadataId() bool` + +HasArtistMetadataId returns a boolean if a field has been set. + +### GetForeignAlbumId + +`func (o *Album) GetForeignAlbumId() string` + +GetForeignAlbumId returns the ForeignAlbumId field if non-nil, zero value otherwise. + +### GetForeignAlbumIdOk + +`func (o *Album) GetForeignAlbumIdOk() (*string, bool)` + +GetForeignAlbumIdOk returns a tuple with the ForeignAlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignAlbumId + +`func (o *Album) SetForeignAlbumId(v string)` + +SetForeignAlbumId sets ForeignAlbumId field to given value. + +### HasForeignAlbumId + +`func (o *Album) HasForeignAlbumId() bool` + +HasForeignAlbumId returns a boolean if a field has been set. + +### SetForeignAlbumIdNil + +`func (o *Album) SetForeignAlbumIdNil(b bool)` + + SetForeignAlbumIdNil sets the value for ForeignAlbumId to be an explicit nil + +### UnsetForeignAlbumId +`func (o *Album) UnsetForeignAlbumId()` + +UnsetForeignAlbumId ensures that no value is present for ForeignAlbumId, not even an explicit nil +### GetOldForeignAlbumIds + +`func (o *Album) GetOldForeignAlbumIds() []string` + +GetOldForeignAlbumIds returns the OldForeignAlbumIds field if non-nil, zero value otherwise. + +### GetOldForeignAlbumIdsOk + +`func (o *Album) GetOldForeignAlbumIdsOk() (*[]string, bool)` + +GetOldForeignAlbumIdsOk returns a tuple with the OldForeignAlbumIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldForeignAlbumIds + +`func (o *Album) SetOldForeignAlbumIds(v []string)` + +SetOldForeignAlbumIds sets OldForeignAlbumIds field to given value. + +### HasOldForeignAlbumIds + +`func (o *Album) HasOldForeignAlbumIds() bool` + +HasOldForeignAlbumIds returns a boolean if a field has been set. + +### SetOldForeignAlbumIdsNil + +`func (o *Album) SetOldForeignAlbumIdsNil(b bool)` + + SetOldForeignAlbumIdsNil sets the value for OldForeignAlbumIds to be an explicit nil + +### UnsetOldForeignAlbumIds +`func (o *Album) UnsetOldForeignAlbumIds()` + +UnsetOldForeignAlbumIds ensures that no value is present for OldForeignAlbumIds, not even an explicit nil +### GetTitle + +`func (o *Album) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *Album) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *Album) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *Album) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *Album) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *Album) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetOverview + +`func (o *Album) GetOverview() string` + +GetOverview returns the Overview field if non-nil, zero value otherwise. + +### GetOverviewOk + +`func (o *Album) GetOverviewOk() (*string, bool)` + +GetOverviewOk returns a tuple with the Overview field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverview + +`func (o *Album) SetOverview(v string)` + +SetOverview sets Overview field to given value. + +### HasOverview + +`func (o *Album) HasOverview() bool` + +HasOverview returns a boolean if a field has been set. + +### SetOverviewNil + +`func (o *Album) SetOverviewNil(b bool)` + + SetOverviewNil sets the value for Overview to be an explicit nil + +### UnsetOverview +`func (o *Album) UnsetOverview()` + +UnsetOverview ensures that no value is present for Overview, not even an explicit nil +### GetDisambiguation + +`func (o *Album) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *Album) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *Album) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *Album) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *Album) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *Album) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetReleaseDate + +`func (o *Album) GetReleaseDate() time.Time` + +GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise. + +### GetReleaseDateOk + +`func (o *Album) GetReleaseDateOk() (*time.Time, bool)` + +GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseDate + +`func (o *Album) SetReleaseDate(v time.Time)` + +SetReleaseDate sets ReleaseDate field to given value. + +### HasReleaseDate + +`func (o *Album) HasReleaseDate() bool` + +HasReleaseDate returns a boolean if a field has been set. + +### SetReleaseDateNil + +`func (o *Album) SetReleaseDateNil(b bool)` + + SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil + +### UnsetReleaseDate +`func (o *Album) UnsetReleaseDate()` + +UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +### GetImages + +`func (o *Album) GetImages() []MediaCover` + +GetImages returns the Images field if non-nil, zero value otherwise. + +### GetImagesOk + +`func (o *Album) GetImagesOk() (*[]MediaCover, bool)` + +GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImages + +`func (o *Album) SetImages(v []MediaCover)` + +SetImages sets Images field to given value. + +### HasImages + +`func (o *Album) HasImages() bool` + +HasImages returns a boolean if a field has been set. + +### SetImagesNil + +`func (o *Album) SetImagesNil(b bool)` + + SetImagesNil sets the value for Images to be an explicit nil + +### UnsetImages +`func (o *Album) UnsetImages()` + +UnsetImages ensures that no value is present for Images, not even an explicit nil +### GetLinks + +`func (o *Album) GetLinks() []Links` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *Album) GetLinksOk() (*[]Links, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *Album) SetLinks(v []Links)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *Album) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### SetLinksNil + +`func (o *Album) SetLinksNil(b bool)` + + SetLinksNil sets the value for Links to be an explicit nil + +### UnsetLinks +`func (o *Album) UnsetLinks()` + +UnsetLinks ensures that no value is present for Links, not even an explicit nil +### GetGenres + +`func (o *Album) GetGenres() []string` + +GetGenres returns the Genres field if non-nil, zero value otherwise. + +### GetGenresOk + +`func (o *Album) GetGenresOk() (*[]string, bool)` + +GetGenresOk returns a tuple with the Genres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGenres + +`func (o *Album) SetGenres(v []string)` + +SetGenres sets Genres field to given value. + +### HasGenres + +`func (o *Album) HasGenres() bool` + +HasGenres returns a boolean if a field has been set. + +### SetGenresNil + +`func (o *Album) SetGenresNil(b bool)` + + SetGenresNil sets the value for Genres to be an explicit nil + +### UnsetGenres +`func (o *Album) UnsetGenres()` + +UnsetGenres ensures that no value is present for Genres, not even an explicit nil +### GetAlbumType + +`func (o *Album) GetAlbumType() string` + +GetAlbumType returns the AlbumType field if non-nil, zero value otherwise. + +### GetAlbumTypeOk + +`func (o *Album) GetAlbumTypeOk() (*string, bool)` + +GetAlbumTypeOk returns a tuple with the AlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumType + +`func (o *Album) SetAlbumType(v string)` + +SetAlbumType sets AlbumType field to given value. + +### HasAlbumType + +`func (o *Album) HasAlbumType() bool` + +HasAlbumType returns a boolean if a field has been set. + +### SetAlbumTypeNil + +`func (o *Album) SetAlbumTypeNil(b bool)` + + SetAlbumTypeNil sets the value for AlbumType to be an explicit nil + +### UnsetAlbumType +`func (o *Album) UnsetAlbumType()` + +UnsetAlbumType ensures that no value is present for AlbumType, not even an explicit nil +### GetSecondaryTypes + +`func (o *Album) GetSecondaryTypes() []SecondaryAlbumType` + +GetSecondaryTypes returns the SecondaryTypes field if non-nil, zero value otherwise. + +### GetSecondaryTypesOk + +`func (o *Album) GetSecondaryTypesOk() (*[]SecondaryAlbumType, bool)` + +GetSecondaryTypesOk returns a tuple with the SecondaryTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryTypes + +`func (o *Album) SetSecondaryTypes(v []SecondaryAlbumType)` + +SetSecondaryTypes sets SecondaryTypes field to given value. + +### HasSecondaryTypes + +`func (o *Album) HasSecondaryTypes() bool` + +HasSecondaryTypes returns a boolean if a field has been set. + +### SetSecondaryTypesNil + +`func (o *Album) SetSecondaryTypesNil(b bool)` + + SetSecondaryTypesNil sets the value for SecondaryTypes to be an explicit nil + +### UnsetSecondaryTypes +`func (o *Album) UnsetSecondaryTypes()` + +UnsetSecondaryTypes ensures that no value is present for SecondaryTypes, not even an explicit nil +### GetRatings + +`func (o *Album) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *Album) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *Album) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *Album) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetCleanTitle + +`func (o *Album) GetCleanTitle() string` + +GetCleanTitle returns the CleanTitle field if non-nil, zero value otherwise. + +### GetCleanTitleOk + +`func (o *Album) GetCleanTitleOk() (*string, bool)` + +GetCleanTitleOk returns a tuple with the CleanTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCleanTitle + +`func (o *Album) SetCleanTitle(v string)` + +SetCleanTitle sets CleanTitle field to given value. + +### HasCleanTitle + +`func (o *Album) HasCleanTitle() bool` + +HasCleanTitle returns a boolean if a field has been set. + +### SetCleanTitleNil + +`func (o *Album) SetCleanTitleNil(b bool)` + + SetCleanTitleNil sets the value for CleanTitle to be an explicit nil + +### UnsetCleanTitle +`func (o *Album) UnsetCleanTitle()` + +UnsetCleanTitle ensures that no value is present for CleanTitle, not even an explicit nil +### GetProfileId + +`func (o *Album) GetProfileId() int32` + +GetProfileId returns the ProfileId field if non-nil, zero value otherwise. + +### GetProfileIdOk + +`func (o *Album) GetProfileIdOk() (*int32, bool)` + +GetProfileIdOk returns a tuple with the ProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileId + +`func (o *Album) SetProfileId(v int32)` + +SetProfileId sets ProfileId field to given value. + +### HasProfileId + +`func (o *Album) HasProfileId() bool` + +HasProfileId returns a boolean if a field has been set. + +### GetMonitored + +`func (o *Album) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *Album) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *Album) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *Album) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetAnyReleaseOk + +`func (o *Album) GetAnyReleaseOk() bool` + +GetAnyReleaseOk returns the AnyReleaseOk field if non-nil, zero value otherwise. + +### GetAnyReleaseOkOk + +`func (o *Album) GetAnyReleaseOkOk() (*bool, bool)` + +GetAnyReleaseOkOk returns a tuple with the AnyReleaseOk field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAnyReleaseOk + +`func (o *Album) SetAnyReleaseOk(v bool)` + +SetAnyReleaseOk sets AnyReleaseOk field to given value. + +### HasAnyReleaseOk + +`func (o *Album) HasAnyReleaseOk() bool` + +HasAnyReleaseOk returns a boolean if a field has been set. + +### GetLastInfoSync + +`func (o *Album) GetLastInfoSync() time.Time` + +GetLastInfoSync returns the LastInfoSync field if non-nil, zero value otherwise. + +### GetLastInfoSyncOk + +`func (o *Album) GetLastInfoSyncOk() (*time.Time, bool)` + +GetLastInfoSyncOk returns a tuple with the LastInfoSync field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastInfoSync + +`func (o *Album) SetLastInfoSync(v time.Time)` + +SetLastInfoSync sets LastInfoSync field to given value. + +### HasLastInfoSync + +`func (o *Album) HasLastInfoSync() bool` + +HasLastInfoSync returns a boolean if a field has been set. + +### SetLastInfoSyncNil + +`func (o *Album) SetLastInfoSyncNil(b bool)` + + SetLastInfoSyncNil sets the value for LastInfoSync to be an explicit nil + +### UnsetLastInfoSync +`func (o *Album) UnsetLastInfoSync()` + +UnsetLastInfoSync ensures that no value is present for LastInfoSync, not even an explicit nil +### GetAdded + +`func (o *Album) GetAdded() time.Time` + +GetAdded returns the Added field if non-nil, zero value otherwise. + +### GetAddedOk + +`func (o *Album) GetAddedOk() (*time.Time, bool)` + +GetAddedOk returns a tuple with the Added field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdded + +`func (o *Album) SetAdded(v time.Time)` + +SetAdded sets Added field to given value. + +### HasAdded + +`func (o *Album) HasAdded() bool` + +HasAdded returns a boolean if a field has been set. + +### GetAddOptions + +`func (o *Album) GetAddOptions() AddAlbumOptions` + +GetAddOptions returns the AddOptions field if non-nil, zero value otherwise. + +### GetAddOptionsOk + +`func (o *Album) GetAddOptionsOk() (*AddAlbumOptions, bool)` + +GetAddOptionsOk returns a tuple with the AddOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddOptions + +`func (o *Album) SetAddOptions(v AddAlbumOptions)` + +SetAddOptions sets AddOptions field to given value. + +### HasAddOptions + +`func (o *Album) HasAddOptions() bool` + +HasAddOptions returns a boolean if a field has been set. + +### GetArtistMetadata + +`func (o *Album) GetArtistMetadata() ArtistMetadataLazyLoaded` + +GetArtistMetadata returns the ArtistMetadata field if non-nil, zero value otherwise. + +### GetArtistMetadataOk + +`func (o *Album) GetArtistMetadataOk() (*ArtistMetadataLazyLoaded, bool)` + +GetArtistMetadataOk returns a tuple with the ArtistMetadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadata + +`func (o *Album) SetArtistMetadata(v ArtistMetadataLazyLoaded)` + +SetArtistMetadata sets ArtistMetadata field to given value. + +### HasArtistMetadata + +`func (o *Album) HasArtistMetadata() bool` + +HasArtistMetadata returns a boolean if a field has been set. + +### GetAlbumReleases + +`func (o *Album) GetAlbumReleases() AlbumReleaseListLazyLoaded` + +GetAlbumReleases returns the AlbumReleases field if non-nil, zero value otherwise. + +### GetAlbumReleasesOk + +`func (o *Album) GetAlbumReleasesOk() (*AlbumReleaseListLazyLoaded, bool)` + +GetAlbumReleasesOk returns a tuple with the AlbumReleases field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumReleases + +`func (o *Album) SetAlbumReleases(v AlbumReleaseListLazyLoaded)` + +SetAlbumReleases sets AlbumReleases field to given value. + +### HasAlbumReleases + +`func (o *Album) HasAlbumReleases() bool` + +HasAlbumReleases returns a boolean if a field has been set. + +### GetArtist + +`func (o *Album) GetArtist() ArtistLazyLoaded` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *Album) GetArtistOk() (*ArtistLazyLoaded, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *Album) SetArtist(v ArtistLazyLoaded)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *Album) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumAddType.md b/lidarr/docs/AlbumAddType.md new file mode 100644 index 0000000..2d75739 --- /dev/null +++ b/lidarr/docs/AlbumAddType.md @@ -0,0 +1,13 @@ +# AlbumAddType + +## Enum + + +* `AUTOMATIC` (value: `"automatic"`) + +* `MANUAL` (value: `"manual"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumApi.md b/lidarr/docs/AlbumApi.md new file mode 100644 index 0000000..2ca4964 --- /dev/null +++ b/lidarr/docs/AlbumApi.md @@ -0,0 +1,414 @@ +# \AlbumApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Album**](AlbumApi.md#CreateApiV1Album) | **Post** /api/v1/album | +[**DeleteApiV1Album**](AlbumApi.md#DeleteApiV1Album) | **Delete** /api/v1/album/{id} | +[**GetApiV1AlbumById**](AlbumApi.md#GetApiV1AlbumById) | **Get** /api/v1/album/{id} | +[**ListApiV1Album**](AlbumApi.md#ListApiV1Album) | **Get** /api/v1/album | +[**PutApiV1AlbumMonitor**](AlbumApi.md#PutApiV1AlbumMonitor) | **Put** /api/v1/album/monitor | +[**UpdateApiV1Album**](AlbumApi.md#UpdateApiV1Album) | **Put** /api/v1/album/{id} | + + + +## CreateApiV1Album + +> AlbumResource CreateApiV1Album(ctx).AlbumResource(albumResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + albumResource := *lidarrClient.NewAlbumResource() // AlbumResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.CreateApiV1Album(context.Background()).AlbumResource(albumResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.CreateApiV1Album``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Album`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `AlbumApi.CreateApiV1Album`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1AlbumRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **albumResource** | [**AlbumResource**](AlbumResource.md) | | + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Album + +> DeleteApiV1Album(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.DeleteApiV1Album(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.DeleteApiV1Album``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1AlbumRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1AlbumById + +> AlbumResource GetApiV1AlbumById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.GetApiV1AlbumById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.GetApiV1AlbumById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1AlbumById`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `AlbumApi.GetApiV1AlbumById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1AlbumByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Album + +> []AlbumResource ListApiV1Album(ctx).ArtistId(artistId).AlbumIds(albumIds).ForeignAlbumId(foreignAlbumId).IncludeAllArtistAlbums(includeAllArtistAlbums).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumIds := []int32{int32(123)} // []int32 | (optional) + foreignAlbumId := "foreignAlbumId_example" // string | (optional) + includeAllArtistAlbums := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.ListApiV1Album(context.Background()).ArtistId(artistId).AlbumIds(albumIds).ForeignAlbumId(foreignAlbumId).IncludeAllArtistAlbums(includeAllArtistAlbums).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.ListApiV1Album``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Album`: []AlbumResource + fmt.Fprintf(os.Stdout, "Response from `AlbumApi.ListApiV1Album`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1AlbumRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumIds** | **[]int32** | | + **foreignAlbumId** | **string** | | + **includeAllArtistAlbums** | **bool** | | [default to false] + +### Return type + +[**[]AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PutApiV1AlbumMonitor + +> PutApiV1AlbumMonitor(ctx).AlbumsMonitoredResource(albumsMonitoredResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + albumsMonitoredResource := *lidarrClient.NewAlbumsMonitoredResource() // AlbumsMonitoredResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.PutApiV1AlbumMonitor(context.Background()).AlbumsMonitoredResource(albumsMonitoredResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.PutApiV1AlbumMonitor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPutApiV1AlbumMonitorRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **albumsMonitoredResource** | [**AlbumsMonitoredResource**](AlbumsMonitoredResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Album + +> AlbumResource UpdateApiV1Album(ctx, id).AlbumResource(albumResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + albumResource := *lidarrClient.NewAlbumResource() // AlbumResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumApi.UpdateApiV1Album(context.Background(), id).AlbumResource(albumResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumApi.UpdateApiV1Album``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Album`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `AlbumApi.UpdateApiV1Album`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1AlbumRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **albumResource** | [**AlbumResource**](AlbumResource.md) | | + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/AlbumLazyLoaded.md b/lidarr/docs/AlbumLazyLoaded.md new file mode 100644 index 0000000..f6475b9 --- /dev/null +++ b/lidarr/docs/AlbumLazyLoaded.md @@ -0,0 +1,82 @@ +# AlbumLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**Album**](Album.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewAlbumLazyLoaded + +`func NewAlbumLazyLoaded() *AlbumLazyLoaded` + +NewAlbumLazyLoaded instantiates a new AlbumLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumLazyLoadedWithDefaults + +`func NewAlbumLazyLoadedWithDefaults() *AlbumLazyLoaded` + +NewAlbumLazyLoadedWithDefaults instantiates a new AlbumLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *AlbumLazyLoaded) GetValue() Album` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *AlbumLazyLoaded) GetValueOk() (*Album, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *AlbumLazyLoaded) SetValue(v Album)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *AlbumLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *AlbumLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *AlbumLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *AlbumLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *AlbumLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumListLazyLoaded.md b/lidarr/docs/AlbumListLazyLoaded.md new file mode 100644 index 0000000..ef95bf1 --- /dev/null +++ b/lidarr/docs/AlbumListLazyLoaded.md @@ -0,0 +1,92 @@ +# AlbumListLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**[]Album**](Album.md) | | [optional] [readonly] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewAlbumListLazyLoaded + +`func NewAlbumListLazyLoaded() *AlbumListLazyLoaded` + +NewAlbumListLazyLoaded instantiates a new AlbumListLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumListLazyLoadedWithDefaults + +`func NewAlbumListLazyLoadedWithDefaults() *AlbumListLazyLoaded` + +NewAlbumListLazyLoadedWithDefaults instantiates a new AlbumListLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *AlbumListLazyLoaded) GetValue() []Album` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *AlbumListLazyLoaded) GetValueOk() (*[]Album, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *AlbumListLazyLoaded) SetValue(v []Album)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *AlbumListLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### SetValueNil + +`func (o *AlbumListLazyLoaded) SetValueNil(b bool)` + + SetValueNil sets the value for Value to be an explicit nil + +### UnsetValue +`func (o *AlbumListLazyLoaded) UnsetValue()` + +UnsetValue ensures that no value is present for Value, not even an explicit nil +### GetIsLoaded + +`func (o *AlbumListLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *AlbumListLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *AlbumListLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *AlbumListLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumLookupApi.md b/lidarr/docs/AlbumLookupApi.md new file mode 100644 index 0000000..a128240 --- /dev/null +++ b/lidarr/docs/AlbumLookupApi.md @@ -0,0 +1,71 @@ +# \AlbumLookupApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1AlbumLookup**](AlbumLookupApi.md#GetApiV1AlbumLookup) | **Get** /api/v1/album/lookup | + + + +## GetApiV1AlbumLookup + +> GetApiV1AlbumLookup(ctx).Term(term).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + term := "term_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AlbumLookupApi.GetApiV1AlbumLookup(context.Background()).Term(term).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AlbumLookupApi.GetApiV1AlbumLookup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1AlbumLookupRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **term** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/AlbumRelease.md b/lidarr/docs/AlbumRelease.md new file mode 100644 index 0000000..dcdec62 --- /dev/null +++ b/lidarr/docs/AlbumRelease.md @@ -0,0 +1,536 @@ +# AlbumRelease + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**ForeignReleaseId** | Pointer to **NullableString** | | [optional] +**OldForeignReleaseIds** | Pointer to **[]string** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Status** | Pointer to **NullableString** | | [optional] +**Duration** | Pointer to **int32** | | [optional] +**Label** | Pointer to **[]string** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Country** | Pointer to **[]string** | | [optional] +**ReleaseDate** | Pointer to **NullableTime** | | [optional] +**Media** | Pointer to [**[]Medium**](Medium.md) | | [optional] +**TrackCount** | Pointer to **int32** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**Album** | Pointer to [**AlbumLazyLoaded**](AlbumLazyLoaded.md) | | [optional] +**Tracks** | Pointer to [**TrackListLazyLoaded**](TrackListLazyLoaded.md) | | [optional] + +## Methods + +### NewAlbumRelease + +`func NewAlbumRelease() *AlbumRelease` + +NewAlbumRelease instantiates a new AlbumRelease object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumReleaseWithDefaults + +`func NewAlbumReleaseWithDefaults() *AlbumRelease` + +NewAlbumReleaseWithDefaults instantiates a new AlbumRelease object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *AlbumRelease) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *AlbumRelease) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *AlbumRelease) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *AlbumRelease) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *AlbumRelease) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *AlbumRelease) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *AlbumRelease) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *AlbumRelease) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetForeignReleaseId + +`func (o *AlbumRelease) GetForeignReleaseId() string` + +GetForeignReleaseId returns the ForeignReleaseId field if non-nil, zero value otherwise. + +### GetForeignReleaseIdOk + +`func (o *AlbumRelease) GetForeignReleaseIdOk() (*string, bool)` + +GetForeignReleaseIdOk returns a tuple with the ForeignReleaseId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignReleaseId + +`func (o *AlbumRelease) SetForeignReleaseId(v string)` + +SetForeignReleaseId sets ForeignReleaseId field to given value. + +### HasForeignReleaseId + +`func (o *AlbumRelease) HasForeignReleaseId() bool` + +HasForeignReleaseId returns a boolean if a field has been set. + +### SetForeignReleaseIdNil + +`func (o *AlbumRelease) SetForeignReleaseIdNil(b bool)` + + SetForeignReleaseIdNil sets the value for ForeignReleaseId to be an explicit nil + +### UnsetForeignReleaseId +`func (o *AlbumRelease) UnsetForeignReleaseId()` + +UnsetForeignReleaseId ensures that no value is present for ForeignReleaseId, not even an explicit nil +### GetOldForeignReleaseIds + +`func (o *AlbumRelease) GetOldForeignReleaseIds() []string` + +GetOldForeignReleaseIds returns the OldForeignReleaseIds field if non-nil, zero value otherwise. + +### GetOldForeignReleaseIdsOk + +`func (o *AlbumRelease) GetOldForeignReleaseIdsOk() (*[]string, bool)` + +GetOldForeignReleaseIdsOk returns a tuple with the OldForeignReleaseIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldForeignReleaseIds + +`func (o *AlbumRelease) SetOldForeignReleaseIds(v []string)` + +SetOldForeignReleaseIds sets OldForeignReleaseIds field to given value. + +### HasOldForeignReleaseIds + +`func (o *AlbumRelease) HasOldForeignReleaseIds() bool` + +HasOldForeignReleaseIds returns a boolean if a field has been set. + +### SetOldForeignReleaseIdsNil + +`func (o *AlbumRelease) SetOldForeignReleaseIdsNil(b bool)` + + SetOldForeignReleaseIdsNil sets the value for OldForeignReleaseIds to be an explicit nil + +### UnsetOldForeignReleaseIds +`func (o *AlbumRelease) UnsetOldForeignReleaseIds()` + +UnsetOldForeignReleaseIds ensures that no value is present for OldForeignReleaseIds, not even an explicit nil +### GetTitle + +`func (o *AlbumRelease) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *AlbumRelease) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *AlbumRelease) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *AlbumRelease) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *AlbumRelease) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *AlbumRelease) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetStatus + +`func (o *AlbumRelease) GetStatus() string` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AlbumRelease) GetStatusOk() (*string, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AlbumRelease) SetStatus(v string)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *AlbumRelease) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### SetStatusNil + +`func (o *AlbumRelease) SetStatusNil(b bool)` + + SetStatusNil sets the value for Status to be an explicit nil + +### UnsetStatus +`func (o *AlbumRelease) UnsetStatus()` + +UnsetStatus ensures that no value is present for Status, not even an explicit nil +### GetDuration + +`func (o *AlbumRelease) GetDuration() int32` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *AlbumRelease) GetDurationOk() (*int32, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *AlbumRelease) SetDuration(v int32)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *AlbumRelease) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetLabel + +`func (o *AlbumRelease) GetLabel() []string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *AlbumRelease) GetLabelOk() (*[]string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *AlbumRelease) SetLabel(v []string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *AlbumRelease) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *AlbumRelease) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *AlbumRelease) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetDisambiguation + +`func (o *AlbumRelease) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *AlbumRelease) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *AlbumRelease) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *AlbumRelease) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *AlbumRelease) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *AlbumRelease) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetCountry + +`func (o *AlbumRelease) GetCountry() []string` + +GetCountry returns the Country field if non-nil, zero value otherwise. + +### GetCountryOk + +`func (o *AlbumRelease) GetCountryOk() (*[]string, bool)` + +GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountry + +`func (o *AlbumRelease) SetCountry(v []string)` + +SetCountry sets Country field to given value. + +### HasCountry + +`func (o *AlbumRelease) HasCountry() bool` + +HasCountry returns a boolean if a field has been set. + +### SetCountryNil + +`func (o *AlbumRelease) SetCountryNil(b bool)` + + SetCountryNil sets the value for Country to be an explicit nil + +### UnsetCountry +`func (o *AlbumRelease) UnsetCountry()` + +UnsetCountry ensures that no value is present for Country, not even an explicit nil +### GetReleaseDate + +`func (o *AlbumRelease) GetReleaseDate() time.Time` + +GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise. + +### GetReleaseDateOk + +`func (o *AlbumRelease) GetReleaseDateOk() (*time.Time, bool)` + +GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseDate + +`func (o *AlbumRelease) SetReleaseDate(v time.Time)` + +SetReleaseDate sets ReleaseDate field to given value. + +### HasReleaseDate + +`func (o *AlbumRelease) HasReleaseDate() bool` + +HasReleaseDate returns a boolean if a field has been set. + +### SetReleaseDateNil + +`func (o *AlbumRelease) SetReleaseDateNil(b bool)` + + SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil + +### UnsetReleaseDate +`func (o *AlbumRelease) UnsetReleaseDate()` + +UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +### GetMedia + +`func (o *AlbumRelease) GetMedia() []Medium` + +GetMedia returns the Media field if non-nil, zero value otherwise. + +### GetMediaOk + +`func (o *AlbumRelease) GetMediaOk() (*[]Medium, bool)` + +GetMediaOk returns a tuple with the Media field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMedia + +`func (o *AlbumRelease) SetMedia(v []Medium)` + +SetMedia sets Media field to given value. + +### HasMedia + +`func (o *AlbumRelease) HasMedia() bool` + +HasMedia returns a boolean if a field has been set. + +### SetMediaNil + +`func (o *AlbumRelease) SetMediaNil(b bool)` + + SetMediaNil sets the value for Media to be an explicit nil + +### UnsetMedia +`func (o *AlbumRelease) UnsetMedia()` + +UnsetMedia ensures that no value is present for Media, not even an explicit nil +### GetTrackCount + +`func (o *AlbumRelease) GetTrackCount() int32` + +GetTrackCount returns the TrackCount field if non-nil, zero value otherwise. + +### GetTrackCountOk + +`func (o *AlbumRelease) GetTrackCountOk() (*int32, bool)` + +GetTrackCountOk returns a tuple with the TrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackCount + +`func (o *AlbumRelease) SetTrackCount(v int32)` + +SetTrackCount sets TrackCount field to given value. + +### HasTrackCount + +`func (o *AlbumRelease) HasTrackCount() bool` + +HasTrackCount returns a boolean if a field has been set. + +### GetMonitored + +`func (o *AlbumRelease) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AlbumRelease) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AlbumRelease) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AlbumRelease) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetAlbum + +`func (o *AlbumRelease) GetAlbum() AlbumLazyLoaded` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *AlbumRelease) GetAlbumOk() (*AlbumLazyLoaded, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *AlbumRelease) SetAlbum(v AlbumLazyLoaded)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *AlbumRelease) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + +### GetTracks + +`func (o *AlbumRelease) GetTracks() TrackListLazyLoaded` + +GetTracks returns the Tracks field if non-nil, zero value otherwise. + +### GetTracksOk + +`func (o *AlbumRelease) GetTracksOk() (*TrackListLazyLoaded, bool)` + +GetTracksOk returns a tuple with the Tracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTracks + +`func (o *AlbumRelease) SetTracks(v TrackListLazyLoaded)` + +SetTracks sets Tracks field to given value. + +### HasTracks + +`func (o *AlbumRelease) HasTracks() bool` + +HasTracks returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumReleaseLazyLoaded.md b/lidarr/docs/AlbumReleaseLazyLoaded.md new file mode 100644 index 0000000..7add7e4 --- /dev/null +++ b/lidarr/docs/AlbumReleaseLazyLoaded.md @@ -0,0 +1,82 @@ +# AlbumReleaseLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**AlbumRelease**](AlbumRelease.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewAlbumReleaseLazyLoaded + +`func NewAlbumReleaseLazyLoaded() *AlbumReleaseLazyLoaded` + +NewAlbumReleaseLazyLoaded instantiates a new AlbumReleaseLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumReleaseLazyLoadedWithDefaults + +`func NewAlbumReleaseLazyLoadedWithDefaults() *AlbumReleaseLazyLoaded` + +NewAlbumReleaseLazyLoadedWithDefaults instantiates a new AlbumReleaseLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *AlbumReleaseLazyLoaded) GetValue() AlbumRelease` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *AlbumReleaseLazyLoaded) GetValueOk() (*AlbumRelease, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *AlbumReleaseLazyLoaded) SetValue(v AlbumRelease)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *AlbumReleaseLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *AlbumReleaseLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *AlbumReleaseLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *AlbumReleaseLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *AlbumReleaseLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumReleaseListLazyLoaded.md b/lidarr/docs/AlbumReleaseListLazyLoaded.md new file mode 100644 index 0000000..e79c0dc --- /dev/null +++ b/lidarr/docs/AlbumReleaseListLazyLoaded.md @@ -0,0 +1,92 @@ +# AlbumReleaseListLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**[]AlbumRelease**](AlbumRelease.md) | | [optional] [readonly] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewAlbumReleaseListLazyLoaded + +`func NewAlbumReleaseListLazyLoaded() *AlbumReleaseListLazyLoaded` + +NewAlbumReleaseListLazyLoaded instantiates a new AlbumReleaseListLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumReleaseListLazyLoadedWithDefaults + +`func NewAlbumReleaseListLazyLoadedWithDefaults() *AlbumReleaseListLazyLoaded` + +NewAlbumReleaseListLazyLoadedWithDefaults instantiates a new AlbumReleaseListLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *AlbumReleaseListLazyLoaded) GetValue() []AlbumRelease` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *AlbumReleaseListLazyLoaded) GetValueOk() (*[]AlbumRelease, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *AlbumReleaseListLazyLoaded) SetValue(v []AlbumRelease)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *AlbumReleaseListLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### SetValueNil + +`func (o *AlbumReleaseListLazyLoaded) SetValueNil(b bool)` + + SetValueNil sets the value for Value to be an explicit nil + +### UnsetValue +`func (o *AlbumReleaseListLazyLoaded) UnsetValue()` + +UnsetValue ensures that no value is present for Value, not even an explicit nil +### GetIsLoaded + +`func (o *AlbumReleaseListLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *AlbumReleaseListLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *AlbumReleaseListLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *AlbumReleaseListLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumReleaseResource.md b/lidarr/docs/AlbumReleaseResource.md new file mode 100644 index 0000000..7e43851 --- /dev/null +++ b/lidarr/docs/AlbumReleaseResource.md @@ -0,0 +1,474 @@ +# AlbumReleaseResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**ForeignReleaseId** | Pointer to **NullableString** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Status** | Pointer to **NullableString** | | [optional] +**Duration** | Pointer to **int32** | | [optional] +**TrackCount** | Pointer to **int32** | | [optional] +**Media** | Pointer to [**[]MediumResource**](MediumResource.md) | | [optional] +**MediumCount** | Pointer to **int32** | | [optional] [readonly] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Country** | Pointer to **[]string** | | [optional] +**Label** | Pointer to **[]string** | | [optional] +**Format** | Pointer to **NullableString** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] + +## Methods + +### NewAlbumReleaseResource + +`func NewAlbumReleaseResource() *AlbumReleaseResource` + +NewAlbumReleaseResource instantiates a new AlbumReleaseResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumReleaseResourceWithDefaults + +`func NewAlbumReleaseResourceWithDefaults() *AlbumReleaseResource` + +NewAlbumReleaseResourceWithDefaults instantiates a new AlbumReleaseResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *AlbumReleaseResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *AlbumReleaseResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *AlbumReleaseResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *AlbumReleaseResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *AlbumReleaseResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *AlbumReleaseResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *AlbumReleaseResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *AlbumReleaseResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetForeignReleaseId + +`func (o *AlbumReleaseResource) GetForeignReleaseId() string` + +GetForeignReleaseId returns the ForeignReleaseId field if non-nil, zero value otherwise. + +### GetForeignReleaseIdOk + +`func (o *AlbumReleaseResource) GetForeignReleaseIdOk() (*string, bool)` + +GetForeignReleaseIdOk returns a tuple with the ForeignReleaseId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignReleaseId + +`func (o *AlbumReleaseResource) SetForeignReleaseId(v string)` + +SetForeignReleaseId sets ForeignReleaseId field to given value. + +### HasForeignReleaseId + +`func (o *AlbumReleaseResource) HasForeignReleaseId() bool` + +HasForeignReleaseId returns a boolean if a field has been set. + +### SetForeignReleaseIdNil + +`func (o *AlbumReleaseResource) SetForeignReleaseIdNil(b bool)` + + SetForeignReleaseIdNil sets the value for ForeignReleaseId to be an explicit nil + +### UnsetForeignReleaseId +`func (o *AlbumReleaseResource) UnsetForeignReleaseId()` + +UnsetForeignReleaseId ensures that no value is present for ForeignReleaseId, not even an explicit nil +### GetTitle + +`func (o *AlbumReleaseResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *AlbumReleaseResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *AlbumReleaseResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *AlbumReleaseResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *AlbumReleaseResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *AlbumReleaseResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetStatus + +`func (o *AlbumReleaseResource) GetStatus() string` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AlbumReleaseResource) GetStatusOk() (*string, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AlbumReleaseResource) SetStatus(v string)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *AlbumReleaseResource) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### SetStatusNil + +`func (o *AlbumReleaseResource) SetStatusNil(b bool)` + + SetStatusNil sets the value for Status to be an explicit nil + +### UnsetStatus +`func (o *AlbumReleaseResource) UnsetStatus()` + +UnsetStatus ensures that no value is present for Status, not even an explicit nil +### GetDuration + +`func (o *AlbumReleaseResource) GetDuration() int32` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *AlbumReleaseResource) GetDurationOk() (*int32, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *AlbumReleaseResource) SetDuration(v int32)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *AlbumReleaseResource) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetTrackCount + +`func (o *AlbumReleaseResource) GetTrackCount() int32` + +GetTrackCount returns the TrackCount field if non-nil, zero value otherwise. + +### GetTrackCountOk + +`func (o *AlbumReleaseResource) GetTrackCountOk() (*int32, bool)` + +GetTrackCountOk returns a tuple with the TrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackCount + +`func (o *AlbumReleaseResource) SetTrackCount(v int32)` + +SetTrackCount sets TrackCount field to given value. + +### HasTrackCount + +`func (o *AlbumReleaseResource) HasTrackCount() bool` + +HasTrackCount returns a boolean if a field has been set. + +### GetMedia + +`func (o *AlbumReleaseResource) GetMedia() []MediumResource` + +GetMedia returns the Media field if non-nil, zero value otherwise. + +### GetMediaOk + +`func (o *AlbumReleaseResource) GetMediaOk() (*[]MediumResource, bool)` + +GetMediaOk returns a tuple with the Media field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMedia + +`func (o *AlbumReleaseResource) SetMedia(v []MediumResource)` + +SetMedia sets Media field to given value. + +### HasMedia + +`func (o *AlbumReleaseResource) HasMedia() bool` + +HasMedia returns a boolean if a field has been set. + +### SetMediaNil + +`func (o *AlbumReleaseResource) SetMediaNil(b bool)` + + SetMediaNil sets the value for Media to be an explicit nil + +### UnsetMedia +`func (o *AlbumReleaseResource) UnsetMedia()` + +UnsetMedia ensures that no value is present for Media, not even an explicit nil +### GetMediumCount + +`func (o *AlbumReleaseResource) GetMediumCount() int32` + +GetMediumCount returns the MediumCount field if non-nil, zero value otherwise. + +### GetMediumCountOk + +`func (o *AlbumReleaseResource) GetMediumCountOk() (*int32, bool)` + +GetMediumCountOk returns a tuple with the MediumCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumCount + +`func (o *AlbumReleaseResource) SetMediumCount(v int32)` + +SetMediumCount sets MediumCount field to given value. + +### HasMediumCount + +`func (o *AlbumReleaseResource) HasMediumCount() bool` + +HasMediumCount returns a boolean if a field has been set. + +### GetDisambiguation + +`func (o *AlbumReleaseResource) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *AlbumReleaseResource) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *AlbumReleaseResource) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *AlbumReleaseResource) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *AlbumReleaseResource) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *AlbumReleaseResource) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetCountry + +`func (o *AlbumReleaseResource) GetCountry() []string` + +GetCountry returns the Country field if non-nil, zero value otherwise. + +### GetCountryOk + +`func (o *AlbumReleaseResource) GetCountryOk() (*[]string, bool)` + +GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountry + +`func (o *AlbumReleaseResource) SetCountry(v []string)` + +SetCountry sets Country field to given value. + +### HasCountry + +`func (o *AlbumReleaseResource) HasCountry() bool` + +HasCountry returns a boolean if a field has been set. + +### SetCountryNil + +`func (o *AlbumReleaseResource) SetCountryNil(b bool)` + + SetCountryNil sets the value for Country to be an explicit nil + +### UnsetCountry +`func (o *AlbumReleaseResource) UnsetCountry()` + +UnsetCountry ensures that no value is present for Country, not even an explicit nil +### GetLabel + +`func (o *AlbumReleaseResource) GetLabel() []string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *AlbumReleaseResource) GetLabelOk() (*[]string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *AlbumReleaseResource) SetLabel(v []string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *AlbumReleaseResource) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *AlbumReleaseResource) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *AlbumReleaseResource) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetFormat + +`func (o *AlbumReleaseResource) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *AlbumReleaseResource) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *AlbumReleaseResource) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *AlbumReleaseResource) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### SetFormatNil + +`func (o *AlbumReleaseResource) SetFormatNil(b bool)` + + SetFormatNil sets the value for Format to be an explicit nil + +### UnsetFormat +`func (o *AlbumReleaseResource) UnsetFormat()` + +UnsetFormat ensures that no value is present for Format, not even an explicit nil +### GetMonitored + +`func (o *AlbumReleaseResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AlbumReleaseResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AlbumReleaseResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AlbumReleaseResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumResource.md b/lidarr/docs/AlbumResource.md new file mode 100644 index 0000000..7060659 --- /dev/null +++ b/lidarr/docs/AlbumResource.md @@ -0,0 +1,810 @@ +# AlbumResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Overview** | Pointer to **NullableString** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**ForeignAlbumId** | Pointer to **NullableString** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**AnyReleaseOk** | Pointer to **bool** | | [optional] +**ProfileId** | Pointer to **int32** | | [optional] +**Duration** | Pointer to **int32** | | [optional] +**AlbumType** | Pointer to **NullableString** | | [optional] +**SecondaryTypes** | Pointer to **[]string** | | [optional] +**MediumCount** | Pointer to **int32** | | [optional] [readonly] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**ReleaseDate** | Pointer to **NullableTime** | | [optional] +**Releases** | Pointer to [**[]AlbumReleaseResource**](AlbumReleaseResource.md) | | [optional] +**Genres** | Pointer to **[]string** | | [optional] +**Media** | Pointer to [**[]MediumResource**](MediumResource.md) | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Images** | Pointer to [**[]MediaCover**](MediaCover.md) | | [optional] +**Links** | Pointer to [**[]Links**](Links.md) | | [optional] +**Statistics** | Pointer to [**AlbumStatisticsResource**](AlbumStatisticsResource.md) | | [optional] +**AddOptions** | Pointer to [**AddAlbumOptions**](AddAlbumOptions.md) | | [optional] +**RemoteCover** | Pointer to **NullableString** | | [optional] +**Grabbed** | Pointer to **bool** | | [optional] + +## Methods + +### NewAlbumResource + +`func NewAlbumResource() *AlbumResource` + +NewAlbumResource instantiates a new AlbumResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumResourceWithDefaults + +`func NewAlbumResourceWithDefaults() *AlbumResource` + +NewAlbumResourceWithDefaults instantiates a new AlbumResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *AlbumResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *AlbumResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *AlbumResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *AlbumResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetTitle + +`func (o *AlbumResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *AlbumResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *AlbumResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *AlbumResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *AlbumResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *AlbumResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetDisambiguation + +`func (o *AlbumResource) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *AlbumResource) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *AlbumResource) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *AlbumResource) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *AlbumResource) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *AlbumResource) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetOverview + +`func (o *AlbumResource) GetOverview() string` + +GetOverview returns the Overview field if non-nil, zero value otherwise. + +### GetOverviewOk + +`func (o *AlbumResource) GetOverviewOk() (*string, bool)` + +GetOverviewOk returns a tuple with the Overview field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverview + +`func (o *AlbumResource) SetOverview(v string)` + +SetOverview sets Overview field to given value. + +### HasOverview + +`func (o *AlbumResource) HasOverview() bool` + +HasOverview returns a boolean if a field has been set. + +### SetOverviewNil + +`func (o *AlbumResource) SetOverviewNil(b bool)` + + SetOverviewNil sets the value for Overview to be an explicit nil + +### UnsetOverview +`func (o *AlbumResource) UnsetOverview()` + +UnsetOverview ensures that no value is present for Overview, not even an explicit nil +### GetArtistId + +`func (o *AlbumResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *AlbumResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *AlbumResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *AlbumResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetForeignAlbumId + +`func (o *AlbumResource) GetForeignAlbumId() string` + +GetForeignAlbumId returns the ForeignAlbumId field if non-nil, zero value otherwise. + +### GetForeignAlbumIdOk + +`func (o *AlbumResource) GetForeignAlbumIdOk() (*string, bool)` + +GetForeignAlbumIdOk returns a tuple with the ForeignAlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignAlbumId + +`func (o *AlbumResource) SetForeignAlbumId(v string)` + +SetForeignAlbumId sets ForeignAlbumId field to given value. + +### HasForeignAlbumId + +`func (o *AlbumResource) HasForeignAlbumId() bool` + +HasForeignAlbumId returns a boolean if a field has been set. + +### SetForeignAlbumIdNil + +`func (o *AlbumResource) SetForeignAlbumIdNil(b bool)` + + SetForeignAlbumIdNil sets the value for ForeignAlbumId to be an explicit nil + +### UnsetForeignAlbumId +`func (o *AlbumResource) UnsetForeignAlbumId()` + +UnsetForeignAlbumId ensures that no value is present for ForeignAlbumId, not even an explicit nil +### GetMonitored + +`func (o *AlbumResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AlbumResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AlbumResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AlbumResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetAnyReleaseOk + +`func (o *AlbumResource) GetAnyReleaseOk() bool` + +GetAnyReleaseOk returns the AnyReleaseOk field if non-nil, zero value otherwise. + +### GetAnyReleaseOkOk + +`func (o *AlbumResource) GetAnyReleaseOkOk() (*bool, bool)` + +GetAnyReleaseOkOk returns a tuple with the AnyReleaseOk field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAnyReleaseOk + +`func (o *AlbumResource) SetAnyReleaseOk(v bool)` + +SetAnyReleaseOk sets AnyReleaseOk field to given value. + +### HasAnyReleaseOk + +`func (o *AlbumResource) HasAnyReleaseOk() bool` + +HasAnyReleaseOk returns a boolean if a field has been set. + +### GetProfileId + +`func (o *AlbumResource) GetProfileId() int32` + +GetProfileId returns the ProfileId field if non-nil, zero value otherwise. + +### GetProfileIdOk + +`func (o *AlbumResource) GetProfileIdOk() (*int32, bool)` + +GetProfileIdOk returns a tuple with the ProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileId + +`func (o *AlbumResource) SetProfileId(v int32)` + +SetProfileId sets ProfileId field to given value. + +### HasProfileId + +`func (o *AlbumResource) HasProfileId() bool` + +HasProfileId returns a boolean if a field has been set. + +### GetDuration + +`func (o *AlbumResource) GetDuration() int32` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *AlbumResource) GetDurationOk() (*int32, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *AlbumResource) SetDuration(v int32)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *AlbumResource) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetAlbumType + +`func (o *AlbumResource) GetAlbumType() string` + +GetAlbumType returns the AlbumType field if non-nil, zero value otherwise. + +### GetAlbumTypeOk + +`func (o *AlbumResource) GetAlbumTypeOk() (*string, bool)` + +GetAlbumTypeOk returns a tuple with the AlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumType + +`func (o *AlbumResource) SetAlbumType(v string)` + +SetAlbumType sets AlbumType field to given value. + +### HasAlbumType + +`func (o *AlbumResource) HasAlbumType() bool` + +HasAlbumType returns a boolean if a field has been set. + +### SetAlbumTypeNil + +`func (o *AlbumResource) SetAlbumTypeNil(b bool)` + + SetAlbumTypeNil sets the value for AlbumType to be an explicit nil + +### UnsetAlbumType +`func (o *AlbumResource) UnsetAlbumType()` + +UnsetAlbumType ensures that no value is present for AlbumType, not even an explicit nil +### GetSecondaryTypes + +`func (o *AlbumResource) GetSecondaryTypes() []string` + +GetSecondaryTypes returns the SecondaryTypes field if non-nil, zero value otherwise. + +### GetSecondaryTypesOk + +`func (o *AlbumResource) GetSecondaryTypesOk() (*[]string, bool)` + +GetSecondaryTypesOk returns a tuple with the SecondaryTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryTypes + +`func (o *AlbumResource) SetSecondaryTypes(v []string)` + +SetSecondaryTypes sets SecondaryTypes field to given value. + +### HasSecondaryTypes + +`func (o *AlbumResource) HasSecondaryTypes() bool` + +HasSecondaryTypes returns a boolean if a field has been set. + +### SetSecondaryTypesNil + +`func (o *AlbumResource) SetSecondaryTypesNil(b bool)` + + SetSecondaryTypesNil sets the value for SecondaryTypes to be an explicit nil + +### UnsetSecondaryTypes +`func (o *AlbumResource) UnsetSecondaryTypes()` + +UnsetSecondaryTypes ensures that no value is present for SecondaryTypes, not even an explicit nil +### GetMediumCount + +`func (o *AlbumResource) GetMediumCount() int32` + +GetMediumCount returns the MediumCount field if non-nil, zero value otherwise. + +### GetMediumCountOk + +`func (o *AlbumResource) GetMediumCountOk() (*int32, bool)` + +GetMediumCountOk returns a tuple with the MediumCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumCount + +`func (o *AlbumResource) SetMediumCount(v int32)` + +SetMediumCount sets MediumCount field to given value. + +### HasMediumCount + +`func (o *AlbumResource) HasMediumCount() bool` + +HasMediumCount returns a boolean if a field has been set. + +### GetRatings + +`func (o *AlbumResource) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *AlbumResource) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *AlbumResource) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *AlbumResource) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetReleaseDate + +`func (o *AlbumResource) GetReleaseDate() time.Time` + +GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise. + +### GetReleaseDateOk + +`func (o *AlbumResource) GetReleaseDateOk() (*time.Time, bool)` + +GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseDate + +`func (o *AlbumResource) SetReleaseDate(v time.Time)` + +SetReleaseDate sets ReleaseDate field to given value. + +### HasReleaseDate + +`func (o *AlbumResource) HasReleaseDate() bool` + +HasReleaseDate returns a boolean if a field has been set. + +### SetReleaseDateNil + +`func (o *AlbumResource) SetReleaseDateNil(b bool)` + + SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil + +### UnsetReleaseDate +`func (o *AlbumResource) UnsetReleaseDate()` + +UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +### GetReleases + +`func (o *AlbumResource) GetReleases() []AlbumReleaseResource` + +GetReleases returns the Releases field if non-nil, zero value otherwise. + +### GetReleasesOk + +`func (o *AlbumResource) GetReleasesOk() (*[]AlbumReleaseResource, bool)` + +GetReleasesOk returns a tuple with the Releases field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleases + +`func (o *AlbumResource) SetReleases(v []AlbumReleaseResource)` + +SetReleases sets Releases field to given value. + +### HasReleases + +`func (o *AlbumResource) HasReleases() bool` + +HasReleases returns a boolean if a field has been set. + +### SetReleasesNil + +`func (o *AlbumResource) SetReleasesNil(b bool)` + + SetReleasesNil sets the value for Releases to be an explicit nil + +### UnsetReleases +`func (o *AlbumResource) UnsetReleases()` + +UnsetReleases ensures that no value is present for Releases, not even an explicit nil +### GetGenres + +`func (o *AlbumResource) GetGenres() []string` + +GetGenres returns the Genres field if non-nil, zero value otherwise. + +### GetGenresOk + +`func (o *AlbumResource) GetGenresOk() (*[]string, bool)` + +GetGenresOk returns a tuple with the Genres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGenres + +`func (o *AlbumResource) SetGenres(v []string)` + +SetGenres sets Genres field to given value. + +### HasGenres + +`func (o *AlbumResource) HasGenres() bool` + +HasGenres returns a boolean if a field has been set. + +### SetGenresNil + +`func (o *AlbumResource) SetGenresNil(b bool)` + + SetGenresNil sets the value for Genres to be an explicit nil + +### UnsetGenres +`func (o *AlbumResource) UnsetGenres()` + +UnsetGenres ensures that no value is present for Genres, not even an explicit nil +### GetMedia + +`func (o *AlbumResource) GetMedia() []MediumResource` + +GetMedia returns the Media field if non-nil, zero value otherwise. + +### GetMediaOk + +`func (o *AlbumResource) GetMediaOk() (*[]MediumResource, bool)` + +GetMediaOk returns a tuple with the Media field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMedia + +`func (o *AlbumResource) SetMedia(v []MediumResource)` + +SetMedia sets Media field to given value. + +### HasMedia + +`func (o *AlbumResource) HasMedia() bool` + +HasMedia returns a boolean if a field has been set. + +### SetMediaNil + +`func (o *AlbumResource) SetMediaNil(b bool)` + + SetMediaNil sets the value for Media to be an explicit nil + +### UnsetMedia +`func (o *AlbumResource) UnsetMedia()` + +UnsetMedia ensures that no value is present for Media, not even an explicit nil +### GetArtist + +`func (o *AlbumResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *AlbumResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *AlbumResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *AlbumResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetImages + +`func (o *AlbumResource) GetImages() []MediaCover` + +GetImages returns the Images field if non-nil, zero value otherwise. + +### GetImagesOk + +`func (o *AlbumResource) GetImagesOk() (*[]MediaCover, bool)` + +GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImages + +`func (o *AlbumResource) SetImages(v []MediaCover)` + +SetImages sets Images field to given value. + +### HasImages + +`func (o *AlbumResource) HasImages() bool` + +HasImages returns a boolean if a field has been set. + +### SetImagesNil + +`func (o *AlbumResource) SetImagesNil(b bool)` + + SetImagesNil sets the value for Images to be an explicit nil + +### UnsetImages +`func (o *AlbumResource) UnsetImages()` + +UnsetImages ensures that no value is present for Images, not even an explicit nil +### GetLinks + +`func (o *AlbumResource) GetLinks() []Links` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *AlbumResource) GetLinksOk() (*[]Links, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *AlbumResource) SetLinks(v []Links)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *AlbumResource) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### SetLinksNil + +`func (o *AlbumResource) SetLinksNil(b bool)` + + SetLinksNil sets the value for Links to be an explicit nil + +### UnsetLinks +`func (o *AlbumResource) UnsetLinks()` + +UnsetLinks ensures that no value is present for Links, not even an explicit nil +### GetStatistics + +`func (o *AlbumResource) GetStatistics() AlbumStatisticsResource` + +GetStatistics returns the Statistics field if non-nil, zero value otherwise. + +### GetStatisticsOk + +`func (o *AlbumResource) GetStatisticsOk() (*AlbumStatisticsResource, bool)` + +GetStatisticsOk returns a tuple with the Statistics field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatistics + +`func (o *AlbumResource) SetStatistics(v AlbumStatisticsResource)` + +SetStatistics sets Statistics field to given value. + +### HasStatistics + +`func (o *AlbumResource) HasStatistics() bool` + +HasStatistics returns a boolean if a field has been set. + +### GetAddOptions + +`func (o *AlbumResource) GetAddOptions() AddAlbumOptions` + +GetAddOptions returns the AddOptions field if non-nil, zero value otherwise. + +### GetAddOptionsOk + +`func (o *AlbumResource) GetAddOptionsOk() (*AddAlbumOptions, bool)` + +GetAddOptionsOk returns a tuple with the AddOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddOptions + +`func (o *AlbumResource) SetAddOptions(v AddAlbumOptions)` + +SetAddOptions sets AddOptions field to given value. + +### HasAddOptions + +`func (o *AlbumResource) HasAddOptions() bool` + +HasAddOptions returns a boolean if a field has been set. + +### GetRemoteCover + +`func (o *AlbumResource) GetRemoteCover() string` + +GetRemoteCover returns the RemoteCover field if non-nil, zero value otherwise. + +### GetRemoteCoverOk + +`func (o *AlbumResource) GetRemoteCoverOk() (*string, bool)` + +GetRemoteCoverOk returns a tuple with the RemoteCover field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemoteCover + +`func (o *AlbumResource) SetRemoteCover(v string)` + +SetRemoteCover sets RemoteCover field to given value. + +### HasRemoteCover + +`func (o *AlbumResource) HasRemoteCover() bool` + +HasRemoteCover returns a boolean if a field has been set. + +### SetRemoteCoverNil + +`func (o *AlbumResource) SetRemoteCoverNil(b bool)` + + SetRemoteCoverNil sets the value for RemoteCover to be an explicit nil + +### UnsetRemoteCover +`func (o *AlbumResource) UnsetRemoteCover()` + +UnsetRemoteCover ensures that no value is present for RemoteCover, not even an explicit nil +### GetGrabbed + +`func (o *AlbumResource) GetGrabbed() bool` + +GetGrabbed returns the Grabbed field if non-nil, zero value otherwise. + +### GetGrabbedOk + +`func (o *AlbumResource) GetGrabbedOk() (*bool, bool)` + +GetGrabbedOk returns a tuple with the Grabbed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGrabbed + +`func (o *AlbumResource) SetGrabbed(v bool)` + +SetGrabbed sets Grabbed field to given value. + +### HasGrabbed + +`func (o *AlbumResource) HasGrabbed() bool` + +HasGrabbed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumResourcePagingResource.md b/lidarr/docs/AlbumResourcePagingResource.md new file mode 100644 index 0000000..1c6096d --- /dev/null +++ b/lidarr/docs/AlbumResourcePagingResource.md @@ -0,0 +1,242 @@ +# AlbumResourcePagingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Page** | Pointer to **int32** | | [optional] +**PageSize** | Pointer to **int32** | | [optional] +**SortKey** | Pointer to **NullableString** | | [optional] +**SortDirection** | Pointer to [**SortDirection**](SortDirection.md) | | [optional] +**Filters** | Pointer to [**[]PagingResourceFilter**](PagingResourceFilter.md) | | [optional] +**TotalRecords** | Pointer to **int32** | | [optional] +**Records** | Pointer to [**[]AlbumResource**](AlbumResource.md) | | [optional] + +## Methods + +### NewAlbumResourcePagingResource + +`func NewAlbumResourcePagingResource() *AlbumResourcePagingResource` + +NewAlbumResourcePagingResource instantiates a new AlbumResourcePagingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumResourcePagingResourceWithDefaults + +`func NewAlbumResourcePagingResourceWithDefaults() *AlbumResourcePagingResource` + +NewAlbumResourcePagingResourceWithDefaults instantiates a new AlbumResourcePagingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPage + +`func (o *AlbumResourcePagingResource) GetPage() int32` + +GetPage returns the Page field if non-nil, zero value otherwise. + +### GetPageOk + +`func (o *AlbumResourcePagingResource) GetPageOk() (*int32, bool)` + +GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPage + +`func (o *AlbumResourcePagingResource) SetPage(v int32)` + +SetPage sets Page field to given value. + +### HasPage + +`func (o *AlbumResourcePagingResource) HasPage() bool` + +HasPage returns a boolean if a field has been set. + +### GetPageSize + +`func (o *AlbumResourcePagingResource) GetPageSize() int32` + +GetPageSize returns the PageSize field if non-nil, zero value otherwise. + +### GetPageSizeOk + +`func (o *AlbumResourcePagingResource) GetPageSizeOk() (*int32, bool)` + +GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageSize + +`func (o *AlbumResourcePagingResource) SetPageSize(v int32)` + +SetPageSize sets PageSize field to given value. + +### HasPageSize + +`func (o *AlbumResourcePagingResource) HasPageSize() bool` + +HasPageSize returns a boolean if a field has been set. + +### GetSortKey + +`func (o *AlbumResourcePagingResource) GetSortKey() string` + +GetSortKey returns the SortKey field if non-nil, zero value otherwise. + +### GetSortKeyOk + +`func (o *AlbumResourcePagingResource) GetSortKeyOk() (*string, bool)` + +GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortKey + +`func (o *AlbumResourcePagingResource) SetSortKey(v string)` + +SetSortKey sets SortKey field to given value. + +### HasSortKey + +`func (o *AlbumResourcePagingResource) HasSortKey() bool` + +HasSortKey returns a boolean if a field has been set. + +### SetSortKeyNil + +`func (o *AlbumResourcePagingResource) SetSortKeyNil(b bool)` + + SetSortKeyNil sets the value for SortKey to be an explicit nil + +### UnsetSortKey +`func (o *AlbumResourcePagingResource) UnsetSortKey()` + +UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +### GetSortDirection + +`func (o *AlbumResourcePagingResource) GetSortDirection() SortDirection` + +GetSortDirection returns the SortDirection field if non-nil, zero value otherwise. + +### GetSortDirectionOk + +`func (o *AlbumResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool)` + +GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortDirection + +`func (o *AlbumResourcePagingResource) SetSortDirection(v SortDirection)` + +SetSortDirection sets SortDirection field to given value. + +### HasSortDirection + +`func (o *AlbumResourcePagingResource) HasSortDirection() bool` + +HasSortDirection returns a boolean if a field has been set. + +### GetFilters + +`func (o *AlbumResourcePagingResource) GetFilters() []PagingResourceFilter` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *AlbumResourcePagingResource) GetFiltersOk() (*[]PagingResourceFilter, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *AlbumResourcePagingResource) SetFilters(v []PagingResourceFilter)` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *AlbumResourcePagingResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *AlbumResourcePagingResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *AlbumResourcePagingResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil +### GetTotalRecords + +`func (o *AlbumResourcePagingResource) GetTotalRecords() int32` + +GetTotalRecords returns the TotalRecords field if non-nil, zero value otherwise. + +### GetTotalRecordsOk + +`func (o *AlbumResourcePagingResource) GetTotalRecordsOk() (*int32, bool)` + +GetTotalRecordsOk returns a tuple with the TotalRecords field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRecords + +`func (o *AlbumResourcePagingResource) SetTotalRecords(v int32)` + +SetTotalRecords sets TotalRecords field to given value. + +### HasTotalRecords + +`func (o *AlbumResourcePagingResource) HasTotalRecords() bool` + +HasTotalRecords returns a boolean if a field has been set. + +### GetRecords + +`func (o *AlbumResourcePagingResource) GetRecords() []AlbumResource` + +GetRecords returns the Records field if non-nil, zero value otherwise. + +### GetRecordsOk + +`func (o *AlbumResourcePagingResource) GetRecordsOk() (*[]AlbumResource, bool)` + +GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecords + +`func (o *AlbumResourcePagingResource) SetRecords(v []AlbumResource)` + +SetRecords sets Records field to given value. + +### HasRecords + +`func (o *AlbumResourcePagingResource) HasRecords() bool` + +HasRecords returns a boolean if a field has been set. + +### SetRecordsNil + +`func (o *AlbumResourcePagingResource) SetRecordsNil(b bool)` + + SetRecordsNil sets the value for Records to be an explicit nil + +### UnsetRecords +`func (o *AlbumResourcePagingResource) UnsetRecords()` + +UnsetRecords ensures that no value is present for Records, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumStatisticsResource.md b/lidarr/docs/AlbumStatisticsResource.md new file mode 100644 index 0000000..a00cc4d --- /dev/null +++ b/lidarr/docs/AlbumStatisticsResource.md @@ -0,0 +1,160 @@ +# AlbumStatisticsResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TrackFileCount** | Pointer to **int32** | | [optional] +**TrackCount** | Pointer to **int32** | | [optional] +**TotalTrackCount** | Pointer to **int32** | | [optional] +**SizeOnDisk** | Pointer to **int64** | | [optional] +**PercentOfTracks** | Pointer to **float64** | | [optional] [readonly] + +## Methods + +### NewAlbumStatisticsResource + +`func NewAlbumStatisticsResource() *AlbumStatisticsResource` + +NewAlbumStatisticsResource instantiates a new AlbumStatisticsResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumStatisticsResourceWithDefaults + +`func NewAlbumStatisticsResourceWithDefaults() *AlbumStatisticsResource` + +NewAlbumStatisticsResourceWithDefaults instantiates a new AlbumStatisticsResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTrackFileCount + +`func (o *AlbumStatisticsResource) GetTrackFileCount() int32` + +GetTrackFileCount returns the TrackFileCount field if non-nil, zero value otherwise. + +### GetTrackFileCountOk + +`func (o *AlbumStatisticsResource) GetTrackFileCountOk() (*int32, bool)` + +GetTrackFileCountOk returns a tuple with the TrackFileCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileCount + +`func (o *AlbumStatisticsResource) SetTrackFileCount(v int32)` + +SetTrackFileCount sets TrackFileCount field to given value. + +### HasTrackFileCount + +`func (o *AlbumStatisticsResource) HasTrackFileCount() bool` + +HasTrackFileCount returns a boolean if a field has been set. + +### GetTrackCount + +`func (o *AlbumStatisticsResource) GetTrackCount() int32` + +GetTrackCount returns the TrackCount field if non-nil, zero value otherwise. + +### GetTrackCountOk + +`func (o *AlbumStatisticsResource) GetTrackCountOk() (*int32, bool)` + +GetTrackCountOk returns a tuple with the TrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackCount + +`func (o *AlbumStatisticsResource) SetTrackCount(v int32)` + +SetTrackCount sets TrackCount field to given value. + +### HasTrackCount + +`func (o *AlbumStatisticsResource) HasTrackCount() bool` + +HasTrackCount returns a boolean if a field has been set. + +### GetTotalTrackCount + +`func (o *AlbumStatisticsResource) GetTotalTrackCount() int32` + +GetTotalTrackCount returns the TotalTrackCount field if non-nil, zero value otherwise. + +### GetTotalTrackCountOk + +`func (o *AlbumStatisticsResource) GetTotalTrackCountOk() (*int32, bool)` + +GetTotalTrackCountOk returns a tuple with the TotalTrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalTrackCount + +`func (o *AlbumStatisticsResource) SetTotalTrackCount(v int32)` + +SetTotalTrackCount sets TotalTrackCount field to given value. + +### HasTotalTrackCount + +`func (o *AlbumStatisticsResource) HasTotalTrackCount() bool` + +HasTotalTrackCount returns a boolean if a field has been set. + +### GetSizeOnDisk + +`func (o *AlbumStatisticsResource) GetSizeOnDisk() int64` + +GetSizeOnDisk returns the SizeOnDisk field if non-nil, zero value otherwise. + +### GetSizeOnDiskOk + +`func (o *AlbumStatisticsResource) GetSizeOnDiskOk() (*int64, bool)` + +GetSizeOnDiskOk returns a tuple with the SizeOnDisk field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSizeOnDisk + +`func (o *AlbumStatisticsResource) SetSizeOnDisk(v int64)` + +SetSizeOnDisk sets SizeOnDisk field to given value. + +### HasSizeOnDisk + +`func (o *AlbumStatisticsResource) HasSizeOnDisk() bool` + +HasSizeOnDisk returns a boolean if a field has been set. + +### GetPercentOfTracks + +`func (o *AlbumStatisticsResource) GetPercentOfTracks() float64` + +GetPercentOfTracks returns the PercentOfTracks field if non-nil, zero value otherwise. + +### GetPercentOfTracksOk + +`func (o *AlbumStatisticsResource) GetPercentOfTracksOk() (*float64, bool)` + +GetPercentOfTracksOk returns a tuple with the PercentOfTracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPercentOfTracks + +`func (o *AlbumStatisticsResource) SetPercentOfTracks(v float64)` + +SetPercentOfTracks sets PercentOfTracks field to given value. + +### HasPercentOfTracks + +`func (o *AlbumStatisticsResource) HasPercentOfTracks() bool` + +HasPercentOfTracks returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumStudioApi.md b/lidarr/docs/AlbumStudioApi.md new file mode 100644 index 0000000..b66acf1 --- /dev/null +++ b/lidarr/docs/AlbumStudioApi.md @@ -0,0 +1,71 @@ +# \AlbumStudioApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Albumstudio**](AlbumStudioApi.md#CreateApiV1Albumstudio) | **Post** /api/v1/albumstudio | + + + +## CreateApiV1Albumstudio + +> CreateApiV1Albumstudio(ctx).AlbumStudioResource(albumStudioResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + albumStudioResource := *lidarrClient.NewAlbumStudioResource() // AlbumStudioResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1AlbumstudioRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **albumStudioResource** | [**AlbumStudioResource**](AlbumStudioResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/AlbumStudioArtistResource.md b/lidarr/docs/AlbumStudioArtistResource.md new file mode 100644 index 0000000..14d5fcc --- /dev/null +++ b/lidarr/docs/AlbumStudioArtistResource.md @@ -0,0 +1,128 @@ +# AlbumStudioArtistResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Monitored** | Pointer to **NullableBool** | | [optional] +**Albums** | Pointer to [**[]AlbumResource**](AlbumResource.md) | | [optional] + +## Methods + +### NewAlbumStudioArtistResource + +`func NewAlbumStudioArtistResource() *AlbumStudioArtistResource` + +NewAlbumStudioArtistResource instantiates a new AlbumStudioArtistResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumStudioArtistResourceWithDefaults + +`func NewAlbumStudioArtistResourceWithDefaults() *AlbumStudioArtistResource` + +NewAlbumStudioArtistResourceWithDefaults instantiates a new AlbumStudioArtistResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *AlbumStudioArtistResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *AlbumStudioArtistResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *AlbumStudioArtistResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *AlbumStudioArtistResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetMonitored + +`func (o *AlbumStudioArtistResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AlbumStudioArtistResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AlbumStudioArtistResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AlbumStudioArtistResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### SetMonitoredNil + +`func (o *AlbumStudioArtistResource) SetMonitoredNil(b bool)` + + SetMonitoredNil sets the value for Monitored to be an explicit nil + +### UnsetMonitored +`func (o *AlbumStudioArtistResource) UnsetMonitored()` + +UnsetMonitored ensures that no value is present for Monitored, not even an explicit nil +### GetAlbums + +`func (o *AlbumStudioArtistResource) GetAlbums() []AlbumResource` + +GetAlbums returns the Albums field if non-nil, zero value otherwise. + +### GetAlbumsOk + +`func (o *AlbumStudioArtistResource) GetAlbumsOk() (*[]AlbumResource, bool)` + +GetAlbumsOk returns a tuple with the Albums field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbums + +`func (o *AlbumStudioArtistResource) SetAlbums(v []AlbumResource)` + +SetAlbums sets Albums field to given value. + +### HasAlbums + +`func (o *AlbumStudioArtistResource) HasAlbums() bool` + +HasAlbums returns a boolean if a field has been set. + +### SetAlbumsNil + +`func (o *AlbumStudioArtistResource) SetAlbumsNil(b bool)` + + SetAlbumsNil sets the value for Albums to be an explicit nil + +### UnsetAlbums +`func (o *AlbumStudioArtistResource) UnsetAlbums()` + +UnsetAlbums ensures that no value is present for Albums, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumStudioResource.md b/lidarr/docs/AlbumStudioResource.md new file mode 100644 index 0000000..c9f9542 --- /dev/null +++ b/lidarr/docs/AlbumStudioResource.md @@ -0,0 +1,118 @@ +# AlbumStudioResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Artist** | Pointer to [**[]AlbumStudioArtistResource**](AlbumStudioArtistResource.md) | | [optional] +**MonitoringOptions** | Pointer to [**MonitoringOptions**](MonitoringOptions.md) | | [optional] +**MonitorNewItems** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] + +## Methods + +### NewAlbumStudioResource + +`func NewAlbumStudioResource() *AlbumStudioResource` + +NewAlbumStudioResource instantiates a new AlbumStudioResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumStudioResourceWithDefaults + +`func NewAlbumStudioResourceWithDefaults() *AlbumStudioResource` + +NewAlbumStudioResourceWithDefaults instantiates a new AlbumStudioResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArtist + +`func (o *AlbumStudioResource) GetArtist() []AlbumStudioArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *AlbumStudioResource) GetArtistOk() (*[]AlbumStudioArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *AlbumStudioResource) SetArtist(v []AlbumStudioArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *AlbumStudioResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### SetArtistNil + +`func (o *AlbumStudioResource) SetArtistNil(b bool)` + + SetArtistNil sets the value for Artist to be an explicit nil + +### UnsetArtist +`func (o *AlbumStudioResource) UnsetArtist()` + +UnsetArtist ensures that no value is present for Artist, not even an explicit nil +### GetMonitoringOptions + +`func (o *AlbumStudioResource) GetMonitoringOptions() MonitoringOptions` + +GetMonitoringOptions returns the MonitoringOptions field if non-nil, zero value otherwise. + +### GetMonitoringOptionsOk + +`func (o *AlbumStudioResource) GetMonitoringOptionsOk() (*MonitoringOptions, bool)` + +GetMonitoringOptionsOk returns a tuple with the MonitoringOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitoringOptions + +`func (o *AlbumStudioResource) SetMonitoringOptions(v MonitoringOptions)` + +SetMonitoringOptions sets MonitoringOptions field to given value. + +### HasMonitoringOptions + +`func (o *AlbumStudioResource) HasMonitoringOptions() bool` + +HasMonitoringOptions returns a boolean if a field has been set. + +### GetMonitorNewItems + +`func (o *AlbumStudioResource) GetMonitorNewItems() NewItemMonitorTypes` + +GetMonitorNewItems returns the MonitorNewItems field if non-nil, zero value otherwise. + +### GetMonitorNewItemsOk + +`func (o *AlbumStudioResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool)` + +GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitorNewItems + +`func (o *AlbumStudioResource) SetMonitorNewItems(v NewItemMonitorTypes)` + +SetMonitorNewItems sets MonitorNewItems field to given value. + +### HasMonitorNewItems + +`func (o *AlbumStudioResource) HasMonitorNewItems() bool` + +HasMonitorNewItems returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AlbumsMonitoredResource.md b/lidarr/docs/AlbumsMonitoredResource.md new file mode 100644 index 0000000..425ece8 --- /dev/null +++ b/lidarr/docs/AlbumsMonitoredResource.md @@ -0,0 +1,92 @@ +# AlbumsMonitoredResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AlbumIds** | Pointer to **[]int32** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] + +## Methods + +### NewAlbumsMonitoredResource + +`func NewAlbumsMonitoredResource() *AlbumsMonitoredResource` + +NewAlbumsMonitoredResource instantiates a new AlbumsMonitoredResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAlbumsMonitoredResourceWithDefaults + +`func NewAlbumsMonitoredResourceWithDefaults() *AlbumsMonitoredResource` + +NewAlbumsMonitoredResourceWithDefaults instantiates a new AlbumsMonitoredResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAlbumIds + +`func (o *AlbumsMonitoredResource) GetAlbumIds() []int32` + +GetAlbumIds returns the AlbumIds field if non-nil, zero value otherwise. + +### GetAlbumIdsOk + +`func (o *AlbumsMonitoredResource) GetAlbumIdsOk() (*[]int32, bool)` + +GetAlbumIdsOk returns a tuple with the AlbumIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumIds + +`func (o *AlbumsMonitoredResource) SetAlbumIds(v []int32)` + +SetAlbumIds sets AlbumIds field to given value. + +### HasAlbumIds + +`func (o *AlbumsMonitoredResource) HasAlbumIds() bool` + +HasAlbumIds returns a boolean if a field has been set. + +### SetAlbumIdsNil + +`func (o *AlbumsMonitoredResource) SetAlbumIdsNil(b bool)` + + SetAlbumIdsNil sets the value for AlbumIds to be an explicit nil + +### UnsetAlbumIds +`func (o *AlbumsMonitoredResource) UnsetAlbumIds()` + +UnsetAlbumIds ensures that no value is present for AlbumIds, not even an explicit nil +### GetMonitored + +`func (o *AlbumsMonitoredResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *AlbumsMonitoredResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *AlbumsMonitoredResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *AlbumsMonitoredResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AllowFingerprinting.md b/lidarr/docs/AllowFingerprinting.md new file mode 100644 index 0000000..4c5f1dd --- /dev/null +++ b/lidarr/docs/AllowFingerprinting.md @@ -0,0 +1,15 @@ +# AllowFingerprinting + +## Enum + + +* `NEVER` (value: `"never"`) + +* `NEW_FILES` (value: `"newFiles"`) + +* `ALL_FILES` (value: `"allFiles"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ApiInfoApi.md b/lidarr/docs/ApiInfoApi.md new file mode 100644 index 0000000..d49818f --- /dev/null +++ b/lidarr/docs/ApiInfoApi.md @@ -0,0 +1,66 @@ +# \ApiInfoApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApi**](ApiInfoApi.md#GetApi) | **Get** /api | + + + +## GetApi + +> GetApi(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ApiInfoApi.GetApi(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ApiInfoApi.GetApi``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ApplyTags.md b/lidarr/docs/ApplyTags.md new file mode 100644 index 0000000..f518509 --- /dev/null +++ b/lidarr/docs/ApplyTags.md @@ -0,0 +1,15 @@ +# ApplyTags + +## Enum + + +* `ADD` (value: `"add"`) + +* `REMOVE` (value: `"remove"`) + +* `REPLACE` (value: `"replace"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Artist.md b/lidarr/docs/Artist.md new file mode 100644 index 0000000..322a210 --- /dev/null +++ b/lidarr/docs/Artist.md @@ -0,0 +1,630 @@ +# Artist + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistMetadataId** | Pointer to **int32** | | [optional] +**CleanName** | Pointer to **NullableString** | | [optional] +**SortName** | Pointer to **NullableString** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**MonitorNewItems** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] +**LastInfoSync** | Pointer to **NullableTime** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**RootFolderPath** | Pointer to **NullableString** | | [optional] +**Added** | Pointer to **time.Time** | | [optional] +**QualityProfileId** | Pointer to **int32** | | [optional] +**MetadataProfileId** | Pointer to **int32** | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**AddOptions** | Pointer to [**AddArtistOptions**](AddArtistOptions.md) | | [optional] +**Metadata** | Pointer to [**ArtistMetadataLazyLoaded**](ArtistMetadataLazyLoaded.md) | | [optional] +**QualityProfile** | Pointer to [**QualityProfileLazyLoaded**](QualityProfileLazyLoaded.md) | | [optional] +**MetadataProfile** | Pointer to [**MetadataProfileLazyLoaded**](MetadataProfileLazyLoaded.md) | | [optional] +**Albums** | Pointer to [**AlbumListLazyLoaded**](AlbumListLazyLoaded.md) | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**ForeignArtistId** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewArtist + +`func NewArtist() *Artist` + +NewArtist instantiates a new Artist object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistWithDefaults + +`func NewArtistWithDefaults() *Artist` + +NewArtistWithDefaults instantiates a new Artist object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Artist) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Artist) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Artist) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *Artist) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistMetadataId + +`func (o *Artist) GetArtistMetadataId() int32` + +GetArtistMetadataId returns the ArtistMetadataId field if non-nil, zero value otherwise. + +### GetArtistMetadataIdOk + +`func (o *Artist) GetArtistMetadataIdOk() (*int32, bool)` + +GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadataId + +`func (o *Artist) SetArtistMetadataId(v int32)` + +SetArtistMetadataId sets ArtistMetadataId field to given value. + +### HasArtistMetadataId + +`func (o *Artist) HasArtistMetadataId() bool` + +HasArtistMetadataId returns a boolean if a field has been set. + +### GetCleanName + +`func (o *Artist) GetCleanName() string` + +GetCleanName returns the CleanName field if non-nil, zero value otherwise. + +### GetCleanNameOk + +`func (o *Artist) GetCleanNameOk() (*string, bool)` + +GetCleanNameOk returns a tuple with the CleanName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCleanName + +`func (o *Artist) SetCleanName(v string)` + +SetCleanName sets CleanName field to given value. + +### HasCleanName + +`func (o *Artist) HasCleanName() bool` + +HasCleanName returns a boolean if a field has been set. + +### SetCleanNameNil + +`func (o *Artist) SetCleanNameNil(b bool)` + + SetCleanNameNil sets the value for CleanName to be an explicit nil + +### UnsetCleanName +`func (o *Artist) UnsetCleanName()` + +UnsetCleanName ensures that no value is present for CleanName, not even an explicit nil +### GetSortName + +`func (o *Artist) GetSortName() string` + +GetSortName returns the SortName field if non-nil, zero value otherwise. + +### GetSortNameOk + +`func (o *Artist) GetSortNameOk() (*string, bool)` + +GetSortNameOk returns a tuple with the SortName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortName + +`func (o *Artist) SetSortName(v string)` + +SetSortName sets SortName field to given value. + +### HasSortName + +`func (o *Artist) HasSortName() bool` + +HasSortName returns a boolean if a field has been set. + +### SetSortNameNil + +`func (o *Artist) SetSortNameNil(b bool)` + + SetSortNameNil sets the value for SortName to be an explicit nil + +### UnsetSortName +`func (o *Artist) UnsetSortName()` + +UnsetSortName ensures that no value is present for SortName, not even an explicit nil +### GetMonitored + +`func (o *Artist) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *Artist) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *Artist) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *Artist) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetMonitorNewItems + +`func (o *Artist) GetMonitorNewItems() NewItemMonitorTypes` + +GetMonitorNewItems returns the MonitorNewItems field if non-nil, zero value otherwise. + +### GetMonitorNewItemsOk + +`func (o *Artist) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool)` + +GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitorNewItems + +`func (o *Artist) SetMonitorNewItems(v NewItemMonitorTypes)` + +SetMonitorNewItems sets MonitorNewItems field to given value. + +### HasMonitorNewItems + +`func (o *Artist) HasMonitorNewItems() bool` + +HasMonitorNewItems returns a boolean if a field has been set. + +### GetLastInfoSync + +`func (o *Artist) GetLastInfoSync() time.Time` + +GetLastInfoSync returns the LastInfoSync field if non-nil, zero value otherwise. + +### GetLastInfoSyncOk + +`func (o *Artist) GetLastInfoSyncOk() (*time.Time, bool)` + +GetLastInfoSyncOk returns a tuple with the LastInfoSync field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastInfoSync + +`func (o *Artist) SetLastInfoSync(v time.Time)` + +SetLastInfoSync sets LastInfoSync field to given value. + +### HasLastInfoSync + +`func (o *Artist) HasLastInfoSync() bool` + +HasLastInfoSync returns a boolean if a field has been set. + +### SetLastInfoSyncNil + +`func (o *Artist) SetLastInfoSyncNil(b bool)` + + SetLastInfoSyncNil sets the value for LastInfoSync to be an explicit nil + +### UnsetLastInfoSync +`func (o *Artist) UnsetLastInfoSync()` + +UnsetLastInfoSync ensures that no value is present for LastInfoSync, not even an explicit nil +### GetPath + +`func (o *Artist) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *Artist) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *Artist) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *Artist) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *Artist) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *Artist) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetRootFolderPath + +`func (o *Artist) GetRootFolderPath() string` + +GetRootFolderPath returns the RootFolderPath field if non-nil, zero value otherwise. + +### GetRootFolderPathOk + +`func (o *Artist) GetRootFolderPathOk() (*string, bool)` + +GetRootFolderPathOk returns a tuple with the RootFolderPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRootFolderPath + +`func (o *Artist) SetRootFolderPath(v string)` + +SetRootFolderPath sets RootFolderPath field to given value. + +### HasRootFolderPath + +`func (o *Artist) HasRootFolderPath() bool` + +HasRootFolderPath returns a boolean if a field has been set. + +### SetRootFolderPathNil + +`func (o *Artist) SetRootFolderPathNil(b bool)` + + SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil + +### UnsetRootFolderPath +`func (o *Artist) UnsetRootFolderPath()` + +UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +### GetAdded + +`func (o *Artist) GetAdded() time.Time` + +GetAdded returns the Added field if non-nil, zero value otherwise. + +### GetAddedOk + +`func (o *Artist) GetAddedOk() (*time.Time, bool)` + +GetAddedOk returns a tuple with the Added field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdded + +`func (o *Artist) SetAdded(v time.Time)` + +SetAdded sets Added field to given value. + +### HasAdded + +`func (o *Artist) HasAdded() bool` + +HasAdded returns a boolean if a field has been set. + +### GetQualityProfileId + +`func (o *Artist) GetQualityProfileId() int32` + +GetQualityProfileId returns the QualityProfileId field if non-nil, zero value otherwise. + +### GetQualityProfileIdOk + +`func (o *Artist) GetQualityProfileIdOk() (*int32, bool)` + +GetQualityProfileIdOk returns a tuple with the QualityProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityProfileId + +`func (o *Artist) SetQualityProfileId(v int32)` + +SetQualityProfileId sets QualityProfileId field to given value. + +### HasQualityProfileId + +`func (o *Artist) HasQualityProfileId() bool` + +HasQualityProfileId returns a boolean if a field has been set. + +### GetMetadataProfileId + +`func (o *Artist) GetMetadataProfileId() int32` + +GetMetadataProfileId returns the MetadataProfileId field if non-nil, zero value otherwise. + +### GetMetadataProfileIdOk + +`func (o *Artist) GetMetadataProfileIdOk() (*int32, bool)` + +GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataProfileId + +`func (o *Artist) SetMetadataProfileId(v int32)` + +SetMetadataProfileId sets MetadataProfileId field to given value. + +### HasMetadataProfileId + +`func (o *Artist) HasMetadataProfileId() bool` + +HasMetadataProfileId returns a boolean if a field has been set. + +### GetTags + +`func (o *Artist) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *Artist) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *Artist) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *Artist) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *Artist) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *Artist) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetAddOptions + +`func (o *Artist) GetAddOptions() AddArtistOptions` + +GetAddOptions returns the AddOptions field if non-nil, zero value otherwise. + +### GetAddOptionsOk + +`func (o *Artist) GetAddOptionsOk() (*AddArtistOptions, bool)` + +GetAddOptionsOk returns a tuple with the AddOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddOptions + +`func (o *Artist) SetAddOptions(v AddArtistOptions)` + +SetAddOptions sets AddOptions field to given value. + +### HasAddOptions + +`func (o *Artist) HasAddOptions() bool` + +HasAddOptions returns a boolean if a field has been set. + +### GetMetadata + +`func (o *Artist) GetMetadata() ArtistMetadataLazyLoaded` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *Artist) GetMetadataOk() (*ArtistMetadataLazyLoaded, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *Artist) SetMetadata(v ArtistMetadataLazyLoaded)` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *Artist) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### GetQualityProfile + +`func (o *Artist) GetQualityProfile() QualityProfileLazyLoaded` + +GetQualityProfile returns the QualityProfile field if non-nil, zero value otherwise. + +### GetQualityProfileOk + +`func (o *Artist) GetQualityProfileOk() (*QualityProfileLazyLoaded, bool)` + +GetQualityProfileOk returns a tuple with the QualityProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityProfile + +`func (o *Artist) SetQualityProfile(v QualityProfileLazyLoaded)` + +SetQualityProfile sets QualityProfile field to given value. + +### HasQualityProfile + +`func (o *Artist) HasQualityProfile() bool` + +HasQualityProfile returns a boolean if a field has been set. + +### GetMetadataProfile + +`func (o *Artist) GetMetadataProfile() MetadataProfileLazyLoaded` + +GetMetadataProfile returns the MetadataProfile field if non-nil, zero value otherwise. + +### GetMetadataProfileOk + +`func (o *Artist) GetMetadataProfileOk() (*MetadataProfileLazyLoaded, bool)` + +GetMetadataProfileOk returns a tuple with the MetadataProfile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataProfile + +`func (o *Artist) SetMetadataProfile(v MetadataProfileLazyLoaded)` + +SetMetadataProfile sets MetadataProfile field to given value. + +### HasMetadataProfile + +`func (o *Artist) HasMetadataProfile() bool` + +HasMetadataProfile returns a boolean if a field has been set. + +### GetAlbums + +`func (o *Artist) GetAlbums() AlbumListLazyLoaded` + +GetAlbums returns the Albums field if non-nil, zero value otherwise. + +### GetAlbumsOk + +`func (o *Artist) GetAlbumsOk() (*AlbumListLazyLoaded, bool)` + +GetAlbumsOk returns a tuple with the Albums field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbums + +`func (o *Artist) SetAlbums(v AlbumListLazyLoaded)` + +SetAlbums sets Albums field to given value. + +### HasAlbums + +`func (o *Artist) HasAlbums() bool` + +HasAlbums returns a boolean if a field has been set. + +### GetName + +`func (o *Artist) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Artist) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Artist) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Artist) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Artist) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Artist) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetForeignArtistId + +`func (o *Artist) GetForeignArtistId() string` + +GetForeignArtistId returns the ForeignArtistId field if non-nil, zero value otherwise. + +### GetForeignArtistIdOk + +`func (o *Artist) GetForeignArtistIdOk() (*string, bool)` + +GetForeignArtistIdOk returns a tuple with the ForeignArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignArtistId + +`func (o *Artist) SetForeignArtistId(v string)` + +SetForeignArtistId sets ForeignArtistId field to given value. + +### HasForeignArtistId + +`func (o *Artist) HasForeignArtistId() bool` + +HasForeignArtistId returns a boolean if a field has been set. + +### SetForeignArtistIdNil + +`func (o *Artist) SetForeignArtistIdNil(b bool)` + + SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil + +### UnsetForeignArtistId +`func (o *Artist) UnsetForeignArtistId()` + +UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistApi.md b/lidarr/docs/ArtistApi.md new file mode 100644 index 0000000..f76676e --- /dev/null +++ b/lidarr/docs/ArtistApi.md @@ -0,0 +1,345 @@ +# \ArtistApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Artist**](ArtistApi.md#CreateApiV1Artist) | **Post** /api/v1/artist | +[**DeleteApiV1Artist**](ArtistApi.md#DeleteApiV1Artist) | **Delete** /api/v1/artist/{id} | +[**GetApiV1ArtistById**](ArtistApi.md#GetApiV1ArtistById) | **Get** /api/v1/artist/{id} | +[**ListApiV1Artist**](ArtistApi.md#ListApiV1Artist) | **Get** /api/v1/artist | +[**UpdateApiV1Artist**](ArtistApi.md#UpdateApiV1Artist) | **Put** /api/v1/artist/{id} | + + + +## CreateApiV1Artist + +> ArtistResource CreateApiV1Artist(ctx).ArtistResource(artistResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistResource := *lidarrClient.NewArtistResource() // ArtistResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistApi.CreateApiV1Artist(context.Background()).ArtistResource(artistResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistApi.CreateApiV1Artist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Artist`: ArtistResource + fmt.Fprintf(os.Stdout, "Response from `ArtistApi.CreateApiV1Artist`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ArtistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistResource** | [**ArtistResource**](ArtistResource.md) | | + +### Return type + +[**ArtistResource**](ArtistResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Artist + +> DeleteApiV1Artist(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistApi.DeleteApiV1Artist(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistApi.DeleteApiV1Artist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1ArtistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ArtistById + +> ArtistResource GetApiV1ArtistById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistApi.GetApiV1ArtistById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistApi.GetApiV1ArtistById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ArtistById`: ArtistResource + fmt.Fprintf(os.Stdout, "Response from `ArtistApi.GetApiV1ArtistById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ArtistByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ArtistResource**](ArtistResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Artist + +> []ArtistResource ListApiV1Artist(ctx).MbId(mbId).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + mbId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistApi.ListApiV1Artist(context.Background()).MbId(mbId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistApi.ListApiV1Artist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Artist`: []ArtistResource + fmt.Fprintf(os.Stdout, "Response from `ArtistApi.ListApiV1Artist`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ArtistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mbId** | **string** | | + +### Return type + +[**[]ArtistResource**](ArtistResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Artist + +> ArtistResource UpdateApiV1Artist(ctx, id).ArtistResource(artistResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + artistResource := *lidarrClient.NewArtistResource() // ArtistResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistApi.UpdateApiV1Artist(context.Background(), id).ArtistResource(artistResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistApi.UpdateApiV1Artist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Artist`: ArtistResource + fmt.Fprintf(os.Stdout, "Response from `ArtistApi.UpdateApiV1Artist`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ArtistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **artistResource** | [**ArtistResource**](ArtistResource.md) | | + +### Return type + +[**ArtistResource**](ArtistResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ArtistEditorApi.md b/lidarr/docs/ArtistEditorApi.md new file mode 100644 index 0000000..f7bde4c --- /dev/null +++ b/lidarr/docs/ArtistEditorApi.md @@ -0,0 +1,134 @@ +# \ArtistEditorApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DeleteApiV1ArtistEditor**](ArtistEditorApi.md#DeleteApiV1ArtistEditor) | **Delete** /api/v1/artist/editor | +[**PutApiV1ArtistEditor**](ArtistEditorApi.md#PutApiV1ArtistEditor) | **Put** /api/v1/artist/editor | + + + +## DeleteApiV1ArtistEditor + +> DeleteApiV1ArtistEditor(ctx).ArtistEditorResource(artistEditorResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistEditorResource := *lidarrClient.NewArtistEditorResource() // ArtistEditorResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistEditorApi.DeleteApiV1ArtistEditor(context.Background()).ArtistEditorResource(artistEditorResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistEditorApi.DeleteApiV1ArtistEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1ArtistEditorRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistEditorResource** | [**ArtistEditorResource**](ArtistEditorResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PutApiV1ArtistEditor + +> PutApiV1ArtistEditor(ctx).ArtistEditorResource(artistEditorResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistEditorResource := *lidarrClient.NewArtistEditorResource() // ArtistEditorResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistEditorApi.PutApiV1ArtistEditor(context.Background()).ArtistEditorResource(artistEditorResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistEditorApi.PutApiV1ArtistEditor``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPutApiV1ArtistEditorRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistEditorResource** | [**ArtistEditorResource**](ArtistEditorResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ArtistEditorResource.md b/lidarr/docs/ArtistEditorResource.md new file mode 100644 index 0000000..fbf22f4 --- /dev/null +++ b/lidarr/docs/ArtistEditorResource.md @@ -0,0 +1,350 @@ +# ArtistEditorResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ArtistIds** | Pointer to **[]int32** | | [optional] +**Monitored** | Pointer to **NullableBool** | | [optional] +**MonitorNewItems** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] +**QualityProfileId** | Pointer to **NullableInt32** | | [optional] +**MetadataProfileId** | Pointer to **NullableInt32** | | [optional] +**RootFolderPath** | Pointer to **NullableString** | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**ApplyTags** | Pointer to [**ApplyTags**](ApplyTags.md) | | [optional] +**MoveFiles** | Pointer to **bool** | | [optional] +**DeleteFiles** | Pointer to **bool** | | [optional] + +## Methods + +### NewArtistEditorResource + +`func NewArtistEditorResource() *ArtistEditorResource` + +NewArtistEditorResource instantiates a new ArtistEditorResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistEditorResourceWithDefaults + +`func NewArtistEditorResourceWithDefaults() *ArtistEditorResource` + +NewArtistEditorResourceWithDefaults instantiates a new ArtistEditorResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArtistIds + +`func (o *ArtistEditorResource) GetArtistIds() []int32` + +GetArtistIds returns the ArtistIds field if non-nil, zero value otherwise. + +### GetArtistIdsOk + +`func (o *ArtistEditorResource) GetArtistIdsOk() (*[]int32, bool)` + +GetArtistIdsOk returns a tuple with the ArtistIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistIds + +`func (o *ArtistEditorResource) SetArtistIds(v []int32)` + +SetArtistIds sets ArtistIds field to given value. + +### HasArtistIds + +`func (o *ArtistEditorResource) HasArtistIds() bool` + +HasArtistIds returns a boolean if a field has been set. + +### SetArtistIdsNil + +`func (o *ArtistEditorResource) SetArtistIdsNil(b bool)` + + SetArtistIdsNil sets the value for ArtistIds to be an explicit nil + +### UnsetArtistIds +`func (o *ArtistEditorResource) UnsetArtistIds()` + +UnsetArtistIds ensures that no value is present for ArtistIds, not even an explicit nil +### GetMonitored + +`func (o *ArtistEditorResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *ArtistEditorResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *ArtistEditorResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *ArtistEditorResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### SetMonitoredNil + +`func (o *ArtistEditorResource) SetMonitoredNil(b bool)` + + SetMonitoredNil sets the value for Monitored to be an explicit nil + +### UnsetMonitored +`func (o *ArtistEditorResource) UnsetMonitored()` + +UnsetMonitored ensures that no value is present for Monitored, not even an explicit nil +### GetMonitorNewItems + +`func (o *ArtistEditorResource) GetMonitorNewItems() NewItemMonitorTypes` + +GetMonitorNewItems returns the MonitorNewItems field if non-nil, zero value otherwise. + +### GetMonitorNewItemsOk + +`func (o *ArtistEditorResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool)` + +GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitorNewItems + +`func (o *ArtistEditorResource) SetMonitorNewItems(v NewItemMonitorTypes)` + +SetMonitorNewItems sets MonitorNewItems field to given value. + +### HasMonitorNewItems + +`func (o *ArtistEditorResource) HasMonitorNewItems() bool` + +HasMonitorNewItems returns a boolean if a field has been set. + +### GetQualityProfileId + +`func (o *ArtistEditorResource) GetQualityProfileId() int32` + +GetQualityProfileId returns the QualityProfileId field if non-nil, zero value otherwise. + +### GetQualityProfileIdOk + +`func (o *ArtistEditorResource) GetQualityProfileIdOk() (*int32, bool)` + +GetQualityProfileIdOk returns a tuple with the QualityProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityProfileId + +`func (o *ArtistEditorResource) SetQualityProfileId(v int32)` + +SetQualityProfileId sets QualityProfileId field to given value. + +### HasQualityProfileId + +`func (o *ArtistEditorResource) HasQualityProfileId() bool` + +HasQualityProfileId returns a boolean if a field has been set. + +### SetQualityProfileIdNil + +`func (o *ArtistEditorResource) SetQualityProfileIdNil(b bool)` + + SetQualityProfileIdNil sets the value for QualityProfileId to be an explicit nil + +### UnsetQualityProfileId +`func (o *ArtistEditorResource) UnsetQualityProfileId()` + +UnsetQualityProfileId ensures that no value is present for QualityProfileId, not even an explicit nil +### GetMetadataProfileId + +`func (o *ArtistEditorResource) GetMetadataProfileId() int32` + +GetMetadataProfileId returns the MetadataProfileId field if non-nil, zero value otherwise. + +### GetMetadataProfileIdOk + +`func (o *ArtistEditorResource) GetMetadataProfileIdOk() (*int32, bool)` + +GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataProfileId + +`func (o *ArtistEditorResource) SetMetadataProfileId(v int32)` + +SetMetadataProfileId sets MetadataProfileId field to given value. + +### HasMetadataProfileId + +`func (o *ArtistEditorResource) HasMetadataProfileId() bool` + +HasMetadataProfileId returns a boolean if a field has been set. + +### SetMetadataProfileIdNil + +`func (o *ArtistEditorResource) SetMetadataProfileIdNil(b bool)` + + SetMetadataProfileIdNil sets the value for MetadataProfileId to be an explicit nil + +### UnsetMetadataProfileId +`func (o *ArtistEditorResource) UnsetMetadataProfileId()` + +UnsetMetadataProfileId ensures that no value is present for MetadataProfileId, not even an explicit nil +### GetRootFolderPath + +`func (o *ArtistEditorResource) GetRootFolderPath() string` + +GetRootFolderPath returns the RootFolderPath field if non-nil, zero value otherwise. + +### GetRootFolderPathOk + +`func (o *ArtistEditorResource) GetRootFolderPathOk() (*string, bool)` + +GetRootFolderPathOk returns a tuple with the RootFolderPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRootFolderPath + +`func (o *ArtistEditorResource) SetRootFolderPath(v string)` + +SetRootFolderPath sets RootFolderPath field to given value. + +### HasRootFolderPath + +`func (o *ArtistEditorResource) HasRootFolderPath() bool` + +HasRootFolderPath returns a boolean if a field has been set. + +### SetRootFolderPathNil + +`func (o *ArtistEditorResource) SetRootFolderPathNil(b bool)` + + SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil + +### UnsetRootFolderPath +`func (o *ArtistEditorResource) UnsetRootFolderPath()` + +UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +### GetTags + +`func (o *ArtistEditorResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ArtistEditorResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *ArtistEditorResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ArtistEditorResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *ArtistEditorResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ArtistEditorResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetApplyTags + +`func (o *ArtistEditorResource) GetApplyTags() ApplyTags` + +GetApplyTags returns the ApplyTags field if non-nil, zero value otherwise. + +### GetApplyTagsOk + +`func (o *ArtistEditorResource) GetApplyTagsOk() (*ApplyTags, bool)` + +GetApplyTagsOk returns a tuple with the ApplyTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApplyTags + +`func (o *ArtistEditorResource) SetApplyTags(v ApplyTags)` + +SetApplyTags sets ApplyTags field to given value. + +### HasApplyTags + +`func (o *ArtistEditorResource) HasApplyTags() bool` + +HasApplyTags returns a boolean if a field has been set. + +### GetMoveFiles + +`func (o *ArtistEditorResource) GetMoveFiles() bool` + +GetMoveFiles returns the MoveFiles field if non-nil, zero value otherwise. + +### GetMoveFilesOk + +`func (o *ArtistEditorResource) GetMoveFilesOk() (*bool, bool)` + +GetMoveFilesOk returns a tuple with the MoveFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMoveFiles + +`func (o *ArtistEditorResource) SetMoveFiles(v bool)` + +SetMoveFiles sets MoveFiles field to given value. + +### HasMoveFiles + +`func (o *ArtistEditorResource) HasMoveFiles() bool` + +HasMoveFiles returns a boolean if a field has been set. + +### GetDeleteFiles + +`func (o *ArtistEditorResource) GetDeleteFiles() bool` + +GetDeleteFiles returns the DeleteFiles field if non-nil, zero value otherwise. + +### GetDeleteFilesOk + +`func (o *ArtistEditorResource) GetDeleteFilesOk() (*bool, bool)` + +GetDeleteFilesOk returns a tuple with the DeleteFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeleteFiles + +`func (o *ArtistEditorResource) SetDeleteFiles(v bool)` + +SetDeleteFiles sets DeleteFiles field to given value. + +### HasDeleteFiles + +`func (o *ArtistEditorResource) HasDeleteFiles() bool` + +HasDeleteFiles returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistLazyLoaded.md b/lidarr/docs/ArtistLazyLoaded.md new file mode 100644 index 0000000..a29a0fb --- /dev/null +++ b/lidarr/docs/ArtistLazyLoaded.md @@ -0,0 +1,82 @@ +# ArtistLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**Artist**](Artist.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewArtistLazyLoaded + +`func NewArtistLazyLoaded() *ArtistLazyLoaded` + +NewArtistLazyLoaded instantiates a new ArtistLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistLazyLoadedWithDefaults + +`func NewArtistLazyLoadedWithDefaults() *ArtistLazyLoaded` + +NewArtistLazyLoadedWithDefaults instantiates a new ArtistLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *ArtistLazyLoaded) GetValue() Artist` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ArtistLazyLoaded) GetValueOk() (*Artist, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *ArtistLazyLoaded) SetValue(v Artist)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *ArtistLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *ArtistLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *ArtistLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *ArtistLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *ArtistLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistLookupApi.md b/lidarr/docs/ArtistLookupApi.md new file mode 100644 index 0000000..2fbde67 --- /dev/null +++ b/lidarr/docs/ArtistLookupApi.md @@ -0,0 +1,71 @@ +# \ArtistLookupApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ArtistLookup**](ArtistLookupApi.md#GetApiV1ArtistLookup) | **Get** /api/v1/artist/lookup | + + + +## GetApiV1ArtistLookup + +> GetApiV1ArtistLookup(ctx).Term(term).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + term := "term_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ArtistLookupApi.GetApiV1ArtistLookup(context.Background()).Term(term).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ArtistLookupApi.GetApiV1ArtistLookup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ArtistLookupRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **term** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ArtistMetadata.md b/lidarr/docs/ArtistMetadata.md new file mode 100644 index 0000000..6ff6dda --- /dev/null +++ b/lidarr/docs/ArtistMetadata.md @@ -0,0 +1,504 @@ +# ArtistMetadata + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ForeignArtistId** | Pointer to **NullableString** | | [optional] +**OldForeignArtistIds** | Pointer to **[]string** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Aliases** | Pointer to **[]string** | | [optional] +**Overview** | Pointer to **NullableString** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Type** | Pointer to **NullableString** | | [optional] +**Status** | Pointer to [**ArtistStatusType**](ArtistStatusType.md) | | [optional] +**Images** | Pointer to [**[]MediaCover**](MediaCover.md) | | [optional] +**Links** | Pointer to [**[]Links**](Links.md) | | [optional] +**Genres** | Pointer to **[]string** | | [optional] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**Members** | Pointer to [**[]Member**](Member.md) | | [optional] + +## Methods + +### NewArtistMetadata + +`func NewArtistMetadata() *ArtistMetadata` + +NewArtistMetadata instantiates a new ArtistMetadata object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistMetadataWithDefaults + +`func NewArtistMetadataWithDefaults() *ArtistMetadata` + +NewArtistMetadataWithDefaults instantiates a new ArtistMetadata object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ArtistMetadata) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ArtistMetadata) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ArtistMetadata) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ArtistMetadata) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetForeignArtistId + +`func (o *ArtistMetadata) GetForeignArtistId() string` + +GetForeignArtistId returns the ForeignArtistId field if non-nil, zero value otherwise. + +### GetForeignArtistIdOk + +`func (o *ArtistMetadata) GetForeignArtistIdOk() (*string, bool)` + +GetForeignArtistIdOk returns a tuple with the ForeignArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignArtistId + +`func (o *ArtistMetadata) SetForeignArtistId(v string)` + +SetForeignArtistId sets ForeignArtistId field to given value. + +### HasForeignArtistId + +`func (o *ArtistMetadata) HasForeignArtistId() bool` + +HasForeignArtistId returns a boolean if a field has been set. + +### SetForeignArtistIdNil + +`func (o *ArtistMetadata) SetForeignArtistIdNil(b bool)` + + SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil + +### UnsetForeignArtistId +`func (o *ArtistMetadata) UnsetForeignArtistId()` + +UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil +### GetOldForeignArtistIds + +`func (o *ArtistMetadata) GetOldForeignArtistIds() []string` + +GetOldForeignArtistIds returns the OldForeignArtistIds field if non-nil, zero value otherwise. + +### GetOldForeignArtistIdsOk + +`func (o *ArtistMetadata) GetOldForeignArtistIdsOk() (*[]string, bool)` + +GetOldForeignArtistIdsOk returns a tuple with the OldForeignArtistIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldForeignArtistIds + +`func (o *ArtistMetadata) SetOldForeignArtistIds(v []string)` + +SetOldForeignArtistIds sets OldForeignArtistIds field to given value. + +### HasOldForeignArtistIds + +`func (o *ArtistMetadata) HasOldForeignArtistIds() bool` + +HasOldForeignArtistIds returns a boolean if a field has been set. + +### SetOldForeignArtistIdsNil + +`func (o *ArtistMetadata) SetOldForeignArtistIdsNil(b bool)` + + SetOldForeignArtistIdsNil sets the value for OldForeignArtistIds to be an explicit nil + +### UnsetOldForeignArtistIds +`func (o *ArtistMetadata) UnsetOldForeignArtistIds()` + +UnsetOldForeignArtistIds ensures that no value is present for OldForeignArtistIds, not even an explicit nil +### GetName + +`func (o *ArtistMetadata) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ArtistMetadata) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *ArtistMetadata) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ArtistMetadata) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *ArtistMetadata) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ArtistMetadata) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetAliases + +`func (o *ArtistMetadata) GetAliases() []string` + +GetAliases returns the Aliases field if non-nil, zero value otherwise. + +### GetAliasesOk + +`func (o *ArtistMetadata) GetAliasesOk() (*[]string, bool)` + +GetAliasesOk returns a tuple with the Aliases field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAliases + +`func (o *ArtistMetadata) SetAliases(v []string)` + +SetAliases sets Aliases field to given value. + +### HasAliases + +`func (o *ArtistMetadata) HasAliases() bool` + +HasAliases returns a boolean if a field has been set. + +### SetAliasesNil + +`func (o *ArtistMetadata) SetAliasesNil(b bool)` + + SetAliasesNil sets the value for Aliases to be an explicit nil + +### UnsetAliases +`func (o *ArtistMetadata) UnsetAliases()` + +UnsetAliases ensures that no value is present for Aliases, not even an explicit nil +### GetOverview + +`func (o *ArtistMetadata) GetOverview() string` + +GetOverview returns the Overview field if non-nil, zero value otherwise. + +### GetOverviewOk + +`func (o *ArtistMetadata) GetOverviewOk() (*string, bool)` + +GetOverviewOk returns a tuple with the Overview field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverview + +`func (o *ArtistMetadata) SetOverview(v string)` + +SetOverview sets Overview field to given value. + +### HasOverview + +`func (o *ArtistMetadata) HasOverview() bool` + +HasOverview returns a boolean if a field has been set. + +### SetOverviewNil + +`func (o *ArtistMetadata) SetOverviewNil(b bool)` + + SetOverviewNil sets the value for Overview to be an explicit nil + +### UnsetOverview +`func (o *ArtistMetadata) UnsetOverview()` + +UnsetOverview ensures that no value is present for Overview, not even an explicit nil +### GetDisambiguation + +`func (o *ArtistMetadata) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *ArtistMetadata) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *ArtistMetadata) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *ArtistMetadata) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *ArtistMetadata) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *ArtistMetadata) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetType + +`func (o *ArtistMetadata) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ArtistMetadata) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ArtistMetadata) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *ArtistMetadata) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *ArtistMetadata) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *ArtistMetadata) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetStatus + +`func (o *ArtistMetadata) GetStatus() ArtistStatusType` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ArtistMetadata) GetStatusOk() (*ArtistStatusType, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ArtistMetadata) SetStatus(v ArtistStatusType)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ArtistMetadata) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetImages + +`func (o *ArtistMetadata) GetImages() []MediaCover` + +GetImages returns the Images field if non-nil, zero value otherwise. + +### GetImagesOk + +`func (o *ArtistMetadata) GetImagesOk() (*[]MediaCover, bool)` + +GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImages + +`func (o *ArtistMetadata) SetImages(v []MediaCover)` + +SetImages sets Images field to given value. + +### HasImages + +`func (o *ArtistMetadata) HasImages() bool` + +HasImages returns a boolean if a field has been set. + +### SetImagesNil + +`func (o *ArtistMetadata) SetImagesNil(b bool)` + + SetImagesNil sets the value for Images to be an explicit nil + +### UnsetImages +`func (o *ArtistMetadata) UnsetImages()` + +UnsetImages ensures that no value is present for Images, not even an explicit nil +### GetLinks + +`func (o *ArtistMetadata) GetLinks() []Links` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *ArtistMetadata) GetLinksOk() (*[]Links, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *ArtistMetadata) SetLinks(v []Links)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *ArtistMetadata) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### SetLinksNil + +`func (o *ArtistMetadata) SetLinksNil(b bool)` + + SetLinksNil sets the value for Links to be an explicit nil + +### UnsetLinks +`func (o *ArtistMetadata) UnsetLinks()` + +UnsetLinks ensures that no value is present for Links, not even an explicit nil +### GetGenres + +`func (o *ArtistMetadata) GetGenres() []string` + +GetGenres returns the Genres field if non-nil, zero value otherwise. + +### GetGenresOk + +`func (o *ArtistMetadata) GetGenresOk() (*[]string, bool)` + +GetGenresOk returns a tuple with the Genres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGenres + +`func (o *ArtistMetadata) SetGenres(v []string)` + +SetGenres sets Genres field to given value. + +### HasGenres + +`func (o *ArtistMetadata) HasGenres() bool` + +HasGenres returns a boolean if a field has been set. + +### SetGenresNil + +`func (o *ArtistMetadata) SetGenresNil(b bool)` + + SetGenresNil sets the value for Genres to be an explicit nil + +### UnsetGenres +`func (o *ArtistMetadata) UnsetGenres()` + +UnsetGenres ensures that no value is present for Genres, not even an explicit nil +### GetRatings + +`func (o *ArtistMetadata) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *ArtistMetadata) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *ArtistMetadata) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *ArtistMetadata) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetMembers + +`func (o *ArtistMetadata) GetMembers() []Member` + +GetMembers returns the Members field if non-nil, zero value otherwise. + +### GetMembersOk + +`func (o *ArtistMetadata) GetMembersOk() (*[]Member, bool)` + +GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMembers + +`func (o *ArtistMetadata) SetMembers(v []Member)` + +SetMembers sets Members field to given value. + +### HasMembers + +`func (o *ArtistMetadata) HasMembers() bool` + +HasMembers returns a boolean if a field has been set. + +### SetMembersNil + +`func (o *ArtistMetadata) SetMembersNil(b bool)` + + SetMembersNil sets the value for Members to be an explicit nil + +### UnsetMembers +`func (o *ArtistMetadata) UnsetMembers()` + +UnsetMembers ensures that no value is present for Members, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistMetadataLazyLoaded.md b/lidarr/docs/ArtistMetadataLazyLoaded.md new file mode 100644 index 0000000..939a55c --- /dev/null +++ b/lidarr/docs/ArtistMetadataLazyLoaded.md @@ -0,0 +1,82 @@ +# ArtistMetadataLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**ArtistMetadata**](ArtistMetadata.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewArtistMetadataLazyLoaded + +`func NewArtistMetadataLazyLoaded() *ArtistMetadataLazyLoaded` + +NewArtistMetadataLazyLoaded instantiates a new ArtistMetadataLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistMetadataLazyLoadedWithDefaults + +`func NewArtistMetadataLazyLoadedWithDefaults() *ArtistMetadataLazyLoaded` + +NewArtistMetadataLazyLoadedWithDefaults instantiates a new ArtistMetadataLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *ArtistMetadataLazyLoaded) GetValue() ArtistMetadata` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *ArtistMetadataLazyLoaded) GetValueOk() (*ArtistMetadata, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *ArtistMetadataLazyLoaded) SetValue(v ArtistMetadata)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *ArtistMetadataLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *ArtistMetadataLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *ArtistMetadataLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *ArtistMetadataLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *ArtistMetadataLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistResource.md b/lidarr/docs/ArtistResource.md new file mode 100644 index 0000000..c342939 --- /dev/null +++ b/lidarr/docs/ArtistResource.md @@ -0,0 +1,1058 @@ +# ArtistResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistMetadataId** | Pointer to **int32** | | [optional] +**Status** | Pointer to [**ArtistStatusType**](ArtistStatusType.md) | | [optional] +**Ended** | Pointer to **bool** | | [optional] [readonly] +**ArtistName** | Pointer to **NullableString** | | [optional] +**ForeignArtistId** | Pointer to **NullableString** | | [optional] +**MbId** | Pointer to **NullableString** | | [optional] +**TadbId** | Pointer to **int32** | | [optional] +**DiscogsId** | Pointer to **int32** | | [optional] +**AllMusicId** | Pointer to **NullableString** | | [optional] +**Overview** | Pointer to **NullableString** | | [optional] +**ArtistType** | Pointer to **NullableString** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Links** | Pointer to [**[]Links**](Links.md) | | [optional] +**NextAlbum** | Pointer to [**Album**](Album.md) | | [optional] +**LastAlbum** | Pointer to [**Album**](Album.md) | | [optional] +**Images** | Pointer to [**[]MediaCover**](MediaCover.md) | | [optional] +**Members** | Pointer to [**[]Member**](Member.md) | | [optional] +**RemotePoster** | Pointer to **NullableString** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**QualityProfileId** | Pointer to **int32** | | [optional] +**MetadataProfileId** | Pointer to **int32** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] +**MonitorNewItems** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] +**RootFolderPath** | Pointer to **NullableString** | | [optional] +**Genres** | Pointer to **[]string** | | [optional] +**CleanName** | Pointer to **NullableString** | | [optional] +**SortName** | Pointer to **NullableString** | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Added** | Pointer to **time.Time** | | [optional] +**AddOptions** | Pointer to [**AddArtistOptions**](AddArtistOptions.md) | | [optional] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**Statistics** | Pointer to [**ArtistStatisticsResource**](ArtistStatisticsResource.md) | | [optional] + +## Methods + +### NewArtistResource + +`func NewArtistResource() *ArtistResource` + +NewArtistResource instantiates a new ArtistResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistResourceWithDefaults + +`func NewArtistResourceWithDefaults() *ArtistResource` + +NewArtistResourceWithDefaults instantiates a new ArtistResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ArtistResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ArtistResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ArtistResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ArtistResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistMetadataId + +`func (o *ArtistResource) GetArtistMetadataId() int32` + +GetArtistMetadataId returns the ArtistMetadataId field if non-nil, zero value otherwise. + +### GetArtistMetadataIdOk + +`func (o *ArtistResource) GetArtistMetadataIdOk() (*int32, bool)` + +GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadataId + +`func (o *ArtistResource) SetArtistMetadataId(v int32)` + +SetArtistMetadataId sets ArtistMetadataId field to given value. + +### HasArtistMetadataId + +`func (o *ArtistResource) HasArtistMetadataId() bool` + +HasArtistMetadataId returns a boolean if a field has been set. + +### GetStatus + +`func (o *ArtistResource) GetStatus() ArtistStatusType` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ArtistResource) GetStatusOk() (*ArtistStatusType, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ArtistResource) SetStatus(v ArtistStatusType)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ArtistResource) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetEnded + +`func (o *ArtistResource) GetEnded() bool` + +GetEnded returns the Ended field if non-nil, zero value otherwise. + +### GetEndedOk + +`func (o *ArtistResource) GetEndedOk() (*bool, bool)` + +GetEndedOk returns a tuple with the Ended field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnded + +`func (o *ArtistResource) SetEnded(v bool)` + +SetEnded sets Ended field to given value. + +### HasEnded + +`func (o *ArtistResource) HasEnded() bool` + +HasEnded returns a boolean if a field has been set. + +### GetArtistName + +`func (o *ArtistResource) GetArtistName() string` + +GetArtistName returns the ArtistName field if non-nil, zero value otherwise. + +### GetArtistNameOk + +`func (o *ArtistResource) GetArtistNameOk() (*string, bool)` + +GetArtistNameOk returns a tuple with the ArtistName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistName + +`func (o *ArtistResource) SetArtistName(v string)` + +SetArtistName sets ArtistName field to given value. + +### HasArtistName + +`func (o *ArtistResource) HasArtistName() bool` + +HasArtistName returns a boolean if a field has been set. + +### SetArtistNameNil + +`func (o *ArtistResource) SetArtistNameNil(b bool)` + + SetArtistNameNil sets the value for ArtistName to be an explicit nil + +### UnsetArtistName +`func (o *ArtistResource) UnsetArtistName()` + +UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +### GetForeignArtistId + +`func (o *ArtistResource) GetForeignArtistId() string` + +GetForeignArtistId returns the ForeignArtistId field if non-nil, zero value otherwise. + +### GetForeignArtistIdOk + +`func (o *ArtistResource) GetForeignArtistIdOk() (*string, bool)` + +GetForeignArtistIdOk returns a tuple with the ForeignArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignArtistId + +`func (o *ArtistResource) SetForeignArtistId(v string)` + +SetForeignArtistId sets ForeignArtistId field to given value. + +### HasForeignArtistId + +`func (o *ArtistResource) HasForeignArtistId() bool` + +HasForeignArtistId returns a boolean if a field has been set. + +### SetForeignArtistIdNil + +`func (o *ArtistResource) SetForeignArtistIdNil(b bool)` + + SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil + +### UnsetForeignArtistId +`func (o *ArtistResource) UnsetForeignArtistId()` + +UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil +### GetMbId + +`func (o *ArtistResource) GetMbId() string` + +GetMbId returns the MbId field if non-nil, zero value otherwise. + +### GetMbIdOk + +`func (o *ArtistResource) GetMbIdOk() (*string, bool)` + +GetMbIdOk returns a tuple with the MbId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMbId + +`func (o *ArtistResource) SetMbId(v string)` + +SetMbId sets MbId field to given value. + +### HasMbId + +`func (o *ArtistResource) HasMbId() bool` + +HasMbId returns a boolean if a field has been set. + +### SetMbIdNil + +`func (o *ArtistResource) SetMbIdNil(b bool)` + + SetMbIdNil sets the value for MbId to be an explicit nil + +### UnsetMbId +`func (o *ArtistResource) UnsetMbId()` + +UnsetMbId ensures that no value is present for MbId, not even an explicit nil +### GetTadbId + +`func (o *ArtistResource) GetTadbId() int32` + +GetTadbId returns the TadbId field if non-nil, zero value otherwise. + +### GetTadbIdOk + +`func (o *ArtistResource) GetTadbIdOk() (*int32, bool)` + +GetTadbIdOk returns a tuple with the TadbId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTadbId + +`func (o *ArtistResource) SetTadbId(v int32)` + +SetTadbId sets TadbId field to given value. + +### HasTadbId + +`func (o *ArtistResource) HasTadbId() bool` + +HasTadbId returns a boolean if a field has been set. + +### GetDiscogsId + +`func (o *ArtistResource) GetDiscogsId() int32` + +GetDiscogsId returns the DiscogsId field if non-nil, zero value otherwise. + +### GetDiscogsIdOk + +`func (o *ArtistResource) GetDiscogsIdOk() (*int32, bool)` + +GetDiscogsIdOk returns a tuple with the DiscogsId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscogsId + +`func (o *ArtistResource) SetDiscogsId(v int32)` + +SetDiscogsId sets DiscogsId field to given value. + +### HasDiscogsId + +`func (o *ArtistResource) HasDiscogsId() bool` + +HasDiscogsId returns a boolean if a field has been set. + +### GetAllMusicId + +`func (o *ArtistResource) GetAllMusicId() string` + +GetAllMusicId returns the AllMusicId field if non-nil, zero value otherwise. + +### GetAllMusicIdOk + +`func (o *ArtistResource) GetAllMusicIdOk() (*string, bool)` + +GetAllMusicIdOk returns a tuple with the AllMusicId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllMusicId + +`func (o *ArtistResource) SetAllMusicId(v string)` + +SetAllMusicId sets AllMusicId field to given value. + +### HasAllMusicId + +`func (o *ArtistResource) HasAllMusicId() bool` + +HasAllMusicId returns a boolean if a field has been set. + +### SetAllMusicIdNil + +`func (o *ArtistResource) SetAllMusicIdNil(b bool)` + + SetAllMusicIdNil sets the value for AllMusicId to be an explicit nil + +### UnsetAllMusicId +`func (o *ArtistResource) UnsetAllMusicId()` + +UnsetAllMusicId ensures that no value is present for AllMusicId, not even an explicit nil +### GetOverview + +`func (o *ArtistResource) GetOverview() string` + +GetOverview returns the Overview field if non-nil, zero value otherwise. + +### GetOverviewOk + +`func (o *ArtistResource) GetOverviewOk() (*string, bool)` + +GetOverviewOk returns a tuple with the Overview field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOverview + +`func (o *ArtistResource) SetOverview(v string)` + +SetOverview sets Overview field to given value. + +### HasOverview + +`func (o *ArtistResource) HasOverview() bool` + +HasOverview returns a boolean if a field has been set. + +### SetOverviewNil + +`func (o *ArtistResource) SetOverviewNil(b bool)` + + SetOverviewNil sets the value for Overview to be an explicit nil + +### UnsetOverview +`func (o *ArtistResource) UnsetOverview()` + +UnsetOverview ensures that no value is present for Overview, not even an explicit nil +### GetArtistType + +`func (o *ArtistResource) GetArtistType() string` + +GetArtistType returns the ArtistType field if non-nil, zero value otherwise. + +### GetArtistTypeOk + +`func (o *ArtistResource) GetArtistTypeOk() (*string, bool)` + +GetArtistTypeOk returns a tuple with the ArtistType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistType + +`func (o *ArtistResource) SetArtistType(v string)` + +SetArtistType sets ArtistType field to given value. + +### HasArtistType + +`func (o *ArtistResource) HasArtistType() bool` + +HasArtistType returns a boolean if a field has been set. + +### SetArtistTypeNil + +`func (o *ArtistResource) SetArtistTypeNil(b bool)` + + SetArtistTypeNil sets the value for ArtistType to be an explicit nil + +### UnsetArtistType +`func (o *ArtistResource) UnsetArtistType()` + +UnsetArtistType ensures that no value is present for ArtistType, not even an explicit nil +### GetDisambiguation + +`func (o *ArtistResource) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *ArtistResource) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *ArtistResource) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *ArtistResource) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *ArtistResource) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *ArtistResource) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetLinks + +`func (o *ArtistResource) GetLinks() []Links` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *ArtistResource) GetLinksOk() (*[]Links, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *ArtistResource) SetLinks(v []Links)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *ArtistResource) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. + +### SetLinksNil + +`func (o *ArtistResource) SetLinksNil(b bool)` + + SetLinksNil sets the value for Links to be an explicit nil + +### UnsetLinks +`func (o *ArtistResource) UnsetLinks()` + +UnsetLinks ensures that no value is present for Links, not even an explicit nil +### GetNextAlbum + +`func (o *ArtistResource) GetNextAlbum() Album` + +GetNextAlbum returns the NextAlbum field if non-nil, zero value otherwise. + +### GetNextAlbumOk + +`func (o *ArtistResource) GetNextAlbumOk() (*Album, bool)` + +GetNextAlbumOk returns a tuple with the NextAlbum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextAlbum + +`func (o *ArtistResource) SetNextAlbum(v Album)` + +SetNextAlbum sets NextAlbum field to given value. + +### HasNextAlbum + +`func (o *ArtistResource) HasNextAlbum() bool` + +HasNextAlbum returns a boolean if a field has been set. + +### GetLastAlbum + +`func (o *ArtistResource) GetLastAlbum() Album` + +GetLastAlbum returns the LastAlbum field if non-nil, zero value otherwise. + +### GetLastAlbumOk + +`func (o *ArtistResource) GetLastAlbumOk() (*Album, bool)` + +GetLastAlbumOk returns a tuple with the LastAlbum field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastAlbum + +`func (o *ArtistResource) SetLastAlbum(v Album)` + +SetLastAlbum sets LastAlbum field to given value. + +### HasLastAlbum + +`func (o *ArtistResource) HasLastAlbum() bool` + +HasLastAlbum returns a boolean if a field has been set. + +### GetImages + +`func (o *ArtistResource) GetImages() []MediaCover` + +GetImages returns the Images field if non-nil, zero value otherwise. + +### GetImagesOk + +`func (o *ArtistResource) GetImagesOk() (*[]MediaCover, bool)` + +GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImages + +`func (o *ArtistResource) SetImages(v []MediaCover)` + +SetImages sets Images field to given value. + +### HasImages + +`func (o *ArtistResource) HasImages() bool` + +HasImages returns a boolean if a field has been set. + +### SetImagesNil + +`func (o *ArtistResource) SetImagesNil(b bool)` + + SetImagesNil sets the value for Images to be an explicit nil + +### UnsetImages +`func (o *ArtistResource) UnsetImages()` + +UnsetImages ensures that no value is present for Images, not even an explicit nil +### GetMembers + +`func (o *ArtistResource) GetMembers() []Member` + +GetMembers returns the Members field if non-nil, zero value otherwise. + +### GetMembersOk + +`func (o *ArtistResource) GetMembersOk() (*[]Member, bool)` + +GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMembers + +`func (o *ArtistResource) SetMembers(v []Member)` + +SetMembers sets Members field to given value. + +### HasMembers + +`func (o *ArtistResource) HasMembers() bool` + +HasMembers returns a boolean if a field has been set. + +### SetMembersNil + +`func (o *ArtistResource) SetMembersNil(b bool)` + + SetMembersNil sets the value for Members to be an explicit nil + +### UnsetMembers +`func (o *ArtistResource) UnsetMembers()` + +UnsetMembers ensures that no value is present for Members, not even an explicit nil +### GetRemotePoster + +`func (o *ArtistResource) GetRemotePoster() string` + +GetRemotePoster returns the RemotePoster field if non-nil, zero value otherwise. + +### GetRemotePosterOk + +`func (o *ArtistResource) GetRemotePosterOk() (*string, bool)` + +GetRemotePosterOk returns a tuple with the RemotePoster field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemotePoster + +`func (o *ArtistResource) SetRemotePoster(v string)` + +SetRemotePoster sets RemotePoster field to given value. + +### HasRemotePoster + +`func (o *ArtistResource) HasRemotePoster() bool` + +HasRemotePoster returns a boolean if a field has been set. + +### SetRemotePosterNil + +`func (o *ArtistResource) SetRemotePosterNil(b bool)` + + SetRemotePosterNil sets the value for RemotePoster to be an explicit nil + +### UnsetRemotePoster +`func (o *ArtistResource) UnsetRemotePoster()` + +UnsetRemotePoster ensures that no value is present for RemotePoster, not even an explicit nil +### GetPath + +`func (o *ArtistResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *ArtistResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *ArtistResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *ArtistResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *ArtistResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *ArtistResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetQualityProfileId + +`func (o *ArtistResource) GetQualityProfileId() int32` + +GetQualityProfileId returns the QualityProfileId field if non-nil, zero value otherwise. + +### GetQualityProfileIdOk + +`func (o *ArtistResource) GetQualityProfileIdOk() (*int32, bool)` + +GetQualityProfileIdOk returns a tuple with the QualityProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityProfileId + +`func (o *ArtistResource) SetQualityProfileId(v int32)` + +SetQualityProfileId sets QualityProfileId field to given value. + +### HasQualityProfileId + +`func (o *ArtistResource) HasQualityProfileId() bool` + +HasQualityProfileId returns a boolean if a field has been set. + +### GetMetadataProfileId + +`func (o *ArtistResource) GetMetadataProfileId() int32` + +GetMetadataProfileId returns the MetadataProfileId field if non-nil, zero value otherwise. + +### GetMetadataProfileIdOk + +`func (o *ArtistResource) GetMetadataProfileIdOk() (*int32, bool)` + +GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataProfileId + +`func (o *ArtistResource) SetMetadataProfileId(v int32)` + +SetMetadataProfileId sets MetadataProfileId field to given value. + +### HasMetadataProfileId + +`func (o *ArtistResource) HasMetadataProfileId() bool` + +HasMetadataProfileId returns a boolean if a field has been set. + +### GetMonitored + +`func (o *ArtistResource) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *ArtistResource) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *ArtistResource) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *ArtistResource) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + +### GetMonitorNewItems + +`func (o *ArtistResource) GetMonitorNewItems() NewItemMonitorTypes` + +GetMonitorNewItems returns the MonitorNewItems field if non-nil, zero value otherwise. + +### GetMonitorNewItemsOk + +`func (o *ArtistResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool)` + +GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitorNewItems + +`func (o *ArtistResource) SetMonitorNewItems(v NewItemMonitorTypes)` + +SetMonitorNewItems sets MonitorNewItems field to given value. + +### HasMonitorNewItems + +`func (o *ArtistResource) HasMonitorNewItems() bool` + +HasMonitorNewItems returns a boolean if a field has been set. + +### GetRootFolderPath + +`func (o *ArtistResource) GetRootFolderPath() string` + +GetRootFolderPath returns the RootFolderPath field if non-nil, zero value otherwise. + +### GetRootFolderPathOk + +`func (o *ArtistResource) GetRootFolderPathOk() (*string, bool)` + +GetRootFolderPathOk returns a tuple with the RootFolderPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRootFolderPath + +`func (o *ArtistResource) SetRootFolderPath(v string)` + +SetRootFolderPath sets RootFolderPath field to given value. + +### HasRootFolderPath + +`func (o *ArtistResource) HasRootFolderPath() bool` + +HasRootFolderPath returns a boolean if a field has been set. + +### SetRootFolderPathNil + +`func (o *ArtistResource) SetRootFolderPathNil(b bool)` + + SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil + +### UnsetRootFolderPath +`func (o *ArtistResource) UnsetRootFolderPath()` + +UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +### GetGenres + +`func (o *ArtistResource) GetGenres() []string` + +GetGenres returns the Genres field if non-nil, zero value otherwise. + +### GetGenresOk + +`func (o *ArtistResource) GetGenresOk() (*[]string, bool)` + +GetGenresOk returns a tuple with the Genres field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGenres + +`func (o *ArtistResource) SetGenres(v []string)` + +SetGenres sets Genres field to given value. + +### HasGenres + +`func (o *ArtistResource) HasGenres() bool` + +HasGenres returns a boolean if a field has been set. + +### SetGenresNil + +`func (o *ArtistResource) SetGenresNil(b bool)` + + SetGenresNil sets the value for Genres to be an explicit nil + +### UnsetGenres +`func (o *ArtistResource) UnsetGenres()` + +UnsetGenres ensures that no value is present for Genres, not even an explicit nil +### GetCleanName + +`func (o *ArtistResource) GetCleanName() string` + +GetCleanName returns the CleanName field if non-nil, zero value otherwise. + +### GetCleanNameOk + +`func (o *ArtistResource) GetCleanNameOk() (*string, bool)` + +GetCleanNameOk returns a tuple with the CleanName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCleanName + +`func (o *ArtistResource) SetCleanName(v string)` + +SetCleanName sets CleanName field to given value. + +### HasCleanName + +`func (o *ArtistResource) HasCleanName() bool` + +HasCleanName returns a boolean if a field has been set. + +### SetCleanNameNil + +`func (o *ArtistResource) SetCleanNameNil(b bool)` + + SetCleanNameNil sets the value for CleanName to be an explicit nil + +### UnsetCleanName +`func (o *ArtistResource) UnsetCleanName()` + +UnsetCleanName ensures that no value is present for CleanName, not even an explicit nil +### GetSortName + +`func (o *ArtistResource) GetSortName() string` + +GetSortName returns the SortName field if non-nil, zero value otherwise. + +### GetSortNameOk + +`func (o *ArtistResource) GetSortNameOk() (*string, bool)` + +GetSortNameOk returns a tuple with the SortName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortName + +`func (o *ArtistResource) SetSortName(v string)` + +SetSortName sets SortName field to given value. + +### HasSortName + +`func (o *ArtistResource) HasSortName() bool` + +HasSortName returns a boolean if a field has been set. + +### SetSortNameNil + +`func (o *ArtistResource) SetSortNameNil(b bool)` + + SetSortNameNil sets the value for SortName to be an explicit nil + +### UnsetSortName +`func (o *ArtistResource) UnsetSortName()` + +UnsetSortName ensures that no value is present for SortName, not even an explicit nil +### GetTags + +`func (o *ArtistResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ArtistResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *ArtistResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ArtistResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *ArtistResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ArtistResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetAdded + +`func (o *ArtistResource) GetAdded() time.Time` + +GetAdded returns the Added field if non-nil, zero value otherwise. + +### GetAddedOk + +`func (o *ArtistResource) GetAddedOk() (*time.Time, bool)` + +GetAddedOk returns a tuple with the Added field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdded + +`func (o *ArtistResource) SetAdded(v time.Time)` + +SetAdded sets Added field to given value. + +### HasAdded + +`func (o *ArtistResource) HasAdded() bool` + +HasAdded returns a boolean if a field has been set. + +### GetAddOptions + +`func (o *ArtistResource) GetAddOptions() AddArtistOptions` + +GetAddOptions returns the AddOptions field if non-nil, zero value otherwise. + +### GetAddOptionsOk + +`func (o *ArtistResource) GetAddOptionsOk() (*AddArtistOptions, bool)` + +GetAddOptionsOk returns a tuple with the AddOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAddOptions + +`func (o *ArtistResource) SetAddOptions(v AddArtistOptions)` + +SetAddOptions sets AddOptions field to given value. + +### HasAddOptions + +`func (o *ArtistResource) HasAddOptions() bool` + +HasAddOptions returns a boolean if a field has been set. + +### GetRatings + +`func (o *ArtistResource) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *ArtistResource) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *ArtistResource) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *ArtistResource) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetStatistics + +`func (o *ArtistResource) GetStatistics() ArtistStatisticsResource` + +GetStatistics returns the Statistics field if non-nil, zero value otherwise. + +### GetStatisticsOk + +`func (o *ArtistResource) GetStatisticsOk() (*ArtistStatisticsResource, bool)` + +GetStatisticsOk returns a tuple with the Statistics field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatistics + +`func (o *ArtistResource) SetStatistics(v ArtistStatisticsResource)` + +SetStatistics sets Statistics field to given value. + +### HasStatistics + +`func (o *ArtistResource) HasStatistics() bool` + +HasStatistics returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistStatisticsResource.md b/lidarr/docs/ArtistStatisticsResource.md new file mode 100644 index 0000000..f7b23a0 --- /dev/null +++ b/lidarr/docs/ArtistStatisticsResource.md @@ -0,0 +1,186 @@ +# ArtistStatisticsResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AlbumCount** | Pointer to **int32** | | [optional] +**TrackFileCount** | Pointer to **int32** | | [optional] +**TrackCount** | Pointer to **int32** | | [optional] +**TotalTrackCount** | Pointer to **int32** | | [optional] +**SizeOnDisk** | Pointer to **int64** | | [optional] +**PercentOfTracks** | Pointer to **float64** | | [optional] [readonly] + +## Methods + +### NewArtistStatisticsResource + +`func NewArtistStatisticsResource() *ArtistStatisticsResource` + +NewArtistStatisticsResource instantiates a new ArtistStatisticsResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistStatisticsResourceWithDefaults + +`func NewArtistStatisticsResourceWithDefaults() *ArtistStatisticsResource` + +NewArtistStatisticsResourceWithDefaults instantiates a new ArtistStatisticsResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAlbumCount + +`func (o *ArtistStatisticsResource) GetAlbumCount() int32` + +GetAlbumCount returns the AlbumCount field if non-nil, zero value otherwise. + +### GetAlbumCountOk + +`func (o *ArtistStatisticsResource) GetAlbumCountOk() (*int32, bool)` + +GetAlbumCountOk returns a tuple with the AlbumCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumCount + +`func (o *ArtistStatisticsResource) SetAlbumCount(v int32)` + +SetAlbumCount sets AlbumCount field to given value. + +### HasAlbumCount + +`func (o *ArtistStatisticsResource) HasAlbumCount() bool` + +HasAlbumCount returns a boolean if a field has been set. + +### GetTrackFileCount + +`func (o *ArtistStatisticsResource) GetTrackFileCount() int32` + +GetTrackFileCount returns the TrackFileCount field if non-nil, zero value otherwise. + +### GetTrackFileCountOk + +`func (o *ArtistStatisticsResource) GetTrackFileCountOk() (*int32, bool)` + +GetTrackFileCountOk returns a tuple with the TrackFileCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileCount + +`func (o *ArtistStatisticsResource) SetTrackFileCount(v int32)` + +SetTrackFileCount sets TrackFileCount field to given value. + +### HasTrackFileCount + +`func (o *ArtistStatisticsResource) HasTrackFileCount() bool` + +HasTrackFileCount returns a boolean if a field has been set. + +### GetTrackCount + +`func (o *ArtistStatisticsResource) GetTrackCount() int32` + +GetTrackCount returns the TrackCount field if non-nil, zero value otherwise. + +### GetTrackCountOk + +`func (o *ArtistStatisticsResource) GetTrackCountOk() (*int32, bool)` + +GetTrackCountOk returns a tuple with the TrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackCount + +`func (o *ArtistStatisticsResource) SetTrackCount(v int32)` + +SetTrackCount sets TrackCount field to given value. + +### HasTrackCount + +`func (o *ArtistStatisticsResource) HasTrackCount() bool` + +HasTrackCount returns a boolean if a field has been set. + +### GetTotalTrackCount + +`func (o *ArtistStatisticsResource) GetTotalTrackCount() int32` + +GetTotalTrackCount returns the TotalTrackCount field if non-nil, zero value otherwise. + +### GetTotalTrackCountOk + +`func (o *ArtistStatisticsResource) GetTotalTrackCountOk() (*int32, bool)` + +GetTotalTrackCountOk returns a tuple with the TotalTrackCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalTrackCount + +`func (o *ArtistStatisticsResource) SetTotalTrackCount(v int32)` + +SetTotalTrackCount sets TotalTrackCount field to given value. + +### HasTotalTrackCount + +`func (o *ArtistStatisticsResource) HasTotalTrackCount() bool` + +HasTotalTrackCount returns a boolean if a field has been set. + +### GetSizeOnDisk + +`func (o *ArtistStatisticsResource) GetSizeOnDisk() int64` + +GetSizeOnDisk returns the SizeOnDisk field if non-nil, zero value otherwise. + +### GetSizeOnDiskOk + +`func (o *ArtistStatisticsResource) GetSizeOnDiskOk() (*int64, bool)` + +GetSizeOnDiskOk returns a tuple with the SizeOnDisk field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSizeOnDisk + +`func (o *ArtistStatisticsResource) SetSizeOnDisk(v int64)` + +SetSizeOnDisk sets SizeOnDisk field to given value. + +### HasSizeOnDisk + +`func (o *ArtistStatisticsResource) HasSizeOnDisk() bool` + +HasSizeOnDisk returns a boolean if a field has been set. + +### GetPercentOfTracks + +`func (o *ArtistStatisticsResource) GetPercentOfTracks() float64` + +GetPercentOfTracks returns the PercentOfTracks field if non-nil, zero value otherwise. + +### GetPercentOfTracksOk + +`func (o *ArtistStatisticsResource) GetPercentOfTracksOk() (*float64, bool)` + +GetPercentOfTracksOk returns a tuple with the PercentOfTracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPercentOfTracks + +`func (o *ArtistStatisticsResource) SetPercentOfTracks(v float64)` + +SetPercentOfTracks sets PercentOfTracks field to given value. + +### HasPercentOfTracks + +`func (o *ArtistStatisticsResource) HasPercentOfTracks() bool` + +HasPercentOfTracks returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistStatusType.md b/lidarr/docs/ArtistStatusType.md new file mode 100644 index 0000000..e75683e --- /dev/null +++ b/lidarr/docs/ArtistStatusType.md @@ -0,0 +1,13 @@ +# ArtistStatusType + +## Enum + + +* `CONTINUING` (value: `"continuing"`) + +* `ENDED` (value: `"ended"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ArtistTitleInfo.md b/lidarr/docs/ArtistTitleInfo.md new file mode 100644 index 0000000..dcbff0d --- /dev/null +++ b/lidarr/docs/ArtistTitleInfo.md @@ -0,0 +1,128 @@ +# ArtistTitleInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Title** | Pointer to **NullableString** | | [optional] +**TitleWithoutYear** | Pointer to **NullableString** | | [optional] +**Year** | Pointer to **int32** | | [optional] + +## Methods + +### NewArtistTitleInfo + +`func NewArtistTitleInfo() *ArtistTitleInfo` + +NewArtistTitleInfo instantiates a new ArtistTitleInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewArtistTitleInfoWithDefaults + +`func NewArtistTitleInfoWithDefaults() *ArtistTitleInfo` + +NewArtistTitleInfoWithDefaults instantiates a new ArtistTitleInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTitle + +`func (o *ArtistTitleInfo) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *ArtistTitleInfo) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *ArtistTitleInfo) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *ArtistTitleInfo) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *ArtistTitleInfo) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *ArtistTitleInfo) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetTitleWithoutYear + +`func (o *ArtistTitleInfo) GetTitleWithoutYear() string` + +GetTitleWithoutYear returns the TitleWithoutYear field if non-nil, zero value otherwise. + +### GetTitleWithoutYearOk + +`func (o *ArtistTitleInfo) GetTitleWithoutYearOk() (*string, bool)` + +GetTitleWithoutYearOk returns a tuple with the TitleWithoutYear field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitleWithoutYear + +`func (o *ArtistTitleInfo) SetTitleWithoutYear(v string)` + +SetTitleWithoutYear sets TitleWithoutYear field to given value. + +### HasTitleWithoutYear + +`func (o *ArtistTitleInfo) HasTitleWithoutYear() bool` + +HasTitleWithoutYear returns a boolean if a field has been set. + +### SetTitleWithoutYearNil + +`func (o *ArtistTitleInfo) SetTitleWithoutYearNil(b bool)` + + SetTitleWithoutYearNil sets the value for TitleWithoutYear to be an explicit nil + +### UnsetTitleWithoutYear +`func (o *ArtistTitleInfo) UnsetTitleWithoutYear()` + +UnsetTitleWithoutYear ensures that no value is present for TitleWithoutYear, not even an explicit nil +### GetYear + +`func (o *ArtistTitleInfo) GetYear() int32` + +GetYear returns the Year field if non-nil, zero value otherwise. + +### GetYearOk + +`func (o *ArtistTitleInfo) GetYearOk() (*int32, bool)` + +GetYearOk returns a tuple with the Year field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetYear + +`func (o *ArtistTitleInfo) SetYear(v int32)` + +SetYear sets Year field to given value. + +### HasYear + +`func (o *ArtistTitleInfo) HasYear() bool` + +HasYear returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/AuthenticationApi.md b/lidarr/docs/AuthenticationApi.md new file mode 100644 index 0000000..593e7a8 --- /dev/null +++ b/lidarr/docs/AuthenticationApi.md @@ -0,0 +1,135 @@ +# \AuthenticationApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateLogin**](AuthenticationApi.md#CreateLogin) | **Post** /login | +[**GetLogout**](AuthenticationApi.md#GetLogout) | **Get** /logout | + + + +## CreateLogin + +> CreateLogin(ctx).ReturnUrl(returnUrl).Username(username).Password(password).RememberMe(rememberMe).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + returnUrl := "returnUrl_example" // string | (optional) + username := "username_example" // string | (optional) + password := "password_example" // string | (optional) + rememberMe := "rememberMe_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AuthenticationApi.CreateLogin(context.Background()).ReturnUrl(returnUrl).Username(username).Password(password).RememberMe(rememberMe).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationApi.CreateLogin``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateLoginRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **returnUrl** | **string** | | + **username** | **string** | | + **password** | **string** | | + **rememberMe** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: multipart/form-data +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetLogout + +> GetLogout(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.AuthenticationApi.GetLogout(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AuthenticationApi.GetLogout``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetLogoutRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/AuthenticationType.md b/lidarr/docs/AuthenticationType.md new file mode 100644 index 0000000..3537b72 --- /dev/null +++ b/lidarr/docs/AuthenticationType.md @@ -0,0 +1,15 @@ +# AuthenticationType + +## Enum + + +* `NONE` (value: `"none"`) + +* `BASIC` (value: `"basic"`) + +* `FORMS` (value: `"forms"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/BackupApi.md b/lidarr/docs/BackupApi.md new file mode 100644 index 0000000..c76d02d --- /dev/null +++ b/lidarr/docs/BackupApi.md @@ -0,0 +1,260 @@ +# \BackupApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1SystemBackupRestoreById**](BackupApi.md#CreateApiV1SystemBackupRestoreById) | **Post** /api/v1/system/backup/restore/{id} | +[**CreateApiV1SystemBackupRestoreUpload**](BackupApi.md#CreateApiV1SystemBackupRestoreUpload) | **Post** /api/v1/system/backup/restore/upload | +[**DeleteApiV1SystemBackup**](BackupApi.md#DeleteApiV1SystemBackup) | **Delete** /api/v1/system/backup/{id} | +[**ListApiV1SystemBackup**](BackupApi.md#ListApiV1SystemBackup) | **Get** /api/v1/system/backup | + + + +## CreateApiV1SystemBackupRestoreById + +> CreateApiV1SystemBackupRestoreById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BackupApi.CreateApiV1SystemBackupRestoreById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.CreateApiV1SystemBackupRestoreById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1SystemBackupRestoreByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1SystemBackupRestoreUpload + +> CreateApiV1SystemBackupRestoreUpload(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BackupApi.CreateApiV1SystemBackupRestoreUpload(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.CreateApiV1SystemBackupRestoreUpload``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1SystemBackupRestoreUploadRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1SystemBackup + +> DeleteApiV1SystemBackup(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BackupApi.DeleteApiV1SystemBackup(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.DeleteApiV1SystemBackup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1SystemBackupRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1SystemBackup + +> []BackupResource ListApiV1SystemBackup(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BackupApi.ListApiV1SystemBackup(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BackupApi.ListApiV1SystemBackup``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1SystemBackup`: []BackupResource + fmt.Fprintf(os.Stdout, "Response from `BackupApi.ListApiV1SystemBackup`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1SystemBackupRequest struct via the builder pattern + + +### Return type + +[**[]BackupResource**](BackupResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/BackupResource.md b/lidarr/docs/BackupResource.md new file mode 100644 index 0000000..8b112d7 --- /dev/null +++ b/lidarr/docs/BackupResource.md @@ -0,0 +1,206 @@ +# BackupResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Type** | Pointer to [**BackupType**](BackupType.md) | | [optional] +**Size** | Pointer to **int64** | | [optional] +**Time** | Pointer to **time.Time** | | [optional] + +## Methods + +### NewBackupResource + +`func NewBackupResource() *BackupResource` + +NewBackupResource instantiates a new BackupResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBackupResourceWithDefaults + +`func NewBackupResourceWithDefaults() *BackupResource` + +NewBackupResourceWithDefaults instantiates a new BackupResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BackupResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BackupResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BackupResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *BackupResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *BackupResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *BackupResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *BackupResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *BackupResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *BackupResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *BackupResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetPath + +`func (o *BackupResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *BackupResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *BackupResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *BackupResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *BackupResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *BackupResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetType + +`func (o *BackupResource) GetType() BackupType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *BackupResource) GetTypeOk() (*BackupType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *BackupResource) SetType(v BackupType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *BackupResource) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetSize + +`func (o *BackupResource) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *BackupResource) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *BackupResource) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *BackupResource) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetTime + +`func (o *BackupResource) GetTime() time.Time` + +GetTime returns the Time field if non-nil, zero value otherwise. + +### GetTimeOk + +`func (o *BackupResource) GetTimeOk() (*time.Time, bool)` + +GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTime + +`func (o *BackupResource) SetTime(v time.Time)` + +SetTime sets Time field to given value. + +### HasTime + +`func (o *BackupResource) HasTime() bool` + +HasTime returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/BackupType.md b/lidarr/docs/BackupType.md new file mode 100644 index 0000000..52dba18 --- /dev/null +++ b/lidarr/docs/BackupType.md @@ -0,0 +1,15 @@ +# BackupType + +## Enum + + +* `SCHEDULED` (value: `"scheduled"`) + +* `MANUAL` (value: `"manual"`) + +* `UPDATE` (value: `"update"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/BlocklistApi.md b/lidarr/docs/BlocklistApi.md new file mode 100644 index 0000000..f5050ed --- /dev/null +++ b/lidarr/docs/BlocklistApi.md @@ -0,0 +1,198 @@ +# \BlocklistApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DeleteApiV1Blocklist**](BlocklistApi.md#DeleteApiV1Blocklist) | **Delete** /api/v1/blocklist/{id} | +[**DeleteApiV1BlocklistBulk**](BlocklistApi.md#DeleteApiV1BlocklistBulk) | **Delete** /api/v1/blocklist/bulk | +[**GetApiV1Blocklist**](BlocklistApi.md#GetApiV1Blocklist) | **Get** /api/v1/blocklist | + + + +## DeleteApiV1Blocklist + +> DeleteApiV1Blocklist(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BlocklistApi.DeleteApiV1Blocklist(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.DeleteApiV1Blocklist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1BlocklistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1BlocklistBulk + +> DeleteApiV1BlocklistBulk(ctx).BlocklistBulkResource(blocklistBulkResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + blocklistBulkResource := *lidarrClient.NewBlocklistBulkResource() // BlocklistBulkResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BlocklistApi.DeleteApiV1BlocklistBulk(context.Background()).BlocklistBulkResource(blocklistBulkResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.DeleteApiV1BlocklistBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1BlocklistBulkRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **blocklistBulkResource** | [**BlocklistBulkResource**](BlocklistBulkResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1Blocklist + +> BlocklistResourcePagingResource GetApiV1Blocklist(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.BlocklistApi.GetApiV1Blocklist(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `BlocklistApi.GetApiV1Blocklist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1Blocklist`: BlocklistResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `BlocklistApi.GetApiV1Blocklist`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1BlocklistRequest struct via the builder pattern + + +### Return type + +[**BlocklistResourcePagingResource**](BlocklistResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/BlocklistBulkResource.md b/lidarr/docs/BlocklistBulkResource.md new file mode 100644 index 0000000..541e514 --- /dev/null +++ b/lidarr/docs/BlocklistBulkResource.md @@ -0,0 +1,66 @@ +# BlocklistBulkResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewBlocklistBulkResource + +`func NewBlocklistBulkResource() *BlocklistBulkResource` + +NewBlocklistBulkResource instantiates a new BlocklistBulkResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBlocklistBulkResourceWithDefaults + +`func NewBlocklistBulkResourceWithDefaults() *BlocklistBulkResource` + +NewBlocklistBulkResourceWithDefaults instantiates a new BlocklistBulkResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIds + +`func (o *BlocklistBulkResource) GetIds() []int32` + +GetIds returns the Ids field if non-nil, zero value otherwise. + +### GetIdsOk + +`func (o *BlocklistBulkResource) GetIdsOk() (*[]int32, bool)` + +GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIds + +`func (o *BlocklistBulkResource) SetIds(v []int32)` + +SetIds sets Ids field to given value. + +### HasIds + +`func (o *BlocklistBulkResource) HasIds() bool` + +HasIds returns a boolean if a field has been set. + +### SetIdsNil + +`func (o *BlocklistBulkResource) SetIdsNil(b bool)` + + SetIdsNil sets the value for Ids to be an explicit nil + +### UnsetIds +`func (o *BlocklistBulkResource) UnsetIds()` + +UnsetIds ensures that no value is present for Ids, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/BlocklistResource.md b/lidarr/docs/BlocklistResource.md new file mode 100644 index 0000000..4415066 --- /dev/null +++ b/lidarr/docs/BlocklistResource.md @@ -0,0 +1,330 @@ +# BlocklistResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**AlbumIds** | Pointer to **[]int32** | | [optional] +**SourceTitle** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**Date** | Pointer to **time.Time** | | [optional] +**Protocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**Indexer** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to **NullableString** | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] + +## Methods + +### NewBlocklistResource + +`func NewBlocklistResource() *BlocklistResource` + +NewBlocklistResource instantiates a new BlocklistResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBlocklistResourceWithDefaults + +`func NewBlocklistResourceWithDefaults() *BlocklistResource` + +NewBlocklistResourceWithDefaults instantiates a new BlocklistResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *BlocklistResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *BlocklistResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *BlocklistResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *BlocklistResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *BlocklistResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *BlocklistResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *BlocklistResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *BlocklistResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetAlbumIds + +`func (o *BlocklistResource) GetAlbumIds() []int32` + +GetAlbumIds returns the AlbumIds field if non-nil, zero value otherwise. + +### GetAlbumIdsOk + +`func (o *BlocklistResource) GetAlbumIdsOk() (*[]int32, bool)` + +GetAlbumIdsOk returns a tuple with the AlbumIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumIds + +`func (o *BlocklistResource) SetAlbumIds(v []int32)` + +SetAlbumIds sets AlbumIds field to given value. + +### HasAlbumIds + +`func (o *BlocklistResource) HasAlbumIds() bool` + +HasAlbumIds returns a boolean if a field has been set. + +### SetAlbumIdsNil + +`func (o *BlocklistResource) SetAlbumIdsNil(b bool)` + + SetAlbumIdsNil sets the value for AlbumIds to be an explicit nil + +### UnsetAlbumIds +`func (o *BlocklistResource) UnsetAlbumIds()` + +UnsetAlbumIds ensures that no value is present for AlbumIds, not even an explicit nil +### GetSourceTitle + +`func (o *BlocklistResource) GetSourceTitle() string` + +GetSourceTitle returns the SourceTitle field if non-nil, zero value otherwise. + +### GetSourceTitleOk + +`func (o *BlocklistResource) GetSourceTitleOk() (*string, bool)` + +GetSourceTitleOk returns a tuple with the SourceTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSourceTitle + +`func (o *BlocklistResource) SetSourceTitle(v string)` + +SetSourceTitle sets SourceTitle field to given value. + +### HasSourceTitle + +`func (o *BlocklistResource) HasSourceTitle() bool` + +HasSourceTitle returns a boolean if a field has been set. + +### SetSourceTitleNil + +`func (o *BlocklistResource) SetSourceTitleNil(b bool)` + + SetSourceTitleNil sets the value for SourceTitle to be an explicit nil + +### UnsetSourceTitle +`func (o *BlocklistResource) UnsetSourceTitle()` + +UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil +### GetQuality + +`func (o *BlocklistResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *BlocklistResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *BlocklistResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *BlocklistResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetDate + +`func (o *BlocklistResource) GetDate() time.Time` + +GetDate returns the Date field if non-nil, zero value otherwise. + +### GetDateOk + +`func (o *BlocklistResource) GetDateOk() (*time.Time, bool)` + +GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDate + +`func (o *BlocklistResource) SetDate(v time.Time)` + +SetDate sets Date field to given value. + +### HasDate + +`func (o *BlocklistResource) HasDate() bool` + +HasDate returns a boolean if a field has been set. + +### GetProtocol + +`func (o *BlocklistResource) GetProtocol() DownloadProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *BlocklistResource) GetProtocolOk() (*DownloadProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *BlocklistResource) SetProtocol(v DownloadProtocol)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *BlocklistResource) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + +### GetIndexer + +`func (o *BlocklistResource) GetIndexer() string` + +GetIndexer returns the Indexer field if non-nil, zero value otherwise. + +### GetIndexerOk + +`func (o *BlocklistResource) GetIndexerOk() (*string, bool)` + +GetIndexerOk returns a tuple with the Indexer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexer + +`func (o *BlocklistResource) SetIndexer(v string)` + +SetIndexer sets Indexer field to given value. + +### HasIndexer + +`func (o *BlocklistResource) HasIndexer() bool` + +HasIndexer returns a boolean if a field has been set. + +### SetIndexerNil + +`func (o *BlocklistResource) SetIndexerNil(b bool)` + + SetIndexerNil sets the value for Indexer to be an explicit nil + +### UnsetIndexer +`func (o *BlocklistResource) UnsetIndexer()` + +UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +### GetMessage + +`func (o *BlocklistResource) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *BlocklistResource) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *BlocklistResource) SetMessage(v string)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *BlocklistResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### SetMessageNil + +`func (o *BlocklistResource) SetMessageNil(b bool)` + + SetMessageNil sets the value for Message to be an explicit nil + +### UnsetMessage +`func (o *BlocklistResource) UnsetMessage()` + +UnsetMessage ensures that no value is present for Message, not even an explicit nil +### GetArtist + +`func (o *BlocklistResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *BlocklistResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *BlocklistResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *BlocklistResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/BlocklistResourcePagingResource.md b/lidarr/docs/BlocklistResourcePagingResource.md new file mode 100644 index 0000000..7574049 --- /dev/null +++ b/lidarr/docs/BlocklistResourcePagingResource.md @@ -0,0 +1,242 @@ +# BlocklistResourcePagingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Page** | Pointer to **int32** | | [optional] +**PageSize** | Pointer to **int32** | | [optional] +**SortKey** | Pointer to **NullableString** | | [optional] +**SortDirection** | Pointer to [**SortDirection**](SortDirection.md) | | [optional] +**Filters** | Pointer to [**[]PagingResourceFilter**](PagingResourceFilter.md) | | [optional] +**TotalRecords** | Pointer to **int32** | | [optional] +**Records** | Pointer to [**[]BlocklistResource**](BlocklistResource.md) | | [optional] + +## Methods + +### NewBlocklistResourcePagingResource + +`func NewBlocklistResourcePagingResource() *BlocklistResourcePagingResource` + +NewBlocklistResourcePagingResource instantiates a new BlocklistResourcePagingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewBlocklistResourcePagingResourceWithDefaults + +`func NewBlocklistResourcePagingResourceWithDefaults() *BlocklistResourcePagingResource` + +NewBlocklistResourcePagingResourceWithDefaults instantiates a new BlocklistResourcePagingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPage + +`func (o *BlocklistResourcePagingResource) GetPage() int32` + +GetPage returns the Page field if non-nil, zero value otherwise. + +### GetPageOk + +`func (o *BlocklistResourcePagingResource) GetPageOk() (*int32, bool)` + +GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPage + +`func (o *BlocklistResourcePagingResource) SetPage(v int32)` + +SetPage sets Page field to given value. + +### HasPage + +`func (o *BlocklistResourcePagingResource) HasPage() bool` + +HasPage returns a boolean if a field has been set. + +### GetPageSize + +`func (o *BlocklistResourcePagingResource) GetPageSize() int32` + +GetPageSize returns the PageSize field if non-nil, zero value otherwise. + +### GetPageSizeOk + +`func (o *BlocklistResourcePagingResource) GetPageSizeOk() (*int32, bool)` + +GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageSize + +`func (o *BlocklistResourcePagingResource) SetPageSize(v int32)` + +SetPageSize sets PageSize field to given value. + +### HasPageSize + +`func (o *BlocklistResourcePagingResource) HasPageSize() bool` + +HasPageSize returns a boolean if a field has been set. + +### GetSortKey + +`func (o *BlocklistResourcePagingResource) GetSortKey() string` + +GetSortKey returns the SortKey field if non-nil, zero value otherwise. + +### GetSortKeyOk + +`func (o *BlocklistResourcePagingResource) GetSortKeyOk() (*string, bool)` + +GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortKey + +`func (o *BlocklistResourcePagingResource) SetSortKey(v string)` + +SetSortKey sets SortKey field to given value. + +### HasSortKey + +`func (o *BlocklistResourcePagingResource) HasSortKey() bool` + +HasSortKey returns a boolean if a field has been set. + +### SetSortKeyNil + +`func (o *BlocklistResourcePagingResource) SetSortKeyNil(b bool)` + + SetSortKeyNil sets the value for SortKey to be an explicit nil + +### UnsetSortKey +`func (o *BlocklistResourcePagingResource) UnsetSortKey()` + +UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +### GetSortDirection + +`func (o *BlocklistResourcePagingResource) GetSortDirection() SortDirection` + +GetSortDirection returns the SortDirection field if non-nil, zero value otherwise. + +### GetSortDirectionOk + +`func (o *BlocklistResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool)` + +GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortDirection + +`func (o *BlocklistResourcePagingResource) SetSortDirection(v SortDirection)` + +SetSortDirection sets SortDirection field to given value. + +### HasSortDirection + +`func (o *BlocklistResourcePagingResource) HasSortDirection() bool` + +HasSortDirection returns a boolean if a field has been set. + +### GetFilters + +`func (o *BlocklistResourcePagingResource) GetFilters() []PagingResourceFilter` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *BlocklistResourcePagingResource) GetFiltersOk() (*[]PagingResourceFilter, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *BlocklistResourcePagingResource) SetFilters(v []PagingResourceFilter)` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *BlocklistResourcePagingResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *BlocklistResourcePagingResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *BlocklistResourcePagingResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil +### GetTotalRecords + +`func (o *BlocklistResourcePagingResource) GetTotalRecords() int32` + +GetTotalRecords returns the TotalRecords field if non-nil, zero value otherwise. + +### GetTotalRecordsOk + +`func (o *BlocklistResourcePagingResource) GetTotalRecordsOk() (*int32, bool)` + +GetTotalRecordsOk returns a tuple with the TotalRecords field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRecords + +`func (o *BlocklistResourcePagingResource) SetTotalRecords(v int32)` + +SetTotalRecords sets TotalRecords field to given value. + +### HasTotalRecords + +`func (o *BlocklistResourcePagingResource) HasTotalRecords() bool` + +HasTotalRecords returns a boolean if a field has been set. + +### GetRecords + +`func (o *BlocklistResourcePagingResource) GetRecords() []BlocklistResource` + +GetRecords returns the Records field if non-nil, zero value otherwise. + +### GetRecordsOk + +`func (o *BlocklistResourcePagingResource) GetRecordsOk() (*[]BlocklistResource, bool)` + +GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecords + +`func (o *BlocklistResourcePagingResource) SetRecords(v []BlocklistResource)` + +SetRecords sets Records field to given value. + +### HasRecords + +`func (o *BlocklistResourcePagingResource) HasRecords() bool` + +HasRecords returns a boolean if a field has been set. + +### SetRecordsNil + +`func (o *BlocklistResourcePagingResource) SetRecordsNil(b bool)` + + SetRecordsNil sets the value for Records to be an explicit nil + +### UnsetRecords +`func (o *BlocklistResourcePagingResource) UnsetRecords()` + +UnsetRecords ensures that no value is present for Records, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CalendarApi.md b/lidarr/docs/CalendarApi.md new file mode 100644 index 0000000..11d9e04 --- /dev/null +++ b/lidarr/docs/CalendarApi.md @@ -0,0 +1,149 @@ +# \CalendarApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1CalendarById**](CalendarApi.md#GetApiV1CalendarById) | **Get** /api/v1/calendar/{id} | +[**ListApiV1Calendar**](CalendarApi.md#ListApiV1Calendar) | **Get** /api/v1/calendar | + + + +## GetApiV1CalendarById + +> AlbumResource GetApiV1CalendarById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CalendarApi.GetApiV1CalendarById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CalendarApi.GetApiV1CalendarById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1CalendarById`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `CalendarApi.GetApiV1CalendarById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1CalendarByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Calendar + +> []AlbumResource ListApiV1Calendar(ctx).Start(start).End(end).Unmonitored(unmonitored).IncludeArtist(includeArtist).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + lidarrClient "./openapi" +) + +func main() { + start := time.Now() // time.Time | (optional) + end := time.Now() // time.Time | (optional) + unmonitored := true // bool | (optional) (default to false) + includeArtist := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CalendarApi.ListApiV1Calendar(context.Background()).Start(start).End(end).Unmonitored(unmonitored).IncludeArtist(includeArtist).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CalendarApi.ListApiV1Calendar``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Calendar`: []AlbumResource + fmt.Fprintf(os.Stdout, "Response from `CalendarApi.ListApiV1Calendar`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1CalendarRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **start** | **time.Time** | | + **end** | **time.Time** | | + **unmonitored** | **bool** | | [default to false] + **includeArtist** | **bool** | | [default to false] + +### Return type + +[**[]AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/CalendarFeedApi.md b/lidarr/docs/CalendarFeedApi.md new file mode 100644 index 0000000..9254371 --- /dev/null +++ b/lidarr/docs/CalendarFeedApi.md @@ -0,0 +1,77 @@ +# \CalendarFeedApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetFeedV1CalendarLidarrIcs**](CalendarFeedApi.md#GetFeedV1CalendarLidarrIcs) | **Get** /feed/v1/calendar/lidarr.ics | + + + +## GetFeedV1CalendarLidarrIcs + +> GetFeedV1CalendarLidarrIcs(ctx).PastDays(pastDays).FutureDays(futureDays).TagList(tagList).Unmonitored(unmonitored).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + pastDays := int32(56) // int32 | (optional) (default to 7) + futureDays := int32(56) // int32 | (optional) (default to 28) + tagList := "tagList_example" // string | (optional) (default to "") + unmonitored := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CalendarFeedApi.GetFeedV1CalendarLidarrIcs(context.Background()).PastDays(pastDays).FutureDays(futureDays).TagList(tagList).Unmonitored(unmonitored).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CalendarFeedApi.GetFeedV1CalendarLidarrIcs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetFeedV1CalendarLidarrIcsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pastDays** | **int32** | | [default to 7] + **futureDays** | **int32** | | [default to 28] + **tagList** | **string** | | [default to ""] + **unmonitored** | **bool** | | [default to false] + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/CertificateValidationType.md b/lidarr/docs/CertificateValidationType.md new file mode 100644 index 0000000..1260edd --- /dev/null +++ b/lidarr/docs/CertificateValidationType.md @@ -0,0 +1,15 @@ +# CertificateValidationType + +## Enum + + +* `ENABLED` (value: `"enabled"`) + +* `DISABLED_FOR_LOCAL_ADDRESSES` (value: `"disabledForLocalAddresses"`) + +* `DISABLED` (value: `"disabled"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Command.md b/lidarr/docs/Command.md new file mode 100644 index 0000000..86b1cf5 --- /dev/null +++ b/lidarr/docs/Command.md @@ -0,0 +1,392 @@ +# Command + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SendUpdatesToClient** | Pointer to **bool** | | [optional] +**UpdateScheduledTask** | Pointer to **bool** | | [optional] [readonly] +**CompletionMessage** | Pointer to **NullableString** | | [optional] [readonly] +**RequiresDiskAccess** | Pointer to **bool** | | [optional] [readonly] +**IsExclusive** | Pointer to **bool** | | [optional] [readonly] +**IsTypeExclusive** | Pointer to **bool** | | [optional] [readonly] +**Name** | Pointer to **NullableString** | | [optional] [readonly] +**LastExecutionTime** | Pointer to **NullableTime** | | [optional] +**LastStartTime** | Pointer to **NullableTime** | | [optional] +**Trigger** | Pointer to [**CommandTrigger**](CommandTrigger.md) | | [optional] +**SuppressMessages** | Pointer to **bool** | | [optional] +**ClientUserAgent** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewCommand + +`func NewCommand() *Command` + +NewCommand instantiates a new Command object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCommandWithDefaults + +`func NewCommandWithDefaults() *Command` + +NewCommandWithDefaults instantiates a new Command object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetSendUpdatesToClient + +`func (o *Command) GetSendUpdatesToClient() bool` + +GetSendUpdatesToClient returns the SendUpdatesToClient field if non-nil, zero value otherwise. + +### GetSendUpdatesToClientOk + +`func (o *Command) GetSendUpdatesToClientOk() (*bool, bool)` + +GetSendUpdatesToClientOk returns a tuple with the SendUpdatesToClient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSendUpdatesToClient + +`func (o *Command) SetSendUpdatesToClient(v bool)` + +SetSendUpdatesToClient sets SendUpdatesToClient field to given value. + +### HasSendUpdatesToClient + +`func (o *Command) HasSendUpdatesToClient() bool` + +HasSendUpdatesToClient returns a boolean if a field has been set. + +### GetUpdateScheduledTask + +`func (o *Command) GetUpdateScheduledTask() bool` + +GetUpdateScheduledTask returns the UpdateScheduledTask field if non-nil, zero value otherwise. + +### GetUpdateScheduledTaskOk + +`func (o *Command) GetUpdateScheduledTaskOk() (*bool, bool)` + +GetUpdateScheduledTaskOk returns a tuple with the UpdateScheduledTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateScheduledTask + +`func (o *Command) SetUpdateScheduledTask(v bool)` + +SetUpdateScheduledTask sets UpdateScheduledTask field to given value. + +### HasUpdateScheduledTask + +`func (o *Command) HasUpdateScheduledTask() bool` + +HasUpdateScheduledTask returns a boolean if a field has been set. + +### GetCompletionMessage + +`func (o *Command) GetCompletionMessage() string` + +GetCompletionMessage returns the CompletionMessage field if non-nil, zero value otherwise. + +### GetCompletionMessageOk + +`func (o *Command) GetCompletionMessageOk() (*string, bool)` + +GetCompletionMessageOk returns a tuple with the CompletionMessage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCompletionMessage + +`func (o *Command) SetCompletionMessage(v string)` + +SetCompletionMessage sets CompletionMessage field to given value. + +### HasCompletionMessage + +`func (o *Command) HasCompletionMessage() bool` + +HasCompletionMessage returns a boolean if a field has been set. + +### SetCompletionMessageNil + +`func (o *Command) SetCompletionMessageNil(b bool)` + + SetCompletionMessageNil sets the value for CompletionMessage to be an explicit nil + +### UnsetCompletionMessage +`func (o *Command) UnsetCompletionMessage()` + +UnsetCompletionMessage ensures that no value is present for CompletionMessage, not even an explicit nil +### GetRequiresDiskAccess + +`func (o *Command) GetRequiresDiskAccess() bool` + +GetRequiresDiskAccess returns the RequiresDiskAccess field if non-nil, zero value otherwise. + +### GetRequiresDiskAccessOk + +`func (o *Command) GetRequiresDiskAccessOk() (*bool, bool)` + +GetRequiresDiskAccessOk returns a tuple with the RequiresDiskAccess field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequiresDiskAccess + +`func (o *Command) SetRequiresDiskAccess(v bool)` + +SetRequiresDiskAccess sets RequiresDiskAccess field to given value. + +### HasRequiresDiskAccess + +`func (o *Command) HasRequiresDiskAccess() bool` + +HasRequiresDiskAccess returns a boolean if a field has been set. + +### GetIsExclusive + +`func (o *Command) GetIsExclusive() bool` + +GetIsExclusive returns the IsExclusive field if non-nil, zero value otherwise. + +### GetIsExclusiveOk + +`func (o *Command) GetIsExclusiveOk() (*bool, bool)` + +GetIsExclusiveOk returns a tuple with the IsExclusive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsExclusive + +`func (o *Command) SetIsExclusive(v bool)` + +SetIsExclusive sets IsExclusive field to given value. + +### HasIsExclusive + +`func (o *Command) HasIsExclusive() bool` + +HasIsExclusive returns a boolean if a field has been set. + +### GetIsTypeExclusive + +`func (o *Command) GetIsTypeExclusive() bool` + +GetIsTypeExclusive returns the IsTypeExclusive field if non-nil, zero value otherwise. + +### GetIsTypeExclusiveOk + +`func (o *Command) GetIsTypeExclusiveOk() (*bool, bool)` + +GetIsTypeExclusiveOk returns a tuple with the IsTypeExclusive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsTypeExclusive + +`func (o *Command) SetIsTypeExclusive(v bool)` + +SetIsTypeExclusive sets IsTypeExclusive field to given value. + +### HasIsTypeExclusive + +`func (o *Command) HasIsTypeExclusive() bool` + +HasIsTypeExclusive returns a boolean if a field has been set. + +### GetName + +`func (o *Command) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Command) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Command) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Command) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Command) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Command) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetLastExecutionTime + +`func (o *Command) GetLastExecutionTime() time.Time` + +GetLastExecutionTime returns the LastExecutionTime field if non-nil, zero value otherwise. + +### GetLastExecutionTimeOk + +`func (o *Command) GetLastExecutionTimeOk() (*time.Time, bool)` + +GetLastExecutionTimeOk returns a tuple with the LastExecutionTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastExecutionTime + +`func (o *Command) SetLastExecutionTime(v time.Time)` + +SetLastExecutionTime sets LastExecutionTime field to given value. + +### HasLastExecutionTime + +`func (o *Command) HasLastExecutionTime() bool` + +HasLastExecutionTime returns a boolean if a field has been set. + +### SetLastExecutionTimeNil + +`func (o *Command) SetLastExecutionTimeNil(b bool)` + + SetLastExecutionTimeNil sets the value for LastExecutionTime to be an explicit nil + +### UnsetLastExecutionTime +`func (o *Command) UnsetLastExecutionTime()` + +UnsetLastExecutionTime ensures that no value is present for LastExecutionTime, not even an explicit nil +### GetLastStartTime + +`func (o *Command) GetLastStartTime() time.Time` + +GetLastStartTime returns the LastStartTime field if non-nil, zero value otherwise. + +### GetLastStartTimeOk + +`func (o *Command) GetLastStartTimeOk() (*time.Time, bool)` + +GetLastStartTimeOk returns a tuple with the LastStartTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastStartTime + +`func (o *Command) SetLastStartTime(v time.Time)` + +SetLastStartTime sets LastStartTime field to given value. + +### HasLastStartTime + +`func (o *Command) HasLastStartTime() bool` + +HasLastStartTime returns a boolean if a field has been set. + +### SetLastStartTimeNil + +`func (o *Command) SetLastStartTimeNil(b bool)` + + SetLastStartTimeNil sets the value for LastStartTime to be an explicit nil + +### UnsetLastStartTime +`func (o *Command) UnsetLastStartTime()` + +UnsetLastStartTime ensures that no value is present for LastStartTime, not even an explicit nil +### GetTrigger + +`func (o *Command) GetTrigger() CommandTrigger` + +GetTrigger returns the Trigger field if non-nil, zero value otherwise. + +### GetTriggerOk + +`func (o *Command) GetTriggerOk() (*CommandTrigger, bool)` + +GetTriggerOk returns a tuple with the Trigger field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrigger + +`func (o *Command) SetTrigger(v CommandTrigger)` + +SetTrigger sets Trigger field to given value. + +### HasTrigger + +`func (o *Command) HasTrigger() bool` + +HasTrigger returns a boolean if a field has been set. + +### GetSuppressMessages + +`func (o *Command) GetSuppressMessages() bool` + +GetSuppressMessages returns the SuppressMessages field if non-nil, zero value otherwise. + +### GetSuppressMessagesOk + +`func (o *Command) GetSuppressMessagesOk() (*bool, bool)` + +GetSuppressMessagesOk returns a tuple with the SuppressMessages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSuppressMessages + +`func (o *Command) SetSuppressMessages(v bool)` + +SetSuppressMessages sets SuppressMessages field to given value. + +### HasSuppressMessages + +`func (o *Command) HasSuppressMessages() bool` + +HasSuppressMessages returns a boolean if a field has been set. + +### GetClientUserAgent + +`func (o *Command) GetClientUserAgent() string` + +GetClientUserAgent returns the ClientUserAgent field if non-nil, zero value otherwise. + +### GetClientUserAgentOk + +`func (o *Command) GetClientUserAgentOk() (*string, bool)` + +GetClientUserAgentOk returns a tuple with the ClientUserAgent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClientUserAgent + +`func (o *Command) SetClientUserAgent(v string)` + +SetClientUserAgent sets ClientUserAgent field to given value. + +### HasClientUserAgent + +`func (o *Command) HasClientUserAgent() bool` + +HasClientUserAgent returns a boolean if a field has been set. + +### SetClientUserAgentNil + +`func (o *Command) SetClientUserAgentNil(b bool)` + + SetClientUserAgentNil sets the value for ClientUserAgent to be an explicit nil + +### UnsetClientUserAgent +`func (o *Command) UnsetClientUserAgent()` + +UnsetClientUserAgent ensures that no value is present for ClientUserAgent, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CommandApi.md b/lidarr/docs/CommandApi.md new file mode 100644 index 0000000..b80cf29 --- /dev/null +++ b/lidarr/docs/CommandApi.md @@ -0,0 +1,269 @@ +# \CommandApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Command**](CommandApi.md#CreateApiV1Command) | **Post** /api/v1/command | +[**DeleteApiV1Command**](CommandApi.md#DeleteApiV1Command) | **Delete** /api/v1/command/{id} | +[**GetApiV1CommandById**](CommandApi.md#GetApiV1CommandById) | **Get** /api/v1/command/{id} | +[**ListApiV1Command**](CommandApi.md#ListApiV1Command) | **Get** /api/v1/command | + + + +## CreateApiV1Command + +> CommandResource CreateApiV1Command(ctx).CommandResource(commandResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + commandResource := *lidarrClient.NewCommandResource() // CommandResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CommandApi.CreateApiV1Command(context.Background()).CommandResource(commandResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.CreateApiV1Command``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Command`: CommandResource + fmt.Fprintf(os.Stdout, "Response from `CommandApi.CreateApiV1Command`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1CommandRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **commandResource** | [**CommandResource**](CommandResource.md) | | + +### Return type + +[**CommandResource**](CommandResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Command + +> DeleteApiV1Command(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CommandApi.DeleteApiV1Command(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.DeleteApiV1Command``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1CommandRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1CommandById + +> CommandResource GetApiV1CommandById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CommandApi.GetApiV1CommandById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.GetApiV1CommandById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1CommandById`: CommandResource + fmt.Fprintf(os.Stdout, "Response from `CommandApi.GetApiV1CommandById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1CommandByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**CommandResource**](CommandResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Command + +> []CommandResource ListApiV1Command(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CommandApi.ListApiV1Command(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CommandApi.ListApiV1Command``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Command`: []CommandResource + fmt.Fprintf(os.Stdout, "Response from `CommandApi.ListApiV1Command`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1CommandRequest struct via the builder pattern + + +### Return type + +[**[]CommandResource**](CommandResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/CommandPriority.md b/lidarr/docs/CommandPriority.md new file mode 100644 index 0000000..1687ba4 --- /dev/null +++ b/lidarr/docs/CommandPriority.md @@ -0,0 +1,15 @@ +# CommandPriority + +## Enum + + +* `NORMAL` (value: `"normal"`) + +* `HIGH` (value: `"high"`) + +* `LOW` (value: `"low"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CommandResource.md b/lidarr/docs/CommandResource.md new file mode 100644 index 0000000..903540c --- /dev/null +++ b/lidarr/docs/CommandResource.md @@ -0,0 +1,588 @@ +# CommandResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**CommandName** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to **NullableString** | | [optional] +**Body** | Pointer to [**Command**](Command.md) | | [optional] +**Priority** | Pointer to [**CommandPriority**](CommandPriority.md) | | [optional] +**Status** | Pointer to [**CommandStatus**](CommandStatus.md) | | [optional] +**Queued** | Pointer to **time.Time** | | [optional] +**Started** | Pointer to **NullableTime** | | [optional] +**Ended** | Pointer to **NullableTime** | | [optional] +**Duration** | Pointer to [**TimeSpan**](TimeSpan.md) | | [optional] +**Exception** | Pointer to **NullableString** | | [optional] +**Trigger** | Pointer to [**CommandTrigger**](CommandTrigger.md) | | [optional] +**ClientUserAgent** | Pointer to **NullableString** | | [optional] +**StateChangeTime** | Pointer to **NullableTime** | | [optional] +**SendUpdatesToClient** | Pointer to **bool** | | [optional] +**UpdateScheduledTask** | Pointer to **bool** | | [optional] +**LastExecutionTime** | Pointer to **NullableTime** | | [optional] + +## Methods + +### NewCommandResource + +`func NewCommandResource() *CommandResource` + +NewCommandResource instantiates a new CommandResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCommandResourceWithDefaults + +`func NewCommandResourceWithDefaults() *CommandResource` + +NewCommandResourceWithDefaults instantiates a new CommandResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *CommandResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CommandResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CommandResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *CommandResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *CommandResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *CommandResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *CommandResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *CommandResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *CommandResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *CommandResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetCommandName + +`func (o *CommandResource) GetCommandName() string` + +GetCommandName returns the CommandName field if non-nil, zero value otherwise. + +### GetCommandNameOk + +`func (o *CommandResource) GetCommandNameOk() (*string, bool)` + +GetCommandNameOk returns a tuple with the CommandName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommandName + +`func (o *CommandResource) SetCommandName(v string)` + +SetCommandName sets CommandName field to given value. + +### HasCommandName + +`func (o *CommandResource) HasCommandName() bool` + +HasCommandName returns a boolean if a field has been set. + +### SetCommandNameNil + +`func (o *CommandResource) SetCommandNameNil(b bool)` + + SetCommandNameNil sets the value for CommandName to be an explicit nil + +### UnsetCommandName +`func (o *CommandResource) UnsetCommandName()` + +UnsetCommandName ensures that no value is present for CommandName, not even an explicit nil +### GetMessage + +`func (o *CommandResource) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *CommandResource) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *CommandResource) SetMessage(v string)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *CommandResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### SetMessageNil + +`func (o *CommandResource) SetMessageNil(b bool)` + + SetMessageNil sets the value for Message to be an explicit nil + +### UnsetMessage +`func (o *CommandResource) UnsetMessage()` + +UnsetMessage ensures that no value is present for Message, not even an explicit nil +### GetBody + +`func (o *CommandResource) GetBody() Command` + +GetBody returns the Body field if non-nil, zero value otherwise. + +### GetBodyOk + +`func (o *CommandResource) GetBodyOk() (*Command, bool)` + +GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBody + +`func (o *CommandResource) SetBody(v Command)` + +SetBody sets Body field to given value. + +### HasBody + +`func (o *CommandResource) HasBody() bool` + +HasBody returns a boolean if a field has been set. + +### GetPriority + +`func (o *CommandResource) GetPriority() CommandPriority` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *CommandResource) GetPriorityOk() (*CommandPriority, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *CommandResource) SetPriority(v CommandPriority)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *CommandResource) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetStatus + +`func (o *CommandResource) GetStatus() CommandStatus` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CommandResource) GetStatusOk() (*CommandStatus, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CommandResource) SetStatus(v CommandStatus)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *CommandResource) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetQueued + +`func (o *CommandResource) GetQueued() time.Time` + +GetQueued returns the Queued field if non-nil, zero value otherwise. + +### GetQueuedOk + +`func (o *CommandResource) GetQueuedOk() (*time.Time, bool)` + +GetQueuedOk returns a tuple with the Queued field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQueued + +`func (o *CommandResource) SetQueued(v time.Time)` + +SetQueued sets Queued field to given value. + +### HasQueued + +`func (o *CommandResource) HasQueued() bool` + +HasQueued returns a boolean if a field has been set. + +### GetStarted + +`func (o *CommandResource) GetStarted() time.Time` + +GetStarted returns the Started field if non-nil, zero value otherwise. + +### GetStartedOk + +`func (o *CommandResource) GetStartedOk() (*time.Time, bool)` + +GetStartedOk returns a tuple with the Started field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStarted + +`func (o *CommandResource) SetStarted(v time.Time)` + +SetStarted sets Started field to given value. + +### HasStarted + +`func (o *CommandResource) HasStarted() bool` + +HasStarted returns a boolean if a field has been set. + +### SetStartedNil + +`func (o *CommandResource) SetStartedNil(b bool)` + + SetStartedNil sets the value for Started to be an explicit nil + +### UnsetStarted +`func (o *CommandResource) UnsetStarted()` + +UnsetStarted ensures that no value is present for Started, not even an explicit nil +### GetEnded + +`func (o *CommandResource) GetEnded() time.Time` + +GetEnded returns the Ended field if non-nil, zero value otherwise. + +### GetEndedOk + +`func (o *CommandResource) GetEndedOk() (*time.Time, bool)` + +GetEndedOk returns a tuple with the Ended field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnded + +`func (o *CommandResource) SetEnded(v time.Time)` + +SetEnded sets Ended field to given value. + +### HasEnded + +`func (o *CommandResource) HasEnded() bool` + +HasEnded returns a boolean if a field has been set. + +### SetEndedNil + +`func (o *CommandResource) SetEndedNil(b bool)` + + SetEndedNil sets the value for Ended to be an explicit nil + +### UnsetEnded +`func (o *CommandResource) UnsetEnded()` + +UnsetEnded ensures that no value is present for Ended, not even an explicit nil +### GetDuration + +`func (o *CommandResource) GetDuration() TimeSpan` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *CommandResource) GetDurationOk() (*TimeSpan, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *CommandResource) SetDuration(v TimeSpan)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *CommandResource) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetException + +`func (o *CommandResource) GetException() string` + +GetException returns the Exception field if non-nil, zero value otherwise. + +### GetExceptionOk + +`func (o *CommandResource) GetExceptionOk() (*string, bool)` + +GetExceptionOk returns a tuple with the Exception field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetException + +`func (o *CommandResource) SetException(v string)` + +SetException sets Exception field to given value. + +### HasException + +`func (o *CommandResource) HasException() bool` + +HasException returns a boolean if a field has been set. + +### SetExceptionNil + +`func (o *CommandResource) SetExceptionNil(b bool)` + + SetExceptionNil sets the value for Exception to be an explicit nil + +### UnsetException +`func (o *CommandResource) UnsetException()` + +UnsetException ensures that no value is present for Exception, not even an explicit nil +### GetTrigger + +`func (o *CommandResource) GetTrigger() CommandTrigger` + +GetTrigger returns the Trigger field if non-nil, zero value otherwise. + +### GetTriggerOk + +`func (o *CommandResource) GetTriggerOk() (*CommandTrigger, bool)` + +GetTriggerOk returns a tuple with the Trigger field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrigger + +`func (o *CommandResource) SetTrigger(v CommandTrigger)` + +SetTrigger sets Trigger field to given value. + +### HasTrigger + +`func (o *CommandResource) HasTrigger() bool` + +HasTrigger returns a boolean if a field has been set. + +### GetClientUserAgent + +`func (o *CommandResource) GetClientUserAgent() string` + +GetClientUserAgent returns the ClientUserAgent field if non-nil, zero value otherwise. + +### GetClientUserAgentOk + +`func (o *CommandResource) GetClientUserAgentOk() (*string, bool)` + +GetClientUserAgentOk returns a tuple with the ClientUserAgent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClientUserAgent + +`func (o *CommandResource) SetClientUserAgent(v string)` + +SetClientUserAgent sets ClientUserAgent field to given value. + +### HasClientUserAgent + +`func (o *CommandResource) HasClientUserAgent() bool` + +HasClientUserAgent returns a boolean if a field has been set. + +### SetClientUserAgentNil + +`func (o *CommandResource) SetClientUserAgentNil(b bool)` + + SetClientUserAgentNil sets the value for ClientUserAgent to be an explicit nil + +### UnsetClientUserAgent +`func (o *CommandResource) UnsetClientUserAgent()` + +UnsetClientUserAgent ensures that no value is present for ClientUserAgent, not even an explicit nil +### GetStateChangeTime + +`func (o *CommandResource) GetStateChangeTime() time.Time` + +GetStateChangeTime returns the StateChangeTime field if non-nil, zero value otherwise. + +### GetStateChangeTimeOk + +`func (o *CommandResource) GetStateChangeTimeOk() (*time.Time, bool)` + +GetStateChangeTimeOk returns a tuple with the StateChangeTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStateChangeTime + +`func (o *CommandResource) SetStateChangeTime(v time.Time)` + +SetStateChangeTime sets StateChangeTime field to given value. + +### HasStateChangeTime + +`func (o *CommandResource) HasStateChangeTime() bool` + +HasStateChangeTime returns a boolean if a field has been set. + +### SetStateChangeTimeNil + +`func (o *CommandResource) SetStateChangeTimeNil(b bool)` + + SetStateChangeTimeNil sets the value for StateChangeTime to be an explicit nil + +### UnsetStateChangeTime +`func (o *CommandResource) UnsetStateChangeTime()` + +UnsetStateChangeTime ensures that no value is present for StateChangeTime, not even an explicit nil +### GetSendUpdatesToClient + +`func (o *CommandResource) GetSendUpdatesToClient() bool` + +GetSendUpdatesToClient returns the SendUpdatesToClient field if non-nil, zero value otherwise. + +### GetSendUpdatesToClientOk + +`func (o *CommandResource) GetSendUpdatesToClientOk() (*bool, bool)` + +GetSendUpdatesToClientOk returns a tuple with the SendUpdatesToClient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSendUpdatesToClient + +`func (o *CommandResource) SetSendUpdatesToClient(v bool)` + +SetSendUpdatesToClient sets SendUpdatesToClient field to given value. + +### HasSendUpdatesToClient + +`func (o *CommandResource) HasSendUpdatesToClient() bool` + +HasSendUpdatesToClient returns a boolean if a field has been set. + +### GetUpdateScheduledTask + +`func (o *CommandResource) GetUpdateScheduledTask() bool` + +GetUpdateScheduledTask returns the UpdateScheduledTask field if non-nil, zero value otherwise. + +### GetUpdateScheduledTaskOk + +`func (o *CommandResource) GetUpdateScheduledTaskOk() (*bool, bool)` + +GetUpdateScheduledTaskOk returns a tuple with the UpdateScheduledTask field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateScheduledTask + +`func (o *CommandResource) SetUpdateScheduledTask(v bool)` + +SetUpdateScheduledTask sets UpdateScheduledTask field to given value. + +### HasUpdateScheduledTask + +`func (o *CommandResource) HasUpdateScheduledTask() bool` + +HasUpdateScheduledTask returns a boolean if a field has been set. + +### GetLastExecutionTime + +`func (o *CommandResource) GetLastExecutionTime() time.Time` + +GetLastExecutionTime returns the LastExecutionTime field if non-nil, zero value otherwise. + +### GetLastExecutionTimeOk + +`func (o *CommandResource) GetLastExecutionTimeOk() (*time.Time, bool)` + +GetLastExecutionTimeOk returns a tuple with the LastExecutionTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastExecutionTime + +`func (o *CommandResource) SetLastExecutionTime(v time.Time)` + +SetLastExecutionTime sets LastExecutionTime field to given value. + +### HasLastExecutionTime + +`func (o *CommandResource) HasLastExecutionTime() bool` + +HasLastExecutionTime returns a boolean if a field has been set. + +### SetLastExecutionTimeNil + +`func (o *CommandResource) SetLastExecutionTimeNil(b bool)` + + SetLastExecutionTimeNil sets the value for LastExecutionTime to be an explicit nil + +### UnsetLastExecutionTime +`func (o *CommandResource) UnsetLastExecutionTime()` + +UnsetLastExecutionTime ensures that no value is present for LastExecutionTime, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CommandStatus.md b/lidarr/docs/CommandStatus.md new file mode 100644 index 0000000..11ea1f5 --- /dev/null +++ b/lidarr/docs/CommandStatus.md @@ -0,0 +1,23 @@ +# CommandStatus + +## Enum + + +* `QUEUED` (value: `"queued"`) + +* `STARTED` (value: `"started"`) + +* `COMPLETED` (value: `"completed"`) + +* `FAILED` (value: `"failed"`) + +* `ABORTED` (value: `"aborted"`) + +* `CANCELLED` (value: `"cancelled"`) + +* `ORPHANED` (value: `"orphaned"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CommandTrigger.md b/lidarr/docs/CommandTrigger.md new file mode 100644 index 0000000..288238d --- /dev/null +++ b/lidarr/docs/CommandTrigger.md @@ -0,0 +1,15 @@ +# CommandTrigger + +## Enum + + +* `UNSPECIFIED` (value: `"unspecified"`) + +* `MANUAL` (value: `"manual"`) + +* `SCHEDULED` (value: `"scheduled"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CustomFilterApi.md b/lidarr/docs/CustomFilterApi.md new file mode 100644 index 0000000..a6bbf58 --- /dev/null +++ b/lidarr/docs/CustomFilterApi.md @@ -0,0 +1,340 @@ +# \CustomFilterApi + +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 + +> CustomFilterResource CreateApiV1Customfilter(ctx).CustomFilterResource(customFilterResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + customFilterResource := *lidarrClient.NewCustomFilterResource() // CustomFilterResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Customfilter`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.CreateApiV1Customfilter`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1CustomfilterRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customFilterResource** | [**CustomFilterResource**](CustomFilterResource.md) | | + +### Return type + +[**CustomFilterResource**](CustomFilterResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Customfilter + +> DeleteApiV1Customfilter(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1CustomfilterRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1CustomfilterById + +> CustomFilterResource GetApiV1CustomfilterById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1CustomfilterById`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.GetApiV1CustomfilterById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1CustomfilterByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**CustomFilterResource**](CustomFilterResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Customfilter + +> []CustomFilterResource ListApiV1Customfilter(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Customfilter`: []CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.ListApiV1Customfilter`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1CustomfilterRequest struct via the builder pattern + + +### Return type + +[**[]CustomFilterResource**](CustomFilterResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Customfilter + +> CustomFilterResource UpdateApiV1Customfilter(ctx, id).CustomFilterResource(customFilterResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + customFilterResource := *lidarrClient.NewCustomFilterResource() // CustomFilterResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Customfilter`: CustomFilterResource + fmt.Fprintf(os.Stdout, "Response from `CustomFilterApi.UpdateApiV1Customfilter`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1CustomfilterRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **customFilterResource** | [**CustomFilterResource**](CustomFilterResource.md) | | + +### Return type + +[**CustomFilterResource**](CustomFilterResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/CustomFilterResource.md b/lidarr/docs/CustomFilterResource.md new file mode 100644 index 0000000..668c028 --- /dev/null +++ b/lidarr/docs/CustomFilterResource.md @@ -0,0 +1,164 @@ +# CustomFilterResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Type** | Pointer to **NullableString** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] +**Filters** | Pointer to **[]map[string]interface{}** | | [optional] + +## Methods + +### NewCustomFilterResource + +`func NewCustomFilterResource() *CustomFilterResource` + +NewCustomFilterResource instantiates a new CustomFilterResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewCustomFilterResourceWithDefaults + +`func NewCustomFilterResourceWithDefaults() *CustomFilterResource` + +NewCustomFilterResourceWithDefaults instantiates a new CustomFilterResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *CustomFilterResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *CustomFilterResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *CustomFilterResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *CustomFilterResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetType + +`func (o *CustomFilterResource) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *CustomFilterResource) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *CustomFilterResource) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *CustomFilterResource) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *CustomFilterResource) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *CustomFilterResource) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetLabel + +`func (o *CustomFilterResource) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *CustomFilterResource) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *CustomFilterResource) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *CustomFilterResource) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *CustomFilterResource) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *CustomFilterResource) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetFilters + +`func (o *CustomFilterResource) GetFilters() []map[string]interface{}` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *CustomFilterResource) GetFiltersOk() (*[]map[string]interface{}, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *CustomFilterResource) SetFilters(v []map[string]interface{})` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *CustomFilterResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *CustomFilterResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *CustomFilterResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/CutoffApi.md b/lidarr/docs/CutoffApi.md new file mode 100644 index 0000000..8dd3826 --- /dev/null +++ b/lidarr/docs/CutoffApi.md @@ -0,0 +1,142 @@ +# \CutoffApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1WantedCutoff**](CutoffApi.md#GetApiV1WantedCutoff) | **Get** /api/v1/wanted/cutoff | +[**GetApiV1WantedCutoffById**](CutoffApi.md#GetApiV1WantedCutoffById) | **Get** /api/v1/wanted/cutoff/{id} | + + + +## GetApiV1WantedCutoff + +> AlbumResourcePagingResource GetApiV1WantedCutoff(ctx).IncludeArtist(includeArtist).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + includeArtist := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CutoffApi.GetApiV1WantedCutoff(context.Background()).IncludeArtist(includeArtist).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CutoffApi.GetApiV1WantedCutoff``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1WantedCutoff`: AlbumResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `CutoffApi.GetApiV1WantedCutoff`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1WantedCutoffRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **includeArtist** | **bool** | | [default to false] + +### Return type + +[**AlbumResourcePagingResource**](AlbumResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1WantedCutoffById + +> AlbumResource GetApiV1WantedCutoffById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.CutoffApi.GetApiV1WantedCutoffById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `CutoffApi.GetApiV1WantedCutoffById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1WantedCutoffById`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `CutoffApi.GetApiV1WantedCutoffById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1WantedCutoffByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/DelayProfileApi.md b/lidarr/docs/DelayProfileApi.md new file mode 100644 index 0000000..ed2f7c1 --- /dev/null +++ b/lidarr/docs/DelayProfileApi.md @@ -0,0 +1,409 @@ +# \DelayProfileApi + +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 + +> DelayProfileResource CreateApiV1Delayprofile(ctx).DelayProfileResource(delayProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + delayProfileResource := *lidarrClient.NewDelayProfileResource() // DelayProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Delayprofile`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.CreateApiV1Delayprofile`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1DelayprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **delayProfileResource** | [**DelayProfileResource**](DelayProfileResource.md) | | + +### Return type + +[**DelayProfileResource**](DelayProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Delayprofile + +> DeleteApiV1Delayprofile(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1DelayprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1DelayprofileById + +> DelayProfileResource GetApiV1DelayprofileById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1DelayprofileById`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.GetApiV1DelayprofileById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1DelayprofileByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**DelayProfileResource**](DelayProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Delayprofile + +> []DelayProfileResource ListApiV1Delayprofile(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Delayprofile`: []DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.ListApiV1Delayprofile`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1DelayprofileRequest struct via the builder pattern + + +### Return type + +[**[]DelayProfileResource**](DelayProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Delayprofile + +> DelayProfileResource UpdateApiV1Delayprofile(ctx, id).DelayProfileResource(delayProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + delayProfileResource := *lidarrClient.NewDelayProfileResource() // DelayProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Delayprofile`: DelayProfileResource + fmt.Fprintf(os.Stdout, "Response from `DelayProfileApi.UpdateApiV1Delayprofile`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1DelayprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **delayProfileResource** | [**DelayProfileResource**](DelayProfileResource.md) | | + +### Return type + +[**DelayProfileResource**](DelayProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1DelayprofileReorder + +> UpdateApiV1DelayprofileReorder(ctx, id).AfterId(afterId).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + afterId := int32(56) // int32 | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1DelayprofileReorderRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **afterId** | **int32** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/DelayProfileResource.md b/lidarr/docs/DelayProfileResource.md new file mode 100644 index 0000000..88fa51b --- /dev/null +++ b/lidarr/docs/DelayProfileResource.md @@ -0,0 +1,248 @@ +# DelayProfileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**EnableUsenet** | Pointer to **bool** | | [optional] +**EnableTorrent** | Pointer to **bool** | | [optional] +**PreferredProtocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**UsenetDelay** | Pointer to **int32** | | [optional] +**TorrentDelay** | Pointer to **int32** | | [optional] +**Order** | Pointer to **int32** | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewDelayProfileResource + +`func NewDelayProfileResource() *DelayProfileResource` + +NewDelayProfileResource instantiates a new DelayProfileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDelayProfileResourceWithDefaults + +`func NewDelayProfileResourceWithDefaults() *DelayProfileResource` + +NewDelayProfileResourceWithDefaults instantiates a new DelayProfileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *DelayProfileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *DelayProfileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *DelayProfileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *DelayProfileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetEnableUsenet + +`func (o *DelayProfileResource) GetEnableUsenet() bool` + +GetEnableUsenet returns the EnableUsenet field if non-nil, zero value otherwise. + +### GetEnableUsenetOk + +`func (o *DelayProfileResource) GetEnableUsenetOk() (*bool, bool)` + +GetEnableUsenetOk returns a tuple with the EnableUsenet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableUsenet + +`func (o *DelayProfileResource) SetEnableUsenet(v bool)` + +SetEnableUsenet sets EnableUsenet field to given value. + +### HasEnableUsenet + +`func (o *DelayProfileResource) HasEnableUsenet() bool` + +HasEnableUsenet returns a boolean if a field has been set. + +### GetEnableTorrent + +`func (o *DelayProfileResource) GetEnableTorrent() bool` + +GetEnableTorrent returns the EnableTorrent field if non-nil, zero value otherwise. + +### GetEnableTorrentOk + +`func (o *DelayProfileResource) GetEnableTorrentOk() (*bool, bool)` + +GetEnableTorrentOk returns a tuple with the EnableTorrent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableTorrent + +`func (o *DelayProfileResource) SetEnableTorrent(v bool)` + +SetEnableTorrent sets EnableTorrent field to given value. + +### HasEnableTorrent + +`func (o *DelayProfileResource) HasEnableTorrent() bool` + +HasEnableTorrent returns a boolean if a field has been set. + +### GetPreferredProtocol + +`func (o *DelayProfileResource) GetPreferredProtocol() DownloadProtocol` + +GetPreferredProtocol returns the PreferredProtocol field if non-nil, zero value otherwise. + +### GetPreferredProtocolOk + +`func (o *DelayProfileResource) GetPreferredProtocolOk() (*DownloadProtocol, bool)` + +GetPreferredProtocolOk returns a tuple with the PreferredProtocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreferredProtocol + +`func (o *DelayProfileResource) SetPreferredProtocol(v DownloadProtocol)` + +SetPreferredProtocol sets PreferredProtocol field to given value. + +### HasPreferredProtocol + +`func (o *DelayProfileResource) HasPreferredProtocol() bool` + +HasPreferredProtocol returns a boolean if a field has been set. + +### GetUsenetDelay + +`func (o *DelayProfileResource) GetUsenetDelay() int32` + +GetUsenetDelay returns the UsenetDelay field if non-nil, zero value otherwise. + +### GetUsenetDelayOk + +`func (o *DelayProfileResource) GetUsenetDelayOk() (*int32, bool)` + +GetUsenetDelayOk returns a tuple with the UsenetDelay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsenetDelay + +`func (o *DelayProfileResource) SetUsenetDelay(v int32)` + +SetUsenetDelay sets UsenetDelay field to given value. + +### HasUsenetDelay + +`func (o *DelayProfileResource) HasUsenetDelay() bool` + +HasUsenetDelay returns a boolean if a field has been set. + +### GetTorrentDelay + +`func (o *DelayProfileResource) GetTorrentDelay() int32` + +GetTorrentDelay returns the TorrentDelay field if non-nil, zero value otherwise. + +### GetTorrentDelayOk + +`func (o *DelayProfileResource) GetTorrentDelayOk() (*int32, bool)` + +GetTorrentDelayOk returns a tuple with the TorrentDelay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTorrentDelay + +`func (o *DelayProfileResource) SetTorrentDelay(v int32)` + +SetTorrentDelay sets TorrentDelay field to given value. + +### HasTorrentDelay + +`func (o *DelayProfileResource) HasTorrentDelay() bool` + +HasTorrentDelay returns a boolean if a field has been set. + +### GetOrder + +`func (o *DelayProfileResource) GetOrder() int32` + +GetOrder returns the Order field if non-nil, zero value otherwise. + +### GetOrderOk + +`func (o *DelayProfileResource) GetOrderOk() (*int32, bool)` + +GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrder + +`func (o *DelayProfileResource) SetOrder(v int32)` + +SetOrder sets Order field to given value. + +### HasOrder + +`func (o *DelayProfileResource) HasOrder() bool` + +HasOrder returns a boolean if a field has been set. + +### GetTags + +`func (o *DelayProfileResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DelayProfileResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *DelayProfileResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DelayProfileResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *DelayProfileResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *DelayProfileResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/DiskSpaceApi.md b/lidarr/docs/DiskSpaceApi.md new file mode 100644 index 0000000..b25bbdc --- /dev/null +++ b/lidarr/docs/DiskSpaceApi.md @@ -0,0 +1,68 @@ +# \DiskSpaceApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ListApiV1Diskspace**](DiskSpaceApi.md#ListApiV1Diskspace) | **Get** /api/v1/diskspace | + + + +## ListApiV1Diskspace + +> []DiskSpaceResource ListApiV1Diskspace(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Diskspace`: []DiskSpaceResource + fmt.Fprintf(os.Stdout, "Response from `DiskSpaceApi.ListApiV1Diskspace`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1DiskspaceRequest struct via the builder pattern + + +### Return type + +[**[]DiskSpaceResource**](DiskSpaceResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/DiskSpaceResource.md b/lidarr/docs/DiskSpaceResource.md new file mode 100644 index 0000000..41683b9 --- /dev/null +++ b/lidarr/docs/DiskSpaceResource.md @@ -0,0 +1,180 @@ +# DiskSpaceResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] +**FreeSpace** | Pointer to **int64** | | [optional] +**TotalSpace** | Pointer to **int64** | | [optional] + +## Methods + +### NewDiskSpaceResource + +`func NewDiskSpaceResource() *DiskSpaceResource` + +NewDiskSpaceResource instantiates a new DiskSpaceResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDiskSpaceResourceWithDefaults + +`func NewDiskSpaceResourceWithDefaults() *DiskSpaceResource` + +NewDiskSpaceResourceWithDefaults instantiates a new DiskSpaceResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *DiskSpaceResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *DiskSpaceResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *DiskSpaceResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *DiskSpaceResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetPath + +`func (o *DiskSpaceResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *DiskSpaceResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *DiskSpaceResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *DiskSpaceResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *DiskSpaceResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *DiskSpaceResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetLabel + +`func (o *DiskSpaceResource) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *DiskSpaceResource) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *DiskSpaceResource) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *DiskSpaceResource) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *DiskSpaceResource) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *DiskSpaceResource) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetFreeSpace + +`func (o *DiskSpaceResource) GetFreeSpace() int64` + +GetFreeSpace returns the FreeSpace field if non-nil, zero value otherwise. + +### GetFreeSpaceOk + +`func (o *DiskSpaceResource) GetFreeSpaceOk() (*int64, bool)` + +GetFreeSpaceOk returns a tuple with the FreeSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreeSpace + +`func (o *DiskSpaceResource) SetFreeSpace(v int64)` + +SetFreeSpace sets FreeSpace field to given value. + +### HasFreeSpace + +`func (o *DiskSpaceResource) HasFreeSpace() bool` + +HasFreeSpace returns a boolean if a field has been set. + +### GetTotalSpace + +`func (o *DiskSpaceResource) GetTotalSpace() int64` + +GetTotalSpace returns the TotalSpace field if non-nil, zero value otherwise. + +### GetTotalSpaceOk + +`func (o *DiskSpaceResource) GetTotalSpaceOk() (*int64, bool)` + +GetTotalSpaceOk returns a tuple with the TotalSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalSpace + +`func (o *DiskSpaceResource) SetTotalSpace(v int64)` + +SetTotalSpace sets TotalSpace field to given value. + +### HasTotalSpace + +`func (o *DiskSpaceResource) HasTotalSpace() bool` + +HasTotalSpace returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/DownloadClientApi.md b/lidarr/docs/DownloadClientApi.md new file mode 100644 index 0000000..ad39141 --- /dev/null +++ b/lidarr/docs/DownloadClientApi.md @@ -0,0 +1,590 @@ +# \DownloadClientApi + +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 + +> DownloadClientResource CreateApiV1Downloadclient(ctx).DownloadClientResource(downloadClientResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + downloadClientResource := *lidarrClient.NewDownloadClientResource() // DownloadClientResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Downloadclient`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.CreateApiV1Downloadclient`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1DownloadclientRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **downloadClientResource** | [**DownloadClientResource**](DownloadClientResource.md) | | + +### Return type + +[**DownloadClientResource**](DownloadClientResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1DownloadclientActionByName + +> CreateApiV1DownloadclientActionByName(ctx, name).DownloadClientResource(downloadClientResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + name := "name_example" // string | + downloadClientResource := *lidarrClient.NewDownloadClientResource() // DownloadClientResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**name** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1DownloadclientActionByNameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **downloadClientResource** | [**DownloadClientResource**](DownloadClientResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Downloadclient + +> DeleteApiV1Downloadclient(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1DownloadclientRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1DownloadclientById + +> DownloadClientResource GetApiV1DownloadclientById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1DownloadclientById`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.GetApiV1DownloadclientById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1DownloadclientByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**DownloadClientResource**](DownloadClientResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Downloadclient + +> []DownloadClientResource ListApiV1Downloadclient(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Downloadclient`: []DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1Downloadclient`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1DownloadclientRequest struct via the builder pattern + + +### Return type + +[**[]DownloadClientResource**](DownloadClientResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1DownloadclientSchema + +> []DownloadClientResource ListApiV1DownloadclientSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1DownloadclientSchema`: []DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.ListApiV1DownloadclientSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1DownloadclientSchemaRequest struct via the builder pattern + + +### Return type + +[**[]DownloadClientResource**](DownloadClientResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestApiV1Downloadclient + +> TestApiV1Downloadclient(ctx).DownloadClientResource(downloadClientResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + downloadClientResource := *lidarrClient.NewDownloadClientResource() // DownloadClientResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestApiV1DownloadclientRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **downloadClientResource** | [**DownloadClientResource**](DownloadClientResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestallApiV1Downloadclient + +> TestallApiV1Downloadclient(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestallApiV1DownloadclientRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Downloadclient + +> DownloadClientResource UpdateApiV1Downloadclient(ctx, id).DownloadClientResource(downloadClientResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + downloadClientResource := *lidarrClient.NewDownloadClientResource() // DownloadClientResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Downloadclient`: DownloadClientResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientApi.UpdateApiV1Downloadclient`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1DownloadclientRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **downloadClientResource** | [**DownloadClientResource**](DownloadClientResource.md) | | + +### Return type + +[**DownloadClientResource**](DownloadClientResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/DownloadClientConfigApi.md b/lidarr/docs/DownloadClientConfigApi.md new file mode 100644 index 0000000..72d6571 --- /dev/null +++ b/lidarr/docs/DownloadClientConfigApi.md @@ -0,0 +1,208 @@ +# \DownloadClientConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigDownloadclient**](DownloadClientConfigApi.md#GetApiV1ConfigDownloadclient) | **Get** /api/v1/config/downloadclient | +[**GetApiV1ConfigDownloadclientById**](DownloadClientConfigApi.md#GetApiV1ConfigDownloadclientById) | **Get** /api/v1/config/downloadclient/{id} | +[**UpdateApiV1ConfigDownloadclient**](DownloadClientConfigApi.md#UpdateApiV1ConfigDownloadclient) | **Put** /api/v1/config/downloadclient/{id} | + + + +## GetApiV1ConfigDownloadclient + +> DownloadClientConfigResource GetApiV1ConfigDownloadclient(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.DownloadClientConfigApi.GetApiV1ConfigDownloadclient(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.GetApiV1ConfigDownloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigDownloadclient`: DownloadClientConfigResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.GetApiV1ConfigDownloadclient`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigDownloadclientRequest struct via the builder pattern + + +### Return type + +[**DownloadClientConfigResource**](DownloadClientConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigDownloadclientById + +> DownloadClientConfigResource GetApiV1ConfigDownloadclientById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.DownloadClientConfigApi.GetApiV1ConfigDownloadclientById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.GetApiV1ConfigDownloadclientById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigDownloadclientById`: DownloadClientConfigResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.GetApiV1ConfigDownloadclientById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigDownloadclientByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**DownloadClientConfigResource**](DownloadClientConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigDownloadclient + +> DownloadClientConfigResource UpdateApiV1ConfigDownloadclient(ctx, id).DownloadClientConfigResource(downloadClientConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + downloadClientConfigResource := *lidarrClient.NewDownloadClientConfigResource() // DownloadClientConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.DownloadClientConfigApi.UpdateApiV1ConfigDownloadclient(context.Background(), id).DownloadClientConfigResource(downloadClientConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DownloadClientConfigApi.UpdateApiV1ConfigDownloadclient``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigDownloadclient`: DownloadClientConfigResource + fmt.Fprintf(os.Stdout, "Response from `DownloadClientConfigApi.UpdateApiV1ConfigDownloadclient`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigDownloadclientRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **downloadClientConfigResource** | [**DownloadClientConfigResource**](DownloadClientConfigResource.md) | | + +### Return type + +[**DownloadClientConfigResource**](DownloadClientConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/DownloadClientConfigResource.md b/lidarr/docs/DownloadClientConfigResource.md new file mode 100644 index 0000000..469dc8b --- /dev/null +++ b/lidarr/docs/DownloadClientConfigResource.md @@ -0,0 +1,144 @@ +# DownloadClientConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**DownloadClientWorkingFolders** | Pointer to **NullableString** | | [optional] +**EnableCompletedDownloadHandling** | Pointer to **bool** | | [optional] +**AutoRedownloadFailed** | Pointer to **bool** | | [optional] + +## Methods + +### NewDownloadClientConfigResource + +`func NewDownloadClientConfigResource() *DownloadClientConfigResource` + +NewDownloadClientConfigResource instantiates a new DownloadClientConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDownloadClientConfigResourceWithDefaults + +`func NewDownloadClientConfigResourceWithDefaults() *DownloadClientConfigResource` + +NewDownloadClientConfigResourceWithDefaults instantiates a new DownloadClientConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *DownloadClientConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *DownloadClientConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *DownloadClientConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *DownloadClientConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetDownloadClientWorkingFolders + +`func (o *DownloadClientConfigResource) GetDownloadClientWorkingFolders() string` + +GetDownloadClientWorkingFolders returns the DownloadClientWorkingFolders field if non-nil, zero value otherwise. + +### GetDownloadClientWorkingFoldersOk + +`func (o *DownloadClientConfigResource) GetDownloadClientWorkingFoldersOk() (*string, bool)` + +GetDownloadClientWorkingFoldersOk returns a tuple with the DownloadClientWorkingFolders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadClientWorkingFolders + +`func (o *DownloadClientConfigResource) SetDownloadClientWorkingFolders(v string)` + +SetDownloadClientWorkingFolders sets DownloadClientWorkingFolders field to given value. + +### HasDownloadClientWorkingFolders + +`func (o *DownloadClientConfigResource) HasDownloadClientWorkingFolders() bool` + +HasDownloadClientWorkingFolders returns a boolean if a field has been set. + +### SetDownloadClientWorkingFoldersNil + +`func (o *DownloadClientConfigResource) SetDownloadClientWorkingFoldersNil(b bool)` + + SetDownloadClientWorkingFoldersNil sets the value for DownloadClientWorkingFolders to be an explicit nil + +### UnsetDownloadClientWorkingFolders +`func (o *DownloadClientConfigResource) UnsetDownloadClientWorkingFolders()` + +UnsetDownloadClientWorkingFolders ensures that no value is present for DownloadClientWorkingFolders, not even an explicit nil +### GetEnableCompletedDownloadHandling + +`func (o *DownloadClientConfigResource) GetEnableCompletedDownloadHandling() bool` + +GetEnableCompletedDownloadHandling returns the EnableCompletedDownloadHandling field if non-nil, zero value otherwise. + +### GetEnableCompletedDownloadHandlingOk + +`func (o *DownloadClientConfigResource) GetEnableCompletedDownloadHandlingOk() (*bool, bool)` + +GetEnableCompletedDownloadHandlingOk returns a tuple with the EnableCompletedDownloadHandling field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableCompletedDownloadHandling + +`func (o *DownloadClientConfigResource) SetEnableCompletedDownloadHandling(v bool)` + +SetEnableCompletedDownloadHandling sets EnableCompletedDownloadHandling field to given value. + +### HasEnableCompletedDownloadHandling + +`func (o *DownloadClientConfigResource) HasEnableCompletedDownloadHandling() bool` + +HasEnableCompletedDownloadHandling returns a boolean if a field has been set. + +### GetAutoRedownloadFailed + +`func (o *DownloadClientConfigResource) GetAutoRedownloadFailed() bool` + +GetAutoRedownloadFailed returns the AutoRedownloadFailed field if non-nil, zero value otherwise. + +### GetAutoRedownloadFailedOk + +`func (o *DownloadClientConfigResource) GetAutoRedownloadFailedOk() (*bool, bool)` + +GetAutoRedownloadFailedOk returns a tuple with the AutoRedownloadFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAutoRedownloadFailed + +`func (o *DownloadClientConfigResource) SetAutoRedownloadFailed(v bool)` + +SetAutoRedownloadFailed sets AutoRedownloadFailed field to given value. + +### HasAutoRedownloadFailed + +`func (o *DownloadClientConfigResource) HasAutoRedownloadFailed() bool` + +HasAutoRedownloadFailed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/DownloadClientResource.md b/lidarr/docs/DownloadClientResource.md new file mode 100644 index 0000000..c0da402 --- /dev/null +++ b/lidarr/docs/DownloadClientResource.md @@ -0,0 +1,500 @@ +# DownloadClientResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Fields** | Pointer to [**[]Field**](Field.md) | | [optional] +**ImplementationName** | Pointer to **NullableString** | | [optional] +**Implementation** | Pointer to **NullableString** | | [optional] +**ConfigContract** | Pointer to **NullableString** | | [optional] +**InfoLink** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to [**ProviderMessage**](ProviderMessage.md) | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Presets** | Pointer to [**[]DownloadClientResource**](DownloadClientResource.md) | | [optional] +**Enable** | Pointer to **bool** | | [optional] +**Protocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**Priority** | Pointer to **int32** | | [optional] +**RemoveCompletedDownloads** | Pointer to **bool** | | [optional] +**RemoveFailedDownloads** | Pointer to **bool** | | [optional] + +## Methods + +### NewDownloadClientResource + +`func NewDownloadClientResource() *DownloadClientResource` + +NewDownloadClientResource instantiates a new DownloadClientResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewDownloadClientResourceWithDefaults + +`func NewDownloadClientResourceWithDefaults() *DownloadClientResource` + +NewDownloadClientResourceWithDefaults instantiates a new DownloadClientResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *DownloadClientResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *DownloadClientResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *DownloadClientResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *DownloadClientResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *DownloadClientResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *DownloadClientResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *DownloadClientResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *DownloadClientResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *DownloadClientResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *DownloadClientResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFields + +`func (o *DownloadClientResource) GetFields() []Field` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *DownloadClientResource) GetFieldsOk() (*[]Field, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *DownloadClientResource) SetFields(v []Field)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *DownloadClientResource) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *DownloadClientResource) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *DownloadClientResource) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil +### GetImplementationName + +`func (o *DownloadClientResource) GetImplementationName() string` + +GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise. + +### GetImplementationNameOk + +`func (o *DownloadClientResource) GetImplementationNameOk() (*string, bool)` + +GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementationName + +`func (o *DownloadClientResource) SetImplementationName(v string)` + +SetImplementationName sets ImplementationName field to given value. + +### HasImplementationName + +`func (o *DownloadClientResource) HasImplementationName() bool` + +HasImplementationName returns a boolean if a field has been set. + +### SetImplementationNameNil + +`func (o *DownloadClientResource) SetImplementationNameNil(b bool)` + + SetImplementationNameNil sets the value for ImplementationName to be an explicit nil + +### UnsetImplementationName +`func (o *DownloadClientResource) UnsetImplementationName()` + +UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +### GetImplementation + +`func (o *DownloadClientResource) GetImplementation() string` + +GetImplementation returns the Implementation field if non-nil, zero value otherwise. + +### GetImplementationOk + +`func (o *DownloadClientResource) GetImplementationOk() (*string, bool)` + +GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementation + +`func (o *DownloadClientResource) SetImplementation(v string)` + +SetImplementation sets Implementation field to given value. + +### HasImplementation + +`func (o *DownloadClientResource) HasImplementation() bool` + +HasImplementation returns a boolean if a field has been set. + +### SetImplementationNil + +`func (o *DownloadClientResource) SetImplementationNil(b bool)` + + SetImplementationNil sets the value for Implementation to be an explicit nil + +### UnsetImplementation +`func (o *DownloadClientResource) UnsetImplementation()` + +UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +### GetConfigContract + +`func (o *DownloadClientResource) GetConfigContract() string` + +GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise. + +### GetConfigContractOk + +`func (o *DownloadClientResource) GetConfigContractOk() (*string, bool)` + +GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigContract + +`func (o *DownloadClientResource) SetConfigContract(v string)` + +SetConfigContract sets ConfigContract field to given value. + +### HasConfigContract + +`func (o *DownloadClientResource) HasConfigContract() bool` + +HasConfigContract returns a boolean if a field has been set. + +### SetConfigContractNil + +`func (o *DownloadClientResource) SetConfigContractNil(b bool)` + + SetConfigContractNil sets the value for ConfigContract to be an explicit nil + +### UnsetConfigContract +`func (o *DownloadClientResource) UnsetConfigContract()` + +UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +### GetInfoLink + +`func (o *DownloadClientResource) GetInfoLink() string` + +GetInfoLink returns the InfoLink field if non-nil, zero value otherwise. + +### GetInfoLinkOk + +`func (o *DownloadClientResource) GetInfoLinkOk() (*string, bool)` + +GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoLink + +`func (o *DownloadClientResource) SetInfoLink(v string)` + +SetInfoLink sets InfoLink field to given value. + +### HasInfoLink + +`func (o *DownloadClientResource) HasInfoLink() bool` + +HasInfoLink returns a boolean if a field has been set. + +### SetInfoLinkNil + +`func (o *DownloadClientResource) SetInfoLinkNil(b bool)` + + SetInfoLinkNil sets the value for InfoLink to be an explicit nil + +### UnsetInfoLink +`func (o *DownloadClientResource) UnsetInfoLink()` + +UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +### GetMessage + +`func (o *DownloadClientResource) GetMessage() ProviderMessage` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *DownloadClientResource) GetMessageOk() (*ProviderMessage, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *DownloadClientResource) SetMessage(v ProviderMessage)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *DownloadClientResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetTags + +`func (o *DownloadClientResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *DownloadClientResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *DownloadClientResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *DownloadClientResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *DownloadClientResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *DownloadClientResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetPresets + +`func (o *DownloadClientResource) GetPresets() []DownloadClientResource` + +GetPresets returns the Presets field if non-nil, zero value otherwise. + +### GetPresetsOk + +`func (o *DownloadClientResource) GetPresetsOk() (*[]DownloadClientResource, bool)` + +GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresets + +`func (o *DownloadClientResource) SetPresets(v []DownloadClientResource)` + +SetPresets sets Presets field to given value. + +### HasPresets + +`func (o *DownloadClientResource) HasPresets() bool` + +HasPresets returns a boolean if a field has been set. + +### SetPresetsNil + +`func (o *DownloadClientResource) SetPresetsNil(b bool)` + + SetPresetsNil sets the value for Presets to be an explicit nil + +### UnsetPresets +`func (o *DownloadClientResource) UnsetPresets()` + +UnsetPresets ensures that no value is present for Presets, not even an explicit nil +### GetEnable + +`func (o *DownloadClientResource) GetEnable() bool` + +GetEnable returns the Enable field if non-nil, zero value otherwise. + +### GetEnableOk + +`func (o *DownloadClientResource) GetEnableOk() (*bool, bool)` + +GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnable + +`func (o *DownloadClientResource) SetEnable(v bool)` + +SetEnable sets Enable field to given value. + +### HasEnable + +`func (o *DownloadClientResource) HasEnable() bool` + +HasEnable returns a boolean if a field has been set. + +### GetProtocol + +`func (o *DownloadClientResource) GetProtocol() DownloadProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *DownloadClientResource) GetProtocolOk() (*DownloadProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *DownloadClientResource) SetProtocol(v DownloadProtocol)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *DownloadClientResource) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + +### GetPriority + +`func (o *DownloadClientResource) GetPriority() int32` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *DownloadClientResource) GetPriorityOk() (*int32, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *DownloadClientResource) SetPriority(v int32)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *DownloadClientResource) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetRemoveCompletedDownloads + +`func (o *DownloadClientResource) GetRemoveCompletedDownloads() bool` + +GetRemoveCompletedDownloads returns the RemoveCompletedDownloads field if non-nil, zero value otherwise. + +### GetRemoveCompletedDownloadsOk + +`func (o *DownloadClientResource) GetRemoveCompletedDownloadsOk() (*bool, bool)` + +GetRemoveCompletedDownloadsOk returns a tuple with the RemoveCompletedDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemoveCompletedDownloads + +`func (o *DownloadClientResource) SetRemoveCompletedDownloads(v bool)` + +SetRemoveCompletedDownloads sets RemoveCompletedDownloads field to given value. + +### HasRemoveCompletedDownloads + +`func (o *DownloadClientResource) HasRemoveCompletedDownloads() bool` + +HasRemoveCompletedDownloads returns a boolean if a field has been set. + +### GetRemoveFailedDownloads + +`func (o *DownloadClientResource) GetRemoveFailedDownloads() bool` + +GetRemoveFailedDownloads returns the RemoveFailedDownloads field if non-nil, zero value otherwise. + +### GetRemoveFailedDownloadsOk + +`func (o *DownloadClientResource) GetRemoveFailedDownloadsOk() (*bool, bool)` + +GetRemoveFailedDownloadsOk returns a tuple with the RemoveFailedDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemoveFailedDownloads + +`func (o *DownloadClientResource) SetRemoveFailedDownloads(v bool)` + +SetRemoveFailedDownloads sets RemoveFailedDownloads field to given value. + +### HasRemoveFailedDownloads + +`func (o *DownloadClientResource) HasRemoveFailedDownloads() bool` + +HasRemoveFailedDownloads returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/DownloadProtocol.md b/lidarr/docs/DownloadProtocol.md new file mode 100644 index 0000000..7b56b5f --- /dev/null +++ b/lidarr/docs/DownloadProtocol.md @@ -0,0 +1,15 @@ +# DownloadProtocol + +## Enum + + +* `UNKNOWN` (value: `"unknown"`) + +* `USENET` (value: `"usenet"`) + +* `TORRENT` (value: `"torrent"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/EntityHistoryEventType.md b/lidarr/docs/EntityHistoryEventType.md new file mode 100644 index 0000000..20ccd26 --- /dev/null +++ b/lidarr/docs/EntityHistoryEventType.md @@ -0,0 +1,31 @@ +# EntityHistoryEventType + +## Enum + + +* `UNKNOWN` (value: `"unknown"`) + +* `GRABBED` (value: `"grabbed"`) + +* `ARTIST_FOLDER_IMPORTED` (value: `"artistFolderImported"`) + +* `TRACK_FILE_IMPORTED` (value: `"trackFileImported"`) + +* `DOWNLOAD_FAILED` (value: `"downloadFailed"`) + +* `TRACK_FILE_DELETED` (value: `"trackFileDeleted"`) + +* `TRACK_FILE_RENAMED` (value: `"trackFileRenamed"`) + +* `ALBUM_IMPORT_INCOMPLETE` (value: `"albumImportIncomplete"`) + +* `DOWNLOAD_IMPORTED` (value: `"downloadImported"`) + +* `TRACK_FILE_RETAGGED` (value: `"trackFileRetagged"`) + +* `DOWNLOAD_IGNORED` (value: `"downloadIgnored"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Field.md b/lidarr/docs/Field.md new file mode 100644 index 0000000..8523c96 --- /dev/null +++ b/lidarr/docs/Field.md @@ -0,0 +1,478 @@ +# Field + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Order** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] +**Unit** | Pointer to **NullableString** | | [optional] +**HelpText** | Pointer to **NullableString** | | [optional] +**HelpLink** | Pointer to **NullableString** | | [optional] +**Value** | Pointer to **interface{}** | | [optional] +**Type** | Pointer to **NullableString** | | [optional] +**Advanced** | Pointer to **bool** | | [optional] +**SelectOptions** | Pointer to [**[]SelectOption**](SelectOption.md) | | [optional] +**SelectOptionsProviderAction** | Pointer to **NullableString** | | [optional] +**Section** | Pointer to **NullableString** | | [optional] +**Hidden** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewField + +`func NewField() *Field` + +NewField instantiates a new Field object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewFieldWithDefaults + +`func NewFieldWithDefaults() *Field` + +NewFieldWithDefaults instantiates a new Field object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetOrder + +`func (o *Field) GetOrder() int32` + +GetOrder returns the Order field if non-nil, zero value otherwise. + +### GetOrderOk + +`func (o *Field) GetOrderOk() (*int32, bool)` + +GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrder + +`func (o *Field) SetOrder(v int32)` + +SetOrder sets Order field to given value. + +### HasOrder + +`func (o *Field) HasOrder() bool` + +HasOrder returns a boolean if a field has been set. + +### GetName + +`func (o *Field) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Field) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Field) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Field) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Field) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Field) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetLabel + +`func (o *Field) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *Field) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *Field) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *Field) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *Field) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *Field) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetUnit + +`func (o *Field) GetUnit() string` + +GetUnit returns the Unit field if non-nil, zero value otherwise. + +### GetUnitOk + +`func (o *Field) GetUnitOk() (*string, bool)` + +GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnit + +`func (o *Field) SetUnit(v string)` + +SetUnit sets Unit field to given value. + +### HasUnit + +`func (o *Field) HasUnit() bool` + +HasUnit returns a boolean if a field has been set. + +### SetUnitNil + +`func (o *Field) SetUnitNil(b bool)` + + SetUnitNil sets the value for Unit to be an explicit nil + +### UnsetUnit +`func (o *Field) UnsetUnit()` + +UnsetUnit ensures that no value is present for Unit, not even an explicit nil +### GetHelpText + +`func (o *Field) GetHelpText() string` + +GetHelpText returns the HelpText field if non-nil, zero value otherwise. + +### GetHelpTextOk + +`func (o *Field) GetHelpTextOk() (*string, bool)` + +GetHelpTextOk returns a tuple with the HelpText field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHelpText + +`func (o *Field) SetHelpText(v string)` + +SetHelpText sets HelpText field to given value. + +### HasHelpText + +`func (o *Field) HasHelpText() bool` + +HasHelpText returns a boolean if a field has been set. + +### SetHelpTextNil + +`func (o *Field) SetHelpTextNil(b bool)` + + SetHelpTextNil sets the value for HelpText to be an explicit nil + +### UnsetHelpText +`func (o *Field) UnsetHelpText()` + +UnsetHelpText ensures that no value is present for HelpText, not even an explicit nil +### GetHelpLink + +`func (o *Field) GetHelpLink() string` + +GetHelpLink returns the HelpLink field if non-nil, zero value otherwise. + +### GetHelpLinkOk + +`func (o *Field) GetHelpLinkOk() (*string, bool)` + +GetHelpLinkOk returns a tuple with the HelpLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHelpLink + +`func (o *Field) SetHelpLink(v string)` + +SetHelpLink sets HelpLink field to given value. + +### HasHelpLink + +`func (o *Field) HasHelpLink() bool` + +HasHelpLink returns a boolean if a field has been set. + +### SetHelpLinkNil + +`func (o *Field) SetHelpLinkNil(b bool)` + + SetHelpLinkNil sets the value for HelpLink to be an explicit nil + +### UnsetHelpLink +`func (o *Field) UnsetHelpLink()` + +UnsetHelpLink ensures that no value is present for HelpLink, not even an explicit nil +### GetValue + +`func (o *Field) GetValue() interface{}` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *Field) GetValueOk() (*interface{}, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *Field) SetValue(v interface{})` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *Field) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### SetValueNil + +`func (o *Field) SetValueNil(b bool)` + + SetValueNil sets the value for Value to be an explicit nil + +### UnsetValue +`func (o *Field) UnsetValue()` + +UnsetValue ensures that no value is present for Value, not even an explicit nil +### GetType + +`func (o *Field) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *Field) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *Field) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *Field) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *Field) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *Field) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetAdvanced + +`func (o *Field) GetAdvanced() bool` + +GetAdvanced returns the Advanced field if non-nil, zero value otherwise. + +### GetAdvancedOk + +`func (o *Field) GetAdvancedOk() (*bool, bool)` + +GetAdvancedOk returns a tuple with the Advanced field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdvanced + +`func (o *Field) SetAdvanced(v bool)` + +SetAdvanced sets Advanced field to given value. + +### HasAdvanced + +`func (o *Field) HasAdvanced() bool` + +HasAdvanced returns a boolean if a field has been set. + +### GetSelectOptions + +`func (o *Field) GetSelectOptions() []SelectOption` + +GetSelectOptions returns the SelectOptions field if non-nil, zero value otherwise. + +### GetSelectOptionsOk + +`func (o *Field) GetSelectOptionsOk() (*[]SelectOption, bool)` + +GetSelectOptionsOk returns a tuple with the SelectOptions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelectOptions + +`func (o *Field) SetSelectOptions(v []SelectOption)` + +SetSelectOptions sets SelectOptions field to given value. + +### HasSelectOptions + +`func (o *Field) HasSelectOptions() bool` + +HasSelectOptions returns a boolean if a field has been set. + +### SetSelectOptionsNil + +`func (o *Field) SetSelectOptionsNil(b bool)` + + SetSelectOptionsNil sets the value for SelectOptions to be an explicit nil + +### UnsetSelectOptions +`func (o *Field) UnsetSelectOptions()` + +UnsetSelectOptions ensures that no value is present for SelectOptions, not even an explicit nil +### GetSelectOptionsProviderAction + +`func (o *Field) GetSelectOptionsProviderAction() string` + +GetSelectOptionsProviderAction returns the SelectOptionsProviderAction field if non-nil, zero value otherwise. + +### GetSelectOptionsProviderActionOk + +`func (o *Field) GetSelectOptionsProviderActionOk() (*string, bool)` + +GetSelectOptionsProviderActionOk returns a tuple with the SelectOptionsProviderAction field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelectOptionsProviderAction + +`func (o *Field) SetSelectOptionsProviderAction(v string)` + +SetSelectOptionsProviderAction sets SelectOptionsProviderAction field to given value. + +### HasSelectOptionsProviderAction + +`func (o *Field) HasSelectOptionsProviderAction() bool` + +HasSelectOptionsProviderAction returns a boolean if a field has been set. + +### SetSelectOptionsProviderActionNil + +`func (o *Field) SetSelectOptionsProviderActionNil(b bool)` + + SetSelectOptionsProviderActionNil sets the value for SelectOptionsProviderAction to be an explicit nil + +### UnsetSelectOptionsProviderAction +`func (o *Field) UnsetSelectOptionsProviderAction()` + +UnsetSelectOptionsProviderAction ensures that no value is present for SelectOptionsProviderAction, not even an explicit nil +### GetSection + +`func (o *Field) GetSection() string` + +GetSection returns the Section field if non-nil, zero value otherwise. + +### GetSectionOk + +`func (o *Field) GetSectionOk() (*string, bool)` + +GetSectionOk returns a tuple with the Section field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSection + +`func (o *Field) SetSection(v string)` + +SetSection sets Section field to given value. + +### HasSection + +`func (o *Field) HasSection() bool` + +HasSection returns a boolean if a field has been set. + +### SetSectionNil + +`func (o *Field) SetSectionNil(b bool)` + + SetSectionNil sets the value for Section to be an explicit nil + +### UnsetSection +`func (o *Field) UnsetSection()` + +UnsetSection ensures that no value is present for Section, not even an explicit nil +### GetHidden + +`func (o *Field) GetHidden() string` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *Field) GetHiddenOk() (*string, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *Field) SetHidden(v string)` + +SetHidden sets Hidden field to given value. + +### HasHidden + +`func (o *Field) HasHidden() bool` + +HasHidden returns a boolean if a field has been set. + +### SetHiddenNil + +`func (o *Field) SetHiddenNil(b bool)` + + SetHiddenNil sets the value for Hidden to be an explicit nil + +### UnsetHidden +`func (o *Field) UnsetHidden()` + +UnsetHidden ensures that no value is present for Hidden, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/FileDateType.md b/lidarr/docs/FileDateType.md new file mode 100644 index 0000000..a04ff1c --- /dev/null +++ b/lidarr/docs/FileDateType.md @@ -0,0 +1,13 @@ +# FileDateType + +## Enum + + +* `NONE` (value: `"none"`) + +* `ALBUM_RELEASE_DATE` (value: `"albumReleaseDate"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/FileSystemApi.md b/lidarr/docs/FileSystemApi.md new file mode 100644 index 0000000..d057611 --- /dev/null +++ b/lidarr/docs/FileSystemApi.md @@ -0,0 +1,201 @@ +# \FileSystemApi + +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 + +> GetApiV1Filesystem(ctx).Path(path).IncludeFiles(includeFiles).AllowFoldersWithoutTrailingSlashes(allowFoldersWithoutTrailingSlashes).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | (optional) + includeFiles := true // bool | (optional) (default to false) + allowFoldersWithoutTrailingSlashes := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1FilesystemRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **string** | | + **includeFiles** | **bool** | | [default to false] + **allowFoldersWithoutTrailingSlashes** | **bool** | | [default to false] + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1FilesystemMediafiles + +> GetApiV1FilesystemMediafiles(ctx).Path(path).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1FilesystemMediafilesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1FilesystemType + +> GetApiV1FilesystemType(ctx).Path(path).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1FilesystemTypeRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **path** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/HealthApi.md b/lidarr/docs/HealthApi.md new file mode 100644 index 0000000..78018af --- /dev/null +++ b/lidarr/docs/HealthApi.md @@ -0,0 +1,137 @@ +# \HealthApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1HealthById**](HealthApi.md#GetApiV1HealthById) | **Get** /api/v1/health/{id} | +[**ListApiV1Health**](HealthApi.md#ListApiV1Health) | **Get** /api/v1/health | + + + +## GetApiV1HealthById + +> HealthResource GetApiV1HealthById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HealthApi.GetApiV1HealthById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HealthApi.GetApiV1HealthById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1HealthById`: HealthResource + fmt.Fprintf(os.Stdout, "Response from `HealthApi.GetApiV1HealthById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1HealthByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**HealthResource**](HealthResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Health + +> []HealthResource ListApiV1Health(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HealthApi.ListApiV1Health(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HealthApi.ListApiV1Health``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Health`: []HealthResource + fmt.Fprintf(os.Stdout, "Response from `HealthApi.ListApiV1Health`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1HealthRequest struct via the builder pattern + + +### Return type + +[**[]HealthResource**](HealthResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/HealthCheckResult.md b/lidarr/docs/HealthCheckResult.md new file mode 100644 index 0000000..623dfd6 --- /dev/null +++ b/lidarr/docs/HealthCheckResult.md @@ -0,0 +1,17 @@ +# HealthCheckResult + +## Enum + + +* `OK` (value: `"ok"`) + +* `NOTICE` (value: `"notice"`) + +* `WARNING` (value: `"warning"`) + +* `ERROR` (value: `"error"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/HealthResource.md b/lidarr/docs/HealthResource.md new file mode 100644 index 0000000..d6c5e32 --- /dev/null +++ b/lidarr/docs/HealthResource.md @@ -0,0 +1,180 @@ +# HealthResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Source** | Pointer to **NullableString** | | [optional] +**Type** | Pointer to [**HealthCheckResult**](HealthCheckResult.md) | | [optional] +**Message** | Pointer to **NullableString** | | [optional] +**WikiUrl** | Pointer to [**HttpUri**](HttpUri.md) | | [optional] + +## Methods + +### NewHealthResource + +`func NewHealthResource() *HealthResource` + +NewHealthResource instantiates a new HealthResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHealthResourceWithDefaults + +`func NewHealthResourceWithDefaults() *HealthResource` + +NewHealthResourceWithDefaults instantiates a new HealthResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *HealthResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *HealthResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *HealthResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *HealthResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetSource + +`func (o *HealthResource) GetSource() string` + +GetSource returns the Source field if non-nil, zero value otherwise. + +### GetSourceOk + +`func (o *HealthResource) GetSourceOk() (*string, bool)` + +GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSource + +`func (o *HealthResource) SetSource(v string)` + +SetSource sets Source field to given value. + +### HasSource + +`func (o *HealthResource) HasSource() bool` + +HasSource returns a boolean if a field has been set. + +### SetSourceNil + +`func (o *HealthResource) SetSourceNil(b bool)` + + SetSourceNil sets the value for Source to be an explicit nil + +### UnsetSource +`func (o *HealthResource) UnsetSource()` + +UnsetSource ensures that no value is present for Source, not even an explicit nil +### GetType + +`func (o *HealthResource) GetType() HealthCheckResult` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *HealthResource) GetTypeOk() (*HealthCheckResult, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *HealthResource) SetType(v HealthCheckResult)` + +SetType sets Type field to given value. + +### HasType + +`func (o *HealthResource) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetMessage + +`func (o *HealthResource) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *HealthResource) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *HealthResource) SetMessage(v string)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *HealthResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### SetMessageNil + +`func (o *HealthResource) SetMessageNil(b bool)` + + SetMessageNil sets the value for Message to be an explicit nil + +### UnsetMessage +`func (o *HealthResource) UnsetMessage()` + +UnsetMessage ensures that no value is present for Message, not even an explicit nil +### GetWikiUrl + +`func (o *HealthResource) GetWikiUrl() HttpUri` + +GetWikiUrl returns the WikiUrl field if non-nil, zero value otherwise. + +### GetWikiUrlOk + +`func (o *HealthResource) GetWikiUrlOk() (*HttpUri, bool)` + +GetWikiUrlOk returns a tuple with the WikiUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWikiUrl + +`func (o *HealthResource) SetWikiUrl(v HttpUri)` + +SetWikiUrl sets WikiUrl field to given value. + +### HasWikiUrl + +`func (o *HealthResource) HasWikiUrl() bool` + +HasWikiUrl returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/HistoryApi.md b/lidarr/docs/HistoryApi.md new file mode 100644 index 0000000..0aec540 --- /dev/null +++ b/lidarr/docs/HistoryApi.md @@ -0,0 +1,293 @@ +# \HistoryApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1HistoryFailedById**](HistoryApi.md#CreateApiV1HistoryFailedById) | **Post** /api/v1/history/failed/{id} | +[**GetApiV1History**](HistoryApi.md#GetApiV1History) | **Get** /api/v1/history | +[**ListApiV1HistoryArtist**](HistoryApi.md#ListApiV1HistoryArtist) | **Get** /api/v1/history/artist | +[**ListApiV1HistorySince**](HistoryApi.md#ListApiV1HistorySince) | **Get** /api/v1/history/since | + + + +## CreateApiV1HistoryFailedById + +> CreateApiV1HistoryFailedById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HistoryApi.CreateApiV1HistoryFailedById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.CreateApiV1HistoryFailedById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1HistoryFailedByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1History + +> HistoryResourcePagingResource GetApiV1History(ctx).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + includeArtist := true // bool | (optional) (default to false) + includeAlbum := true // bool | (optional) (default to false) + includeTrack := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HistoryApi.GetApiV1History(context.Background()).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.GetApiV1History``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1History`: HistoryResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.GetApiV1History`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1HistoryRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **includeArtist** | **bool** | | [default to false] + **includeAlbum** | **bool** | | [default to false] + **includeTrack** | **bool** | | [default to false] + +### Return type + +[**HistoryResourcePagingResource**](HistoryResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1HistoryArtist + +> []HistoryResource ListApiV1HistoryArtist(ctx).ArtistId(artistId).AlbumId(albumId).EventType(eventType).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumId := int32(56) // int32 | (optional) + eventType := lidarrClient.EntityHistoryEventType("unknown") // EntityHistoryEventType | (optional) + includeArtist := true // bool | (optional) (default to false) + includeAlbum := true // bool | (optional) (default to false) + includeTrack := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HistoryApi.ListApiV1HistoryArtist(context.Background()).ArtistId(artistId).AlbumId(albumId).EventType(eventType).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.ListApiV1HistoryArtist``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1HistoryArtist`: []HistoryResource + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.ListApiV1HistoryArtist`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1HistoryArtistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumId** | **int32** | | + **eventType** | [**EntityHistoryEventType**](EntityHistoryEventType.md) | | + **includeArtist** | **bool** | | [default to false] + **includeAlbum** | **bool** | | [default to false] + **includeTrack** | **bool** | | [default to false] + +### Return type + +[**[]HistoryResource**](HistoryResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1HistorySince + +> []HistoryResource ListApiV1HistorySince(ctx).Date(date).EventType(eventType).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + "time" + lidarrClient "./openapi" +) + +func main() { + date := time.Now() // time.Time | (optional) + eventType := lidarrClient.EntityHistoryEventType("unknown") // EntityHistoryEventType | (optional) + includeArtist := true // bool | (optional) (default to false) + includeAlbum := true // bool | (optional) (default to false) + includeTrack := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HistoryApi.ListApiV1HistorySince(context.Background()).Date(date).EventType(eventType).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).IncludeTrack(includeTrack).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HistoryApi.ListApiV1HistorySince``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1HistorySince`: []HistoryResource + fmt.Fprintf(os.Stdout, "Response from `HistoryApi.ListApiV1HistorySince`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1HistorySinceRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **date** | **time.Time** | | + **eventType** | [**EntityHistoryEventType**](EntityHistoryEventType.md) | | + **includeArtist** | **bool** | | [default to false] + **includeAlbum** | **bool** | | [default to false] + **includeTrack** | **bool** | | [default to false] + +### Return type + +[**[]HistoryResource**](HistoryResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/HistoryResource.md b/lidarr/docs/HistoryResource.md new file mode 100644 index 0000000..357ac31 --- /dev/null +++ b/lidarr/docs/HistoryResource.md @@ -0,0 +1,424 @@ +# HistoryResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**TrackId** | Pointer to **int32** | | [optional] +**SourceTitle** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**QualityCutoffNotMet** | Pointer to **bool** | | [optional] +**Date** | Pointer to **time.Time** | | [optional] +**DownloadId** | Pointer to **NullableString** | | [optional] +**EventType** | Pointer to [**EntityHistoryEventType**](EntityHistoryEventType.md) | | [optional] +**Data** | Pointer to **map[string]string** | | [optional] +**Album** | Pointer to [**AlbumResource**](AlbumResource.md) | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Track** | Pointer to [**TrackResource**](TrackResource.md) | | [optional] + +## Methods + +### NewHistoryResource + +`func NewHistoryResource() *HistoryResource` + +NewHistoryResource instantiates a new HistoryResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHistoryResourceWithDefaults + +`func NewHistoryResourceWithDefaults() *HistoryResource` + +NewHistoryResourceWithDefaults instantiates a new HistoryResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *HistoryResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *HistoryResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *HistoryResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *HistoryResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *HistoryResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *HistoryResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *HistoryResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *HistoryResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *HistoryResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *HistoryResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *HistoryResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *HistoryResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetTrackId + +`func (o *HistoryResource) GetTrackId() int32` + +GetTrackId returns the TrackId field if non-nil, zero value otherwise. + +### GetTrackIdOk + +`func (o *HistoryResource) GetTrackIdOk() (*int32, bool)` + +GetTrackIdOk returns a tuple with the TrackId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackId + +`func (o *HistoryResource) SetTrackId(v int32)` + +SetTrackId sets TrackId field to given value. + +### HasTrackId + +`func (o *HistoryResource) HasTrackId() bool` + +HasTrackId returns a boolean if a field has been set. + +### GetSourceTitle + +`func (o *HistoryResource) GetSourceTitle() string` + +GetSourceTitle returns the SourceTitle field if non-nil, zero value otherwise. + +### GetSourceTitleOk + +`func (o *HistoryResource) GetSourceTitleOk() (*string, bool)` + +GetSourceTitleOk returns a tuple with the SourceTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSourceTitle + +`func (o *HistoryResource) SetSourceTitle(v string)` + +SetSourceTitle sets SourceTitle field to given value. + +### HasSourceTitle + +`func (o *HistoryResource) HasSourceTitle() bool` + +HasSourceTitle returns a boolean if a field has been set. + +### SetSourceTitleNil + +`func (o *HistoryResource) SetSourceTitleNil(b bool)` + + SetSourceTitleNil sets the value for SourceTitle to be an explicit nil + +### UnsetSourceTitle +`func (o *HistoryResource) UnsetSourceTitle()` + +UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil +### GetQuality + +`func (o *HistoryResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *HistoryResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *HistoryResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *HistoryResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetQualityCutoffNotMet + +`func (o *HistoryResource) GetQualityCutoffNotMet() bool` + +GetQualityCutoffNotMet returns the QualityCutoffNotMet field if non-nil, zero value otherwise. + +### GetQualityCutoffNotMetOk + +`func (o *HistoryResource) GetQualityCutoffNotMetOk() (*bool, bool)` + +GetQualityCutoffNotMetOk returns a tuple with the QualityCutoffNotMet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityCutoffNotMet + +`func (o *HistoryResource) SetQualityCutoffNotMet(v bool)` + +SetQualityCutoffNotMet sets QualityCutoffNotMet field to given value. + +### HasQualityCutoffNotMet + +`func (o *HistoryResource) HasQualityCutoffNotMet() bool` + +HasQualityCutoffNotMet returns a boolean if a field has been set. + +### GetDate + +`func (o *HistoryResource) GetDate() time.Time` + +GetDate returns the Date field if non-nil, zero value otherwise. + +### GetDateOk + +`func (o *HistoryResource) GetDateOk() (*time.Time, bool)` + +GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDate + +`func (o *HistoryResource) SetDate(v time.Time)` + +SetDate sets Date field to given value. + +### HasDate + +`func (o *HistoryResource) HasDate() bool` + +HasDate returns a boolean if a field has been set. + +### GetDownloadId + +`func (o *HistoryResource) GetDownloadId() string` + +GetDownloadId returns the DownloadId field if non-nil, zero value otherwise. + +### GetDownloadIdOk + +`func (o *HistoryResource) GetDownloadIdOk() (*string, bool)` + +GetDownloadIdOk returns a tuple with the DownloadId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadId + +`func (o *HistoryResource) SetDownloadId(v string)` + +SetDownloadId sets DownloadId field to given value. + +### HasDownloadId + +`func (o *HistoryResource) HasDownloadId() bool` + +HasDownloadId returns a boolean if a field has been set. + +### SetDownloadIdNil + +`func (o *HistoryResource) SetDownloadIdNil(b bool)` + + SetDownloadIdNil sets the value for DownloadId to be an explicit nil + +### UnsetDownloadId +`func (o *HistoryResource) UnsetDownloadId()` + +UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +### GetEventType + +`func (o *HistoryResource) GetEventType() EntityHistoryEventType` + +GetEventType returns the EventType field if non-nil, zero value otherwise. + +### GetEventTypeOk + +`func (o *HistoryResource) GetEventTypeOk() (*EntityHistoryEventType, bool)` + +GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEventType + +`func (o *HistoryResource) SetEventType(v EntityHistoryEventType)` + +SetEventType sets EventType field to given value. + +### HasEventType + +`func (o *HistoryResource) HasEventType() bool` + +HasEventType returns a boolean if a field has been set. + +### GetData + +`func (o *HistoryResource) GetData() map[string]string` + +GetData returns the Data field if non-nil, zero value otherwise. + +### GetDataOk + +`func (o *HistoryResource) GetDataOk() (*map[string]string, bool)` + +GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetData + +`func (o *HistoryResource) SetData(v map[string]string)` + +SetData sets Data field to given value. + +### HasData + +`func (o *HistoryResource) HasData() bool` + +HasData returns a boolean if a field has been set. + +### SetDataNil + +`func (o *HistoryResource) SetDataNil(b bool)` + + SetDataNil sets the value for Data to be an explicit nil + +### UnsetData +`func (o *HistoryResource) UnsetData()` + +UnsetData ensures that no value is present for Data, not even an explicit nil +### GetAlbum + +`func (o *HistoryResource) GetAlbum() AlbumResource` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *HistoryResource) GetAlbumOk() (*AlbumResource, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *HistoryResource) SetAlbum(v AlbumResource)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *HistoryResource) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + +### GetArtist + +`func (o *HistoryResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *HistoryResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *HistoryResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *HistoryResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetTrack + +`func (o *HistoryResource) GetTrack() TrackResource` + +GetTrack returns the Track field if non-nil, zero value otherwise. + +### GetTrackOk + +`func (o *HistoryResource) GetTrackOk() (*TrackResource, bool)` + +GetTrackOk returns a tuple with the Track field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrack + +`func (o *HistoryResource) SetTrack(v TrackResource)` + +SetTrack sets Track field to given value. + +### HasTrack + +`func (o *HistoryResource) HasTrack() bool` + +HasTrack returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/HistoryResourcePagingResource.md b/lidarr/docs/HistoryResourcePagingResource.md new file mode 100644 index 0000000..12c53cd --- /dev/null +++ b/lidarr/docs/HistoryResourcePagingResource.md @@ -0,0 +1,242 @@ +# HistoryResourcePagingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Page** | Pointer to **int32** | | [optional] +**PageSize** | Pointer to **int32** | | [optional] +**SortKey** | Pointer to **NullableString** | | [optional] +**SortDirection** | Pointer to [**SortDirection**](SortDirection.md) | | [optional] +**Filters** | Pointer to [**[]PagingResourceFilter**](PagingResourceFilter.md) | | [optional] +**TotalRecords** | Pointer to **int32** | | [optional] +**Records** | Pointer to [**[]HistoryResource**](HistoryResource.md) | | [optional] + +## Methods + +### NewHistoryResourcePagingResource + +`func NewHistoryResourcePagingResource() *HistoryResourcePagingResource` + +NewHistoryResourcePagingResource instantiates a new HistoryResourcePagingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHistoryResourcePagingResourceWithDefaults + +`func NewHistoryResourcePagingResourceWithDefaults() *HistoryResourcePagingResource` + +NewHistoryResourcePagingResourceWithDefaults instantiates a new HistoryResourcePagingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPage + +`func (o *HistoryResourcePagingResource) GetPage() int32` + +GetPage returns the Page field if non-nil, zero value otherwise. + +### GetPageOk + +`func (o *HistoryResourcePagingResource) GetPageOk() (*int32, bool)` + +GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPage + +`func (o *HistoryResourcePagingResource) SetPage(v int32)` + +SetPage sets Page field to given value. + +### HasPage + +`func (o *HistoryResourcePagingResource) HasPage() bool` + +HasPage returns a boolean if a field has been set. + +### GetPageSize + +`func (o *HistoryResourcePagingResource) GetPageSize() int32` + +GetPageSize returns the PageSize field if non-nil, zero value otherwise. + +### GetPageSizeOk + +`func (o *HistoryResourcePagingResource) GetPageSizeOk() (*int32, bool)` + +GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageSize + +`func (o *HistoryResourcePagingResource) SetPageSize(v int32)` + +SetPageSize sets PageSize field to given value. + +### HasPageSize + +`func (o *HistoryResourcePagingResource) HasPageSize() bool` + +HasPageSize returns a boolean if a field has been set. + +### GetSortKey + +`func (o *HistoryResourcePagingResource) GetSortKey() string` + +GetSortKey returns the SortKey field if non-nil, zero value otherwise. + +### GetSortKeyOk + +`func (o *HistoryResourcePagingResource) GetSortKeyOk() (*string, bool)` + +GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortKey + +`func (o *HistoryResourcePagingResource) SetSortKey(v string)` + +SetSortKey sets SortKey field to given value. + +### HasSortKey + +`func (o *HistoryResourcePagingResource) HasSortKey() bool` + +HasSortKey returns a boolean if a field has been set. + +### SetSortKeyNil + +`func (o *HistoryResourcePagingResource) SetSortKeyNil(b bool)` + + SetSortKeyNil sets the value for SortKey to be an explicit nil + +### UnsetSortKey +`func (o *HistoryResourcePagingResource) UnsetSortKey()` + +UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +### GetSortDirection + +`func (o *HistoryResourcePagingResource) GetSortDirection() SortDirection` + +GetSortDirection returns the SortDirection field if non-nil, zero value otherwise. + +### GetSortDirectionOk + +`func (o *HistoryResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool)` + +GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortDirection + +`func (o *HistoryResourcePagingResource) SetSortDirection(v SortDirection)` + +SetSortDirection sets SortDirection field to given value. + +### HasSortDirection + +`func (o *HistoryResourcePagingResource) HasSortDirection() bool` + +HasSortDirection returns a boolean if a field has been set. + +### GetFilters + +`func (o *HistoryResourcePagingResource) GetFilters() []PagingResourceFilter` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *HistoryResourcePagingResource) GetFiltersOk() (*[]PagingResourceFilter, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *HistoryResourcePagingResource) SetFilters(v []PagingResourceFilter)` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *HistoryResourcePagingResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *HistoryResourcePagingResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *HistoryResourcePagingResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil +### GetTotalRecords + +`func (o *HistoryResourcePagingResource) GetTotalRecords() int32` + +GetTotalRecords returns the TotalRecords field if non-nil, zero value otherwise. + +### GetTotalRecordsOk + +`func (o *HistoryResourcePagingResource) GetTotalRecordsOk() (*int32, bool)` + +GetTotalRecordsOk returns a tuple with the TotalRecords field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRecords + +`func (o *HistoryResourcePagingResource) SetTotalRecords(v int32)` + +SetTotalRecords sets TotalRecords field to given value. + +### HasTotalRecords + +`func (o *HistoryResourcePagingResource) HasTotalRecords() bool` + +HasTotalRecords returns a boolean if a field has been set. + +### GetRecords + +`func (o *HistoryResourcePagingResource) GetRecords() []HistoryResource` + +GetRecords returns the Records field if non-nil, zero value otherwise. + +### GetRecordsOk + +`func (o *HistoryResourcePagingResource) GetRecordsOk() (*[]HistoryResource, bool)` + +GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecords + +`func (o *HistoryResourcePagingResource) SetRecords(v []HistoryResource)` + +SetRecords sets Records field to given value. + +### HasRecords + +`func (o *HistoryResourcePagingResource) HasRecords() bool` + +HasRecords returns a boolean if a field has been set. + +### SetRecordsNil + +`func (o *HistoryResourcePagingResource) SetRecordsNil(b bool)` + + SetRecordsNil sets the value for Records to be an explicit nil + +### UnsetRecords +`func (o *HistoryResourcePagingResource) UnsetRecords()` + +UnsetRecords ensures that no value is present for Records, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/HostConfigApi.md b/lidarr/docs/HostConfigApi.md new file mode 100644 index 0000000..4ee7bf1 --- /dev/null +++ b/lidarr/docs/HostConfigApi.md @@ -0,0 +1,208 @@ +# \HostConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigHost**](HostConfigApi.md#GetApiV1ConfigHost) | **Get** /api/v1/config/host | +[**GetApiV1ConfigHostById**](HostConfigApi.md#GetApiV1ConfigHostById) | **Get** /api/v1/config/host/{id} | +[**UpdateApiV1ConfigHost**](HostConfigApi.md#UpdateApiV1ConfigHost) | **Put** /api/v1/config/host/{id} | + + + +## GetApiV1ConfigHost + +> HostConfigResource GetApiV1ConfigHost(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HostConfigApi.GetApiV1ConfigHost(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.GetApiV1ConfigHost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigHost`: HostConfigResource + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.GetApiV1ConfigHost`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigHostRequest struct via the builder pattern + + +### Return type + +[**HostConfigResource**](HostConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigHostById + +> HostConfigResource GetApiV1ConfigHostById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HostConfigApi.GetApiV1ConfigHostById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.GetApiV1ConfigHostById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigHostById`: HostConfigResource + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.GetApiV1ConfigHostById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigHostByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**HostConfigResource**](HostConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigHost + +> HostConfigResource UpdateApiV1ConfigHost(ctx, id).HostConfigResource(hostConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + hostConfigResource := *lidarrClient.NewHostConfigResource() // HostConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.HostConfigApi.UpdateApiV1ConfigHost(context.Background(), id).HostConfigResource(hostConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `HostConfigApi.UpdateApiV1ConfigHost``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigHost`: HostConfigResource + fmt.Fprintf(os.Stdout, "Response from `HostConfigApi.UpdateApiV1ConfigHost`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigHostRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **hostConfigResource** | [**HostConfigResource**](HostConfigResource.md) | | + +### Return type + +[**HostConfigResource**](HostConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/HostConfigResource.md b/lidarr/docs/HostConfigResource.md new file mode 100644 index 0000000..ee5151d --- /dev/null +++ b/lidarr/docs/HostConfigResource.md @@ -0,0 +1,1094 @@ +# HostConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**BindAddress** | Pointer to **NullableString** | | [optional] +**Port** | Pointer to **int32** | | [optional] +**SslPort** | Pointer to **int32** | | [optional] +**EnableSsl** | Pointer to **bool** | | [optional] +**LaunchBrowser** | Pointer to **bool** | | [optional] +**AuthenticationMethod** | Pointer to [**AuthenticationType**](AuthenticationType.md) | | [optional] +**AnalyticsEnabled** | Pointer to **bool** | | [optional] +**Username** | Pointer to **NullableString** | | [optional] +**Password** | Pointer to **NullableString** | | [optional] +**LogLevel** | Pointer to **NullableString** | | [optional] +**ConsoleLogLevel** | Pointer to **NullableString** | | [optional] +**Branch** | Pointer to **NullableString** | | [optional] +**ApiKey** | Pointer to **NullableString** | | [optional] +**SslCertPath** | Pointer to **NullableString** | | [optional] +**SslCertPassword** | Pointer to **NullableString** | | [optional] +**UrlBase** | Pointer to **NullableString** | | [optional] +**InstanceName** | Pointer to **NullableString** | | [optional] +**ApplicationUrl** | Pointer to **NullableString** | | [optional] +**UpdateAutomatically** | Pointer to **bool** | | [optional] +**UpdateMechanism** | Pointer to [**UpdateMechanism**](UpdateMechanism.md) | | [optional] +**UpdateScriptPath** | Pointer to **NullableString** | | [optional] +**ProxyEnabled** | Pointer to **bool** | | [optional] +**ProxyType** | Pointer to [**ProxyType**](ProxyType.md) | | [optional] +**ProxyHostname** | Pointer to **NullableString** | | [optional] +**ProxyPort** | Pointer to **int32** | | [optional] +**ProxyUsername** | Pointer to **NullableString** | | [optional] +**ProxyPassword** | Pointer to **NullableString** | | [optional] +**ProxyBypassFilter** | Pointer to **NullableString** | | [optional] +**ProxyBypassLocalAddresses** | Pointer to **bool** | | [optional] +**CertificateValidation** | Pointer to [**CertificateValidationType**](CertificateValidationType.md) | | [optional] +**BackupFolder** | Pointer to **NullableString** | | [optional] +**BackupInterval** | Pointer to **int32** | | [optional] +**BackupRetention** | Pointer to **int32** | | [optional] + +## Methods + +### NewHostConfigResource + +`func NewHostConfigResource() *HostConfigResource` + +NewHostConfigResource instantiates a new HostConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHostConfigResourceWithDefaults + +`func NewHostConfigResourceWithDefaults() *HostConfigResource` + +NewHostConfigResourceWithDefaults instantiates a new HostConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *HostConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *HostConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *HostConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *HostConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetBindAddress + +`func (o *HostConfigResource) GetBindAddress() string` + +GetBindAddress returns the BindAddress field if non-nil, zero value otherwise. + +### GetBindAddressOk + +`func (o *HostConfigResource) GetBindAddressOk() (*string, bool)` + +GetBindAddressOk returns a tuple with the BindAddress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBindAddress + +`func (o *HostConfigResource) SetBindAddress(v string)` + +SetBindAddress sets BindAddress field to given value. + +### HasBindAddress + +`func (o *HostConfigResource) HasBindAddress() bool` + +HasBindAddress returns a boolean if a field has been set. + +### SetBindAddressNil + +`func (o *HostConfigResource) SetBindAddressNil(b bool)` + + SetBindAddressNil sets the value for BindAddress to be an explicit nil + +### UnsetBindAddress +`func (o *HostConfigResource) UnsetBindAddress()` + +UnsetBindAddress ensures that no value is present for BindAddress, not even an explicit nil +### GetPort + +`func (o *HostConfigResource) GetPort() int32` + +GetPort returns the Port field if non-nil, zero value otherwise. + +### GetPortOk + +`func (o *HostConfigResource) GetPortOk() (*int32, bool)` + +GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPort + +`func (o *HostConfigResource) SetPort(v int32)` + +SetPort sets Port field to given value. + +### HasPort + +`func (o *HostConfigResource) HasPort() bool` + +HasPort returns a boolean if a field has been set. + +### GetSslPort + +`func (o *HostConfigResource) GetSslPort() int32` + +GetSslPort returns the SslPort field if non-nil, zero value otherwise. + +### GetSslPortOk + +`func (o *HostConfigResource) GetSslPortOk() (*int32, bool)` + +GetSslPortOk returns a tuple with the SslPort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSslPort + +`func (o *HostConfigResource) SetSslPort(v int32)` + +SetSslPort sets SslPort field to given value. + +### HasSslPort + +`func (o *HostConfigResource) HasSslPort() bool` + +HasSslPort returns a boolean if a field has been set. + +### GetEnableSsl + +`func (o *HostConfigResource) GetEnableSsl() bool` + +GetEnableSsl returns the EnableSsl field if non-nil, zero value otherwise. + +### GetEnableSslOk + +`func (o *HostConfigResource) GetEnableSslOk() (*bool, bool)` + +GetEnableSslOk returns a tuple with the EnableSsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableSsl + +`func (o *HostConfigResource) SetEnableSsl(v bool)` + +SetEnableSsl sets EnableSsl field to given value. + +### HasEnableSsl + +`func (o *HostConfigResource) HasEnableSsl() bool` + +HasEnableSsl returns a boolean if a field has been set. + +### GetLaunchBrowser + +`func (o *HostConfigResource) GetLaunchBrowser() bool` + +GetLaunchBrowser returns the LaunchBrowser field if non-nil, zero value otherwise. + +### GetLaunchBrowserOk + +`func (o *HostConfigResource) GetLaunchBrowserOk() (*bool, bool)` + +GetLaunchBrowserOk returns a tuple with the LaunchBrowser field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLaunchBrowser + +`func (o *HostConfigResource) SetLaunchBrowser(v bool)` + +SetLaunchBrowser sets LaunchBrowser field to given value. + +### HasLaunchBrowser + +`func (o *HostConfigResource) HasLaunchBrowser() bool` + +HasLaunchBrowser returns a boolean if a field has been set. + +### GetAuthenticationMethod + +`func (o *HostConfigResource) GetAuthenticationMethod() AuthenticationType` + +GetAuthenticationMethod returns the AuthenticationMethod field if non-nil, zero value otherwise. + +### GetAuthenticationMethodOk + +`func (o *HostConfigResource) GetAuthenticationMethodOk() (*AuthenticationType, bool)` + +GetAuthenticationMethodOk returns a tuple with the AuthenticationMethod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthenticationMethod + +`func (o *HostConfigResource) SetAuthenticationMethod(v AuthenticationType)` + +SetAuthenticationMethod sets AuthenticationMethod field to given value. + +### HasAuthenticationMethod + +`func (o *HostConfigResource) HasAuthenticationMethod() bool` + +HasAuthenticationMethod returns a boolean if a field has been set. + +### GetAnalyticsEnabled + +`func (o *HostConfigResource) GetAnalyticsEnabled() bool` + +GetAnalyticsEnabled returns the AnalyticsEnabled field if non-nil, zero value otherwise. + +### GetAnalyticsEnabledOk + +`func (o *HostConfigResource) GetAnalyticsEnabledOk() (*bool, bool)` + +GetAnalyticsEnabledOk returns a tuple with the AnalyticsEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAnalyticsEnabled + +`func (o *HostConfigResource) SetAnalyticsEnabled(v bool)` + +SetAnalyticsEnabled sets AnalyticsEnabled field to given value. + +### HasAnalyticsEnabled + +`func (o *HostConfigResource) HasAnalyticsEnabled() bool` + +HasAnalyticsEnabled returns a boolean if a field has been set. + +### GetUsername + +`func (o *HostConfigResource) GetUsername() string` + +GetUsername returns the Username field if non-nil, zero value otherwise. + +### GetUsernameOk + +`func (o *HostConfigResource) GetUsernameOk() (*string, bool)` + +GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsername + +`func (o *HostConfigResource) SetUsername(v string)` + +SetUsername sets Username field to given value. + +### HasUsername + +`func (o *HostConfigResource) HasUsername() bool` + +HasUsername returns a boolean if a field has been set. + +### SetUsernameNil + +`func (o *HostConfigResource) SetUsernameNil(b bool)` + + SetUsernameNil sets the value for Username to be an explicit nil + +### UnsetUsername +`func (o *HostConfigResource) UnsetUsername()` + +UnsetUsername ensures that no value is present for Username, not even an explicit nil +### GetPassword + +`func (o *HostConfigResource) GetPassword() string` + +GetPassword returns the Password field if non-nil, zero value otherwise. + +### GetPasswordOk + +`func (o *HostConfigResource) GetPasswordOk() (*string, bool)` + +GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPassword + +`func (o *HostConfigResource) SetPassword(v string)` + +SetPassword sets Password field to given value. + +### HasPassword + +`func (o *HostConfigResource) HasPassword() bool` + +HasPassword returns a boolean if a field has been set. + +### SetPasswordNil + +`func (o *HostConfigResource) SetPasswordNil(b bool)` + + SetPasswordNil sets the value for Password to be an explicit nil + +### UnsetPassword +`func (o *HostConfigResource) UnsetPassword()` + +UnsetPassword ensures that no value is present for Password, not even an explicit nil +### GetLogLevel + +`func (o *HostConfigResource) GetLogLevel() string` + +GetLogLevel returns the LogLevel field if non-nil, zero value otherwise. + +### GetLogLevelOk + +`func (o *HostConfigResource) GetLogLevelOk() (*string, bool)` + +GetLogLevelOk returns a tuple with the LogLevel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLogLevel + +`func (o *HostConfigResource) SetLogLevel(v string)` + +SetLogLevel sets LogLevel field to given value. + +### HasLogLevel + +`func (o *HostConfigResource) HasLogLevel() bool` + +HasLogLevel returns a boolean if a field has been set. + +### SetLogLevelNil + +`func (o *HostConfigResource) SetLogLevelNil(b bool)` + + SetLogLevelNil sets the value for LogLevel to be an explicit nil + +### UnsetLogLevel +`func (o *HostConfigResource) UnsetLogLevel()` + +UnsetLogLevel ensures that no value is present for LogLevel, not even an explicit nil +### GetConsoleLogLevel + +`func (o *HostConfigResource) GetConsoleLogLevel() string` + +GetConsoleLogLevel returns the ConsoleLogLevel field if non-nil, zero value otherwise. + +### GetConsoleLogLevelOk + +`func (o *HostConfigResource) GetConsoleLogLevelOk() (*string, bool)` + +GetConsoleLogLevelOk returns a tuple with the ConsoleLogLevel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConsoleLogLevel + +`func (o *HostConfigResource) SetConsoleLogLevel(v string)` + +SetConsoleLogLevel sets ConsoleLogLevel field to given value. + +### HasConsoleLogLevel + +`func (o *HostConfigResource) HasConsoleLogLevel() bool` + +HasConsoleLogLevel returns a boolean if a field has been set. + +### SetConsoleLogLevelNil + +`func (o *HostConfigResource) SetConsoleLogLevelNil(b bool)` + + SetConsoleLogLevelNil sets the value for ConsoleLogLevel to be an explicit nil + +### UnsetConsoleLogLevel +`func (o *HostConfigResource) UnsetConsoleLogLevel()` + +UnsetConsoleLogLevel ensures that no value is present for ConsoleLogLevel, not even an explicit nil +### GetBranch + +`func (o *HostConfigResource) GetBranch() string` + +GetBranch returns the Branch field if non-nil, zero value otherwise. + +### GetBranchOk + +`func (o *HostConfigResource) GetBranchOk() (*string, bool)` + +GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBranch + +`func (o *HostConfigResource) SetBranch(v string)` + +SetBranch sets Branch field to given value. + +### HasBranch + +`func (o *HostConfigResource) HasBranch() bool` + +HasBranch returns a boolean if a field has been set. + +### SetBranchNil + +`func (o *HostConfigResource) SetBranchNil(b bool)` + + SetBranchNil sets the value for Branch to be an explicit nil + +### UnsetBranch +`func (o *HostConfigResource) UnsetBranch()` + +UnsetBranch ensures that no value is present for Branch, not even an explicit nil +### GetApiKey + +`func (o *HostConfigResource) GetApiKey() string` + +GetApiKey returns the ApiKey field if non-nil, zero value otherwise. + +### GetApiKeyOk + +`func (o *HostConfigResource) GetApiKeyOk() (*string, bool)` + +GetApiKeyOk returns a tuple with the ApiKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApiKey + +`func (o *HostConfigResource) SetApiKey(v string)` + +SetApiKey sets ApiKey field to given value. + +### HasApiKey + +`func (o *HostConfigResource) HasApiKey() bool` + +HasApiKey returns a boolean if a field has been set. + +### SetApiKeyNil + +`func (o *HostConfigResource) SetApiKeyNil(b bool)` + + SetApiKeyNil sets the value for ApiKey to be an explicit nil + +### UnsetApiKey +`func (o *HostConfigResource) UnsetApiKey()` + +UnsetApiKey ensures that no value is present for ApiKey, not even an explicit nil +### GetSslCertPath + +`func (o *HostConfigResource) GetSslCertPath() string` + +GetSslCertPath returns the SslCertPath field if non-nil, zero value otherwise. + +### GetSslCertPathOk + +`func (o *HostConfigResource) GetSslCertPathOk() (*string, bool)` + +GetSslCertPathOk returns a tuple with the SslCertPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSslCertPath + +`func (o *HostConfigResource) SetSslCertPath(v string)` + +SetSslCertPath sets SslCertPath field to given value. + +### HasSslCertPath + +`func (o *HostConfigResource) HasSslCertPath() bool` + +HasSslCertPath returns a boolean if a field has been set. + +### SetSslCertPathNil + +`func (o *HostConfigResource) SetSslCertPathNil(b bool)` + + SetSslCertPathNil sets the value for SslCertPath to be an explicit nil + +### UnsetSslCertPath +`func (o *HostConfigResource) UnsetSslCertPath()` + +UnsetSslCertPath ensures that no value is present for SslCertPath, not even an explicit nil +### GetSslCertPassword + +`func (o *HostConfigResource) GetSslCertPassword() string` + +GetSslCertPassword returns the SslCertPassword field if non-nil, zero value otherwise. + +### GetSslCertPasswordOk + +`func (o *HostConfigResource) GetSslCertPasswordOk() (*string, bool)` + +GetSslCertPasswordOk returns a tuple with the SslCertPassword field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSslCertPassword + +`func (o *HostConfigResource) SetSslCertPassword(v string)` + +SetSslCertPassword sets SslCertPassword field to given value. + +### HasSslCertPassword + +`func (o *HostConfigResource) HasSslCertPassword() bool` + +HasSslCertPassword returns a boolean if a field has been set. + +### SetSslCertPasswordNil + +`func (o *HostConfigResource) SetSslCertPasswordNil(b bool)` + + SetSslCertPasswordNil sets the value for SslCertPassword to be an explicit nil + +### UnsetSslCertPassword +`func (o *HostConfigResource) UnsetSslCertPassword()` + +UnsetSslCertPassword ensures that no value is present for SslCertPassword, not even an explicit nil +### GetUrlBase + +`func (o *HostConfigResource) GetUrlBase() string` + +GetUrlBase returns the UrlBase field if non-nil, zero value otherwise. + +### GetUrlBaseOk + +`func (o *HostConfigResource) GetUrlBaseOk() (*string, bool)` + +GetUrlBaseOk returns a tuple with the UrlBase field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrlBase + +`func (o *HostConfigResource) SetUrlBase(v string)` + +SetUrlBase sets UrlBase field to given value. + +### HasUrlBase + +`func (o *HostConfigResource) HasUrlBase() bool` + +HasUrlBase returns a boolean if a field has been set. + +### SetUrlBaseNil + +`func (o *HostConfigResource) SetUrlBaseNil(b bool)` + + SetUrlBaseNil sets the value for UrlBase to be an explicit nil + +### UnsetUrlBase +`func (o *HostConfigResource) UnsetUrlBase()` + +UnsetUrlBase ensures that no value is present for UrlBase, not even an explicit nil +### GetInstanceName + +`func (o *HostConfigResource) GetInstanceName() string` + +GetInstanceName returns the InstanceName field if non-nil, zero value otherwise. + +### GetInstanceNameOk + +`func (o *HostConfigResource) GetInstanceNameOk() (*string, bool)` + +GetInstanceNameOk returns a tuple with the InstanceName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstanceName + +`func (o *HostConfigResource) SetInstanceName(v string)` + +SetInstanceName sets InstanceName field to given value. + +### HasInstanceName + +`func (o *HostConfigResource) HasInstanceName() bool` + +HasInstanceName returns a boolean if a field has been set. + +### SetInstanceNameNil + +`func (o *HostConfigResource) SetInstanceNameNil(b bool)` + + SetInstanceNameNil sets the value for InstanceName to be an explicit nil + +### UnsetInstanceName +`func (o *HostConfigResource) UnsetInstanceName()` + +UnsetInstanceName ensures that no value is present for InstanceName, not even an explicit nil +### GetApplicationUrl + +`func (o *HostConfigResource) GetApplicationUrl() string` + +GetApplicationUrl returns the ApplicationUrl field if non-nil, zero value otherwise. + +### GetApplicationUrlOk + +`func (o *HostConfigResource) GetApplicationUrlOk() (*string, bool)` + +GetApplicationUrlOk returns a tuple with the ApplicationUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApplicationUrl + +`func (o *HostConfigResource) SetApplicationUrl(v string)` + +SetApplicationUrl sets ApplicationUrl field to given value. + +### HasApplicationUrl + +`func (o *HostConfigResource) HasApplicationUrl() bool` + +HasApplicationUrl returns a boolean if a field has been set. + +### SetApplicationUrlNil + +`func (o *HostConfigResource) SetApplicationUrlNil(b bool)` + + SetApplicationUrlNil sets the value for ApplicationUrl to be an explicit nil + +### UnsetApplicationUrl +`func (o *HostConfigResource) UnsetApplicationUrl()` + +UnsetApplicationUrl ensures that no value is present for ApplicationUrl, not even an explicit nil +### GetUpdateAutomatically + +`func (o *HostConfigResource) GetUpdateAutomatically() bool` + +GetUpdateAutomatically returns the UpdateAutomatically field if non-nil, zero value otherwise. + +### GetUpdateAutomaticallyOk + +`func (o *HostConfigResource) GetUpdateAutomaticallyOk() (*bool, bool)` + +GetUpdateAutomaticallyOk returns a tuple with the UpdateAutomatically field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateAutomatically + +`func (o *HostConfigResource) SetUpdateAutomatically(v bool)` + +SetUpdateAutomatically sets UpdateAutomatically field to given value. + +### HasUpdateAutomatically + +`func (o *HostConfigResource) HasUpdateAutomatically() bool` + +HasUpdateAutomatically returns a boolean if a field has been set. + +### GetUpdateMechanism + +`func (o *HostConfigResource) GetUpdateMechanism() UpdateMechanism` + +GetUpdateMechanism returns the UpdateMechanism field if non-nil, zero value otherwise. + +### GetUpdateMechanismOk + +`func (o *HostConfigResource) GetUpdateMechanismOk() (*UpdateMechanism, bool)` + +GetUpdateMechanismOk returns a tuple with the UpdateMechanism field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateMechanism + +`func (o *HostConfigResource) SetUpdateMechanism(v UpdateMechanism)` + +SetUpdateMechanism sets UpdateMechanism field to given value. + +### HasUpdateMechanism + +`func (o *HostConfigResource) HasUpdateMechanism() bool` + +HasUpdateMechanism returns a boolean if a field has been set. + +### GetUpdateScriptPath + +`func (o *HostConfigResource) GetUpdateScriptPath() string` + +GetUpdateScriptPath returns the UpdateScriptPath field if non-nil, zero value otherwise. + +### GetUpdateScriptPathOk + +`func (o *HostConfigResource) GetUpdateScriptPathOk() (*string, bool)` + +GetUpdateScriptPathOk returns a tuple with the UpdateScriptPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdateScriptPath + +`func (o *HostConfigResource) SetUpdateScriptPath(v string)` + +SetUpdateScriptPath sets UpdateScriptPath field to given value. + +### HasUpdateScriptPath + +`func (o *HostConfigResource) HasUpdateScriptPath() bool` + +HasUpdateScriptPath returns a boolean if a field has been set. + +### SetUpdateScriptPathNil + +`func (o *HostConfigResource) SetUpdateScriptPathNil(b bool)` + + SetUpdateScriptPathNil sets the value for UpdateScriptPath to be an explicit nil + +### UnsetUpdateScriptPath +`func (o *HostConfigResource) UnsetUpdateScriptPath()` + +UnsetUpdateScriptPath ensures that no value is present for UpdateScriptPath, not even an explicit nil +### GetProxyEnabled + +`func (o *HostConfigResource) GetProxyEnabled() bool` + +GetProxyEnabled returns the ProxyEnabled field if non-nil, zero value otherwise. + +### GetProxyEnabledOk + +`func (o *HostConfigResource) GetProxyEnabledOk() (*bool, bool)` + +GetProxyEnabledOk returns a tuple with the ProxyEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyEnabled + +`func (o *HostConfigResource) SetProxyEnabled(v bool)` + +SetProxyEnabled sets ProxyEnabled field to given value. + +### HasProxyEnabled + +`func (o *HostConfigResource) HasProxyEnabled() bool` + +HasProxyEnabled returns a boolean if a field has been set. + +### GetProxyType + +`func (o *HostConfigResource) GetProxyType() ProxyType` + +GetProxyType returns the ProxyType field if non-nil, zero value otherwise. + +### GetProxyTypeOk + +`func (o *HostConfigResource) GetProxyTypeOk() (*ProxyType, bool)` + +GetProxyTypeOk returns a tuple with the ProxyType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyType + +`func (o *HostConfigResource) SetProxyType(v ProxyType)` + +SetProxyType sets ProxyType field to given value. + +### HasProxyType + +`func (o *HostConfigResource) HasProxyType() bool` + +HasProxyType returns a boolean if a field has been set. + +### GetProxyHostname + +`func (o *HostConfigResource) GetProxyHostname() string` + +GetProxyHostname returns the ProxyHostname field if non-nil, zero value otherwise. + +### GetProxyHostnameOk + +`func (o *HostConfigResource) GetProxyHostnameOk() (*string, bool)` + +GetProxyHostnameOk returns a tuple with the ProxyHostname field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyHostname + +`func (o *HostConfigResource) SetProxyHostname(v string)` + +SetProxyHostname sets ProxyHostname field to given value. + +### HasProxyHostname + +`func (o *HostConfigResource) HasProxyHostname() bool` + +HasProxyHostname returns a boolean if a field has been set. + +### SetProxyHostnameNil + +`func (o *HostConfigResource) SetProxyHostnameNil(b bool)` + + SetProxyHostnameNil sets the value for ProxyHostname to be an explicit nil + +### UnsetProxyHostname +`func (o *HostConfigResource) UnsetProxyHostname()` + +UnsetProxyHostname ensures that no value is present for ProxyHostname, not even an explicit nil +### GetProxyPort + +`func (o *HostConfigResource) GetProxyPort() int32` + +GetProxyPort returns the ProxyPort field if non-nil, zero value otherwise. + +### GetProxyPortOk + +`func (o *HostConfigResource) GetProxyPortOk() (*int32, bool)` + +GetProxyPortOk returns a tuple with the ProxyPort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyPort + +`func (o *HostConfigResource) SetProxyPort(v int32)` + +SetProxyPort sets ProxyPort field to given value. + +### HasProxyPort + +`func (o *HostConfigResource) HasProxyPort() bool` + +HasProxyPort returns a boolean if a field has been set. + +### GetProxyUsername + +`func (o *HostConfigResource) GetProxyUsername() string` + +GetProxyUsername returns the ProxyUsername field if non-nil, zero value otherwise. + +### GetProxyUsernameOk + +`func (o *HostConfigResource) GetProxyUsernameOk() (*string, bool)` + +GetProxyUsernameOk returns a tuple with the ProxyUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyUsername + +`func (o *HostConfigResource) SetProxyUsername(v string)` + +SetProxyUsername sets ProxyUsername field to given value. + +### HasProxyUsername + +`func (o *HostConfigResource) HasProxyUsername() bool` + +HasProxyUsername returns a boolean if a field has been set. + +### SetProxyUsernameNil + +`func (o *HostConfigResource) SetProxyUsernameNil(b bool)` + + SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil + +### UnsetProxyUsername +`func (o *HostConfigResource) UnsetProxyUsername()` + +UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil +### GetProxyPassword + +`func (o *HostConfigResource) GetProxyPassword() string` + +GetProxyPassword returns the ProxyPassword field if non-nil, zero value otherwise. + +### GetProxyPasswordOk + +`func (o *HostConfigResource) GetProxyPasswordOk() (*string, bool)` + +GetProxyPasswordOk returns a tuple with the ProxyPassword field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyPassword + +`func (o *HostConfigResource) SetProxyPassword(v string)` + +SetProxyPassword sets ProxyPassword field to given value. + +### HasProxyPassword + +`func (o *HostConfigResource) HasProxyPassword() bool` + +HasProxyPassword returns a boolean if a field has been set. + +### SetProxyPasswordNil + +`func (o *HostConfigResource) SetProxyPasswordNil(b bool)` + + SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil + +### UnsetProxyPassword +`func (o *HostConfigResource) UnsetProxyPassword()` + +UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +### GetProxyBypassFilter + +`func (o *HostConfigResource) GetProxyBypassFilter() string` + +GetProxyBypassFilter returns the ProxyBypassFilter field if non-nil, zero value otherwise. + +### GetProxyBypassFilterOk + +`func (o *HostConfigResource) GetProxyBypassFilterOk() (*string, bool)` + +GetProxyBypassFilterOk returns a tuple with the ProxyBypassFilter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyBypassFilter + +`func (o *HostConfigResource) SetProxyBypassFilter(v string)` + +SetProxyBypassFilter sets ProxyBypassFilter field to given value. + +### HasProxyBypassFilter + +`func (o *HostConfigResource) HasProxyBypassFilter() bool` + +HasProxyBypassFilter returns a boolean if a field has been set. + +### SetProxyBypassFilterNil + +`func (o *HostConfigResource) SetProxyBypassFilterNil(b bool)` + + SetProxyBypassFilterNil sets the value for ProxyBypassFilter to be an explicit nil + +### UnsetProxyBypassFilter +`func (o *HostConfigResource) UnsetProxyBypassFilter()` + +UnsetProxyBypassFilter ensures that no value is present for ProxyBypassFilter, not even an explicit nil +### GetProxyBypassLocalAddresses + +`func (o *HostConfigResource) GetProxyBypassLocalAddresses() bool` + +GetProxyBypassLocalAddresses returns the ProxyBypassLocalAddresses field if non-nil, zero value otherwise. + +### GetProxyBypassLocalAddressesOk + +`func (o *HostConfigResource) GetProxyBypassLocalAddressesOk() (*bool, bool)` + +GetProxyBypassLocalAddressesOk returns a tuple with the ProxyBypassLocalAddresses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProxyBypassLocalAddresses + +`func (o *HostConfigResource) SetProxyBypassLocalAddresses(v bool)` + +SetProxyBypassLocalAddresses sets ProxyBypassLocalAddresses field to given value. + +### HasProxyBypassLocalAddresses + +`func (o *HostConfigResource) HasProxyBypassLocalAddresses() bool` + +HasProxyBypassLocalAddresses returns a boolean if a field has been set. + +### GetCertificateValidation + +`func (o *HostConfigResource) GetCertificateValidation() CertificateValidationType` + +GetCertificateValidation returns the CertificateValidation field if non-nil, zero value otherwise. + +### GetCertificateValidationOk + +`func (o *HostConfigResource) GetCertificateValidationOk() (*CertificateValidationType, bool)` + +GetCertificateValidationOk returns a tuple with the CertificateValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateValidation + +`func (o *HostConfigResource) SetCertificateValidation(v CertificateValidationType)` + +SetCertificateValidation sets CertificateValidation field to given value. + +### HasCertificateValidation + +`func (o *HostConfigResource) HasCertificateValidation() bool` + +HasCertificateValidation returns a boolean if a field has been set. + +### GetBackupFolder + +`func (o *HostConfigResource) GetBackupFolder() string` + +GetBackupFolder returns the BackupFolder field if non-nil, zero value otherwise. + +### GetBackupFolderOk + +`func (o *HostConfigResource) GetBackupFolderOk() (*string, bool)` + +GetBackupFolderOk returns a tuple with the BackupFolder field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBackupFolder + +`func (o *HostConfigResource) SetBackupFolder(v string)` + +SetBackupFolder sets BackupFolder field to given value. + +### HasBackupFolder + +`func (o *HostConfigResource) HasBackupFolder() bool` + +HasBackupFolder returns a boolean if a field has been set. + +### SetBackupFolderNil + +`func (o *HostConfigResource) SetBackupFolderNil(b bool)` + + SetBackupFolderNil sets the value for BackupFolder to be an explicit nil + +### UnsetBackupFolder +`func (o *HostConfigResource) UnsetBackupFolder()` + +UnsetBackupFolder ensures that no value is present for BackupFolder, not even an explicit nil +### GetBackupInterval + +`func (o *HostConfigResource) GetBackupInterval() int32` + +GetBackupInterval returns the BackupInterval field if non-nil, zero value otherwise. + +### GetBackupIntervalOk + +`func (o *HostConfigResource) GetBackupIntervalOk() (*int32, bool)` + +GetBackupIntervalOk returns a tuple with the BackupInterval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBackupInterval + +`func (o *HostConfigResource) SetBackupInterval(v int32)` + +SetBackupInterval sets BackupInterval field to given value. + +### HasBackupInterval + +`func (o *HostConfigResource) HasBackupInterval() bool` + +HasBackupInterval returns a boolean if a field has been set. + +### GetBackupRetention + +`func (o *HostConfigResource) GetBackupRetention() int32` + +GetBackupRetention returns the BackupRetention field if non-nil, zero value otherwise. + +### GetBackupRetentionOk + +`func (o *HostConfigResource) GetBackupRetentionOk() (*int32, bool)` + +GetBackupRetentionOk returns a tuple with the BackupRetention field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBackupRetention + +`func (o *HostConfigResource) SetBackupRetention(v int32)` + +SetBackupRetention sets BackupRetention field to given value. + +### HasBackupRetention + +`func (o *HostConfigResource) HasBackupRetention() bool` + +HasBackupRetention returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/HttpUri.md b/lidarr/docs/HttpUri.md new file mode 100644 index 0000000..a47c17a --- /dev/null +++ b/lidarr/docs/HttpUri.md @@ -0,0 +1,282 @@ +# HttpUri + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**FullUri** | Pointer to **NullableString** | | [optional] [readonly] +**Scheme** | Pointer to **NullableString** | | [optional] [readonly] +**Host** | Pointer to **NullableString** | | [optional] [readonly] +**Port** | Pointer to **NullableInt32** | | [optional] [readonly] +**Path** | Pointer to **NullableString** | | [optional] [readonly] +**Query** | Pointer to **NullableString** | | [optional] [readonly] +**Fragment** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewHttpUri + +`func NewHttpUri() *HttpUri` + +NewHttpUri instantiates a new HttpUri object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewHttpUriWithDefaults + +`func NewHttpUriWithDefaults() *HttpUri` + +NewHttpUriWithDefaults instantiates a new HttpUri object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetFullUri + +`func (o *HttpUri) GetFullUri() string` + +GetFullUri returns the FullUri field if non-nil, zero value otherwise. + +### GetFullUriOk + +`func (o *HttpUri) GetFullUriOk() (*string, bool)` + +GetFullUriOk returns a tuple with the FullUri field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFullUri + +`func (o *HttpUri) SetFullUri(v string)` + +SetFullUri sets FullUri field to given value. + +### HasFullUri + +`func (o *HttpUri) HasFullUri() bool` + +HasFullUri returns a boolean if a field has been set. + +### SetFullUriNil + +`func (o *HttpUri) SetFullUriNil(b bool)` + + SetFullUriNil sets the value for FullUri to be an explicit nil + +### UnsetFullUri +`func (o *HttpUri) UnsetFullUri()` + +UnsetFullUri ensures that no value is present for FullUri, not even an explicit nil +### GetScheme + +`func (o *HttpUri) GetScheme() string` + +GetScheme returns the Scheme field if non-nil, zero value otherwise. + +### GetSchemeOk + +`func (o *HttpUri) GetSchemeOk() (*string, bool)` + +GetSchemeOk returns a tuple with the Scheme field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheme + +`func (o *HttpUri) SetScheme(v string)` + +SetScheme sets Scheme field to given value. + +### HasScheme + +`func (o *HttpUri) HasScheme() bool` + +HasScheme returns a boolean if a field has been set. + +### SetSchemeNil + +`func (o *HttpUri) SetSchemeNil(b bool)` + + SetSchemeNil sets the value for Scheme to be an explicit nil + +### UnsetScheme +`func (o *HttpUri) UnsetScheme()` + +UnsetScheme ensures that no value is present for Scheme, not even an explicit nil +### GetHost + +`func (o *HttpUri) GetHost() string` + +GetHost returns the Host field if non-nil, zero value otherwise. + +### GetHostOk + +`func (o *HttpUri) GetHostOk() (*string, bool)` + +GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHost + +`func (o *HttpUri) SetHost(v string)` + +SetHost sets Host field to given value. + +### HasHost + +`func (o *HttpUri) HasHost() bool` + +HasHost returns a boolean if a field has been set. + +### SetHostNil + +`func (o *HttpUri) SetHostNil(b bool)` + + SetHostNil sets the value for Host to be an explicit nil + +### UnsetHost +`func (o *HttpUri) UnsetHost()` + +UnsetHost ensures that no value is present for Host, not even an explicit nil +### GetPort + +`func (o *HttpUri) GetPort() int32` + +GetPort returns the Port field if non-nil, zero value otherwise. + +### GetPortOk + +`func (o *HttpUri) GetPortOk() (*int32, bool)` + +GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPort + +`func (o *HttpUri) SetPort(v int32)` + +SetPort sets Port field to given value. + +### HasPort + +`func (o *HttpUri) HasPort() bool` + +HasPort returns a boolean if a field has been set. + +### SetPortNil + +`func (o *HttpUri) SetPortNil(b bool)` + + SetPortNil sets the value for Port to be an explicit nil + +### UnsetPort +`func (o *HttpUri) UnsetPort()` + +UnsetPort ensures that no value is present for Port, not even an explicit nil +### GetPath + +`func (o *HttpUri) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *HttpUri) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *HttpUri) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *HttpUri) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *HttpUri) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *HttpUri) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetQuery + +`func (o *HttpUri) GetQuery() string` + +GetQuery returns the Query field if non-nil, zero value otherwise. + +### GetQueryOk + +`func (o *HttpUri) GetQueryOk() (*string, bool)` + +GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuery + +`func (o *HttpUri) SetQuery(v string)` + +SetQuery sets Query field to given value. + +### HasQuery + +`func (o *HttpUri) HasQuery() bool` + +HasQuery returns a boolean if a field has been set. + +### SetQueryNil + +`func (o *HttpUri) SetQueryNil(b bool)` + + SetQueryNil sets the value for Query to be an explicit nil + +### UnsetQuery +`func (o *HttpUri) UnsetQuery()` + +UnsetQuery ensures that no value is present for Query, not even an explicit nil +### GetFragment + +`func (o *HttpUri) GetFragment() string` + +GetFragment returns the Fragment field if non-nil, zero value otherwise. + +### GetFragmentOk + +`func (o *HttpUri) GetFragmentOk() (*string, bool)` + +GetFragmentOk returns a tuple with the Fragment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFragment + +`func (o *HttpUri) SetFragment(v string)` + +SetFragment sets Fragment field to given value. + +### HasFragment + +`func (o *HttpUri) HasFragment() bool` + +HasFragment returns a boolean if a field has been set. + +### SetFragmentNil + +`func (o *HttpUri) SetFragmentNil(b bool)` + + SetFragmentNil sets the value for Fragment to be an explicit nil + +### UnsetFragment +`func (o *HttpUri) UnsetFragment()` + +UnsetFragment ensures that no value is present for Fragment, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ImportListApi.md b/lidarr/docs/ImportListApi.md new file mode 100644 index 0000000..28286e9 --- /dev/null +++ b/lidarr/docs/ImportListApi.md @@ -0,0 +1,590 @@ +# \ImportListApi + +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 + +> ImportListResource CreateApiV1Importlist(ctx).ImportListResource(importListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + importListResource := *lidarrClient.NewImportListResource() // ImportListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Importlist`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.CreateApiV1Importlist`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ImportlistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **importListResource** | [**ImportListResource**](ImportListResource.md) | | + +### Return type + +[**ImportListResource**](ImportListResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1ImportlistActionByName + +> CreateApiV1ImportlistActionByName(ctx, name).ImportListResource(importListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + name := "name_example" // string | + importListResource := *lidarrClient.NewImportListResource() // ImportListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**name** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ImportlistActionByNameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **importListResource** | [**ImportListResource**](ImportListResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Importlist + +> DeleteApiV1Importlist(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1ImportlistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ImportlistById + +> ImportListResource GetApiV1ImportlistById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ImportlistById`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.GetApiV1ImportlistById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ImportlistByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ImportListResource**](ImportListResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Importlist + +> []ImportListResource ListApiV1Importlist(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Importlist`: []ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1Importlist`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ImportlistRequest struct via the builder pattern + + +### Return type + +[**[]ImportListResource**](ImportListResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1ImportlistSchema + +> []ImportListResource ListApiV1ImportlistSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1ImportlistSchema`: []ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.ListApiV1ImportlistSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ImportlistSchemaRequest struct via the builder pattern + + +### Return type + +[**[]ImportListResource**](ImportListResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestApiV1Importlist + +> TestApiV1Importlist(ctx).ImportListResource(importListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + importListResource := *lidarrClient.NewImportListResource() // ImportListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestApiV1ImportlistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **importListResource** | [**ImportListResource**](ImportListResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestallApiV1Importlist + +> TestallApiV1Importlist(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestallApiV1ImportlistRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Importlist + +> ImportListResource UpdateApiV1Importlist(ctx, id).ImportListResource(importListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + importListResource := *lidarrClient.NewImportListResource() // ImportListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Importlist`: ImportListResource + fmt.Fprintf(os.Stdout, "Response from `ImportListApi.UpdateApiV1Importlist`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ImportlistRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **importListResource** | [**ImportListResource**](ImportListResource.md) | | + +### Return type + +[**ImportListResource**](ImportListResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ImportListExclusionApi.md b/lidarr/docs/ImportListExclusionApi.md new file mode 100644 index 0000000..c303e37 --- /dev/null +++ b/lidarr/docs/ImportListExclusionApi.md @@ -0,0 +1,340 @@ +# \ImportListExclusionApi + +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 + +> ImportListExclusionResource CreateApiV1Importlistexclusion(ctx).ImportListExclusionResource(importListExclusionResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + importListExclusionResource := *lidarrClient.NewImportListExclusionResource() // ImportListExclusionResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Importlistexclusion`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.CreateApiV1Importlistexclusion`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ImportlistexclusionRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **importListExclusionResource** | [**ImportListExclusionResource**](ImportListExclusionResource.md) | | + +### Return type + +[**ImportListExclusionResource**](ImportListExclusionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Importlistexclusion + +> DeleteApiV1Importlistexclusion(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1ImportlistexclusionRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ImportlistexclusionById + +> ImportListExclusionResource GetApiV1ImportlistexclusionById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ImportlistexclusionById`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.GetApiV1ImportlistexclusionById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ImportlistexclusionByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ImportListExclusionResource**](ImportListExclusionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Importlistexclusion + +> []ImportListExclusionResource ListApiV1Importlistexclusion(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Importlistexclusion`: []ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.ListApiV1Importlistexclusion`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ImportlistexclusionRequest struct via the builder pattern + + +### Return type + +[**[]ImportListExclusionResource**](ImportListExclusionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Importlistexclusion + +> ImportListExclusionResource UpdateApiV1Importlistexclusion(ctx, id).ImportListExclusionResource(importListExclusionResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + importListExclusionResource := *lidarrClient.NewImportListExclusionResource() // ImportListExclusionResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Importlistexclusion`: ImportListExclusionResource + fmt.Fprintf(os.Stdout, "Response from `ImportListExclusionApi.UpdateApiV1Importlistexclusion`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ImportlistexclusionRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **importListExclusionResource** | [**ImportListExclusionResource**](ImportListExclusionResource.md) | | + +### Return type + +[**ImportListExclusionResource**](ImportListExclusionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ImportListExclusionResource.md b/lidarr/docs/ImportListExclusionResource.md new file mode 100644 index 0000000..c1991ca --- /dev/null +++ b/lidarr/docs/ImportListExclusionResource.md @@ -0,0 +1,128 @@ +# ImportListExclusionResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ForeignId** | Pointer to **NullableString** | | [optional] +**ArtistName** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewImportListExclusionResource + +`func NewImportListExclusionResource() *ImportListExclusionResource` + +NewImportListExclusionResource instantiates a new ImportListExclusionResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewImportListExclusionResourceWithDefaults + +`func NewImportListExclusionResourceWithDefaults() *ImportListExclusionResource` + +NewImportListExclusionResourceWithDefaults instantiates a new ImportListExclusionResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ImportListExclusionResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ImportListExclusionResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ImportListExclusionResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ImportListExclusionResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetForeignId + +`func (o *ImportListExclusionResource) GetForeignId() string` + +GetForeignId returns the ForeignId field if non-nil, zero value otherwise. + +### GetForeignIdOk + +`func (o *ImportListExclusionResource) GetForeignIdOk() (*string, bool)` + +GetForeignIdOk returns a tuple with the ForeignId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignId + +`func (o *ImportListExclusionResource) SetForeignId(v string)` + +SetForeignId sets ForeignId field to given value. + +### HasForeignId + +`func (o *ImportListExclusionResource) HasForeignId() bool` + +HasForeignId returns a boolean if a field has been set. + +### SetForeignIdNil + +`func (o *ImportListExclusionResource) SetForeignIdNil(b bool)` + + SetForeignIdNil sets the value for ForeignId to be an explicit nil + +### UnsetForeignId +`func (o *ImportListExclusionResource) UnsetForeignId()` + +UnsetForeignId ensures that no value is present for ForeignId, not even an explicit nil +### GetArtistName + +`func (o *ImportListExclusionResource) GetArtistName() string` + +GetArtistName returns the ArtistName field if non-nil, zero value otherwise. + +### GetArtistNameOk + +`func (o *ImportListExclusionResource) GetArtistNameOk() (*string, bool)` + +GetArtistNameOk returns a tuple with the ArtistName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistName + +`func (o *ImportListExclusionResource) SetArtistName(v string)` + +SetArtistName sets ArtistName field to given value. + +### HasArtistName + +`func (o *ImportListExclusionResource) HasArtistName() bool` + +HasArtistName returns a boolean if a field has been set. + +### SetArtistNameNil + +`func (o *ImportListExclusionResource) SetArtistNameNil(b bool)` + + SetArtistNameNil sets the value for ArtistName to be an explicit nil + +### UnsetArtistName +`func (o *ImportListExclusionResource) UnsetArtistName()` + +UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ImportListMonitorType.md b/lidarr/docs/ImportListMonitorType.md new file mode 100644 index 0000000..fe68f6b --- /dev/null +++ b/lidarr/docs/ImportListMonitorType.md @@ -0,0 +1,15 @@ +# ImportListMonitorType + +## Enum + + +* `NONE` (value: `"none"`) + +* `SPECIFIC_ALBUM` (value: `"specificAlbum"`) + +* `ENTIRE_ARTIST` (value: `"entireArtist"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ImportListResource.md b/lidarr/docs/ImportListResource.md new file mode 100644 index 0000000..7c0cd46 --- /dev/null +++ b/lidarr/docs/ImportListResource.md @@ -0,0 +1,640 @@ +# ImportListResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Fields** | Pointer to [**[]Field**](Field.md) | | [optional] +**ImplementationName** | Pointer to **NullableString** | | [optional] +**Implementation** | Pointer to **NullableString** | | [optional] +**ConfigContract** | Pointer to **NullableString** | | [optional] +**InfoLink** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to [**ProviderMessage**](ProviderMessage.md) | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Presets** | Pointer to [**[]ImportListResource**](ImportListResource.md) | | [optional] +**EnableAutomaticAdd** | Pointer to **bool** | | [optional] +**ShouldMonitor** | Pointer to [**ImportListMonitorType**](ImportListMonitorType.md) | | [optional] +**ShouldMonitorExisting** | Pointer to **bool** | | [optional] +**ShouldSearch** | Pointer to **bool** | | [optional] +**RootFolderPath** | Pointer to **NullableString** | | [optional] +**MonitorNewItems** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] +**QualityProfileId** | Pointer to **int32** | | [optional] +**MetadataProfileId** | Pointer to **int32** | | [optional] +**ListType** | Pointer to [**ImportListType**](ImportListType.md) | | [optional] +**ListOrder** | Pointer to **int32** | | [optional] + +## Methods + +### NewImportListResource + +`func NewImportListResource() *ImportListResource` + +NewImportListResource instantiates a new ImportListResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewImportListResourceWithDefaults + +`func NewImportListResourceWithDefaults() *ImportListResource` + +NewImportListResourceWithDefaults instantiates a new ImportListResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ImportListResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ImportListResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ImportListResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ImportListResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *ImportListResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ImportListResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *ImportListResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ImportListResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *ImportListResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ImportListResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFields + +`func (o *ImportListResource) GetFields() []Field` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *ImportListResource) GetFieldsOk() (*[]Field, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *ImportListResource) SetFields(v []Field)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *ImportListResource) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *ImportListResource) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *ImportListResource) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil +### GetImplementationName + +`func (o *ImportListResource) GetImplementationName() string` + +GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise. + +### GetImplementationNameOk + +`func (o *ImportListResource) GetImplementationNameOk() (*string, bool)` + +GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementationName + +`func (o *ImportListResource) SetImplementationName(v string)` + +SetImplementationName sets ImplementationName field to given value. + +### HasImplementationName + +`func (o *ImportListResource) HasImplementationName() bool` + +HasImplementationName returns a boolean if a field has been set. + +### SetImplementationNameNil + +`func (o *ImportListResource) SetImplementationNameNil(b bool)` + + SetImplementationNameNil sets the value for ImplementationName to be an explicit nil + +### UnsetImplementationName +`func (o *ImportListResource) UnsetImplementationName()` + +UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +### GetImplementation + +`func (o *ImportListResource) GetImplementation() string` + +GetImplementation returns the Implementation field if non-nil, zero value otherwise. + +### GetImplementationOk + +`func (o *ImportListResource) GetImplementationOk() (*string, bool)` + +GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementation + +`func (o *ImportListResource) SetImplementation(v string)` + +SetImplementation sets Implementation field to given value. + +### HasImplementation + +`func (o *ImportListResource) HasImplementation() bool` + +HasImplementation returns a boolean if a field has been set. + +### SetImplementationNil + +`func (o *ImportListResource) SetImplementationNil(b bool)` + + SetImplementationNil sets the value for Implementation to be an explicit nil + +### UnsetImplementation +`func (o *ImportListResource) UnsetImplementation()` + +UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +### GetConfigContract + +`func (o *ImportListResource) GetConfigContract() string` + +GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise. + +### GetConfigContractOk + +`func (o *ImportListResource) GetConfigContractOk() (*string, bool)` + +GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigContract + +`func (o *ImportListResource) SetConfigContract(v string)` + +SetConfigContract sets ConfigContract field to given value. + +### HasConfigContract + +`func (o *ImportListResource) HasConfigContract() bool` + +HasConfigContract returns a boolean if a field has been set. + +### SetConfigContractNil + +`func (o *ImportListResource) SetConfigContractNil(b bool)` + + SetConfigContractNil sets the value for ConfigContract to be an explicit nil + +### UnsetConfigContract +`func (o *ImportListResource) UnsetConfigContract()` + +UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +### GetInfoLink + +`func (o *ImportListResource) GetInfoLink() string` + +GetInfoLink returns the InfoLink field if non-nil, zero value otherwise. + +### GetInfoLinkOk + +`func (o *ImportListResource) GetInfoLinkOk() (*string, bool)` + +GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoLink + +`func (o *ImportListResource) SetInfoLink(v string)` + +SetInfoLink sets InfoLink field to given value. + +### HasInfoLink + +`func (o *ImportListResource) HasInfoLink() bool` + +HasInfoLink returns a boolean if a field has been set. + +### SetInfoLinkNil + +`func (o *ImportListResource) SetInfoLinkNil(b bool)` + + SetInfoLinkNil sets the value for InfoLink to be an explicit nil + +### UnsetInfoLink +`func (o *ImportListResource) UnsetInfoLink()` + +UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +### GetMessage + +`func (o *ImportListResource) GetMessage() ProviderMessage` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ImportListResource) GetMessageOk() (*ProviderMessage, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ImportListResource) SetMessage(v ProviderMessage)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *ImportListResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetTags + +`func (o *ImportListResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ImportListResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *ImportListResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ImportListResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *ImportListResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ImportListResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetPresets + +`func (o *ImportListResource) GetPresets() []ImportListResource` + +GetPresets returns the Presets field if non-nil, zero value otherwise. + +### GetPresetsOk + +`func (o *ImportListResource) GetPresetsOk() (*[]ImportListResource, bool)` + +GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresets + +`func (o *ImportListResource) SetPresets(v []ImportListResource)` + +SetPresets sets Presets field to given value. + +### HasPresets + +`func (o *ImportListResource) HasPresets() bool` + +HasPresets returns a boolean if a field has been set. + +### SetPresetsNil + +`func (o *ImportListResource) SetPresetsNil(b bool)` + + SetPresetsNil sets the value for Presets to be an explicit nil + +### UnsetPresets +`func (o *ImportListResource) UnsetPresets()` + +UnsetPresets ensures that no value is present for Presets, not even an explicit nil +### GetEnableAutomaticAdd + +`func (o *ImportListResource) GetEnableAutomaticAdd() bool` + +GetEnableAutomaticAdd returns the EnableAutomaticAdd field if non-nil, zero value otherwise. + +### GetEnableAutomaticAddOk + +`func (o *ImportListResource) GetEnableAutomaticAddOk() (*bool, bool)` + +GetEnableAutomaticAddOk returns a tuple with the EnableAutomaticAdd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableAutomaticAdd + +`func (o *ImportListResource) SetEnableAutomaticAdd(v bool)` + +SetEnableAutomaticAdd sets EnableAutomaticAdd field to given value. + +### HasEnableAutomaticAdd + +`func (o *ImportListResource) HasEnableAutomaticAdd() bool` + +HasEnableAutomaticAdd returns a boolean if a field has been set. + +### GetShouldMonitor + +`func (o *ImportListResource) GetShouldMonitor() ImportListMonitorType` + +GetShouldMonitor returns the ShouldMonitor field if non-nil, zero value otherwise. + +### GetShouldMonitorOk + +`func (o *ImportListResource) GetShouldMonitorOk() (*ImportListMonitorType, bool)` + +GetShouldMonitorOk returns a tuple with the ShouldMonitor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShouldMonitor + +`func (o *ImportListResource) SetShouldMonitor(v ImportListMonitorType)` + +SetShouldMonitor sets ShouldMonitor field to given value. + +### HasShouldMonitor + +`func (o *ImportListResource) HasShouldMonitor() bool` + +HasShouldMonitor returns a boolean if a field has been set. + +### GetShouldMonitorExisting + +`func (o *ImportListResource) GetShouldMonitorExisting() bool` + +GetShouldMonitorExisting returns the ShouldMonitorExisting field if non-nil, zero value otherwise. + +### GetShouldMonitorExistingOk + +`func (o *ImportListResource) GetShouldMonitorExistingOk() (*bool, bool)` + +GetShouldMonitorExistingOk returns a tuple with the ShouldMonitorExisting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShouldMonitorExisting + +`func (o *ImportListResource) SetShouldMonitorExisting(v bool)` + +SetShouldMonitorExisting sets ShouldMonitorExisting field to given value. + +### HasShouldMonitorExisting + +`func (o *ImportListResource) HasShouldMonitorExisting() bool` + +HasShouldMonitorExisting returns a boolean if a field has been set. + +### GetShouldSearch + +`func (o *ImportListResource) GetShouldSearch() bool` + +GetShouldSearch returns the ShouldSearch field if non-nil, zero value otherwise. + +### GetShouldSearchOk + +`func (o *ImportListResource) GetShouldSearchOk() (*bool, bool)` + +GetShouldSearchOk returns a tuple with the ShouldSearch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShouldSearch + +`func (o *ImportListResource) SetShouldSearch(v bool)` + +SetShouldSearch sets ShouldSearch field to given value. + +### HasShouldSearch + +`func (o *ImportListResource) HasShouldSearch() bool` + +HasShouldSearch returns a boolean if a field has been set. + +### GetRootFolderPath + +`func (o *ImportListResource) GetRootFolderPath() string` + +GetRootFolderPath returns the RootFolderPath field if non-nil, zero value otherwise. + +### GetRootFolderPathOk + +`func (o *ImportListResource) GetRootFolderPathOk() (*string, bool)` + +GetRootFolderPathOk returns a tuple with the RootFolderPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRootFolderPath + +`func (o *ImportListResource) SetRootFolderPath(v string)` + +SetRootFolderPath sets RootFolderPath field to given value. + +### HasRootFolderPath + +`func (o *ImportListResource) HasRootFolderPath() bool` + +HasRootFolderPath returns a boolean if a field has been set. + +### SetRootFolderPathNil + +`func (o *ImportListResource) SetRootFolderPathNil(b bool)` + + SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil + +### UnsetRootFolderPath +`func (o *ImportListResource) UnsetRootFolderPath()` + +UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +### GetMonitorNewItems + +`func (o *ImportListResource) GetMonitorNewItems() NewItemMonitorTypes` + +GetMonitorNewItems returns the MonitorNewItems field if non-nil, zero value otherwise. + +### GetMonitorNewItemsOk + +`func (o *ImportListResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool)` + +GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitorNewItems + +`func (o *ImportListResource) SetMonitorNewItems(v NewItemMonitorTypes)` + +SetMonitorNewItems sets MonitorNewItems field to given value. + +### HasMonitorNewItems + +`func (o *ImportListResource) HasMonitorNewItems() bool` + +HasMonitorNewItems returns a boolean if a field has been set. + +### GetQualityProfileId + +`func (o *ImportListResource) GetQualityProfileId() int32` + +GetQualityProfileId returns the QualityProfileId field if non-nil, zero value otherwise. + +### GetQualityProfileIdOk + +`func (o *ImportListResource) GetQualityProfileIdOk() (*int32, bool)` + +GetQualityProfileIdOk returns a tuple with the QualityProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityProfileId + +`func (o *ImportListResource) SetQualityProfileId(v int32)` + +SetQualityProfileId sets QualityProfileId field to given value. + +### HasQualityProfileId + +`func (o *ImportListResource) HasQualityProfileId() bool` + +HasQualityProfileId returns a boolean if a field has been set. + +### GetMetadataProfileId + +`func (o *ImportListResource) GetMetadataProfileId() int32` + +GetMetadataProfileId returns the MetadataProfileId field if non-nil, zero value otherwise. + +### GetMetadataProfileIdOk + +`func (o *ImportListResource) GetMetadataProfileIdOk() (*int32, bool)` + +GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataProfileId + +`func (o *ImportListResource) SetMetadataProfileId(v int32)` + +SetMetadataProfileId sets MetadataProfileId field to given value. + +### HasMetadataProfileId + +`func (o *ImportListResource) HasMetadataProfileId() bool` + +HasMetadataProfileId returns a boolean if a field has been set. + +### GetListType + +`func (o *ImportListResource) GetListType() ImportListType` + +GetListType returns the ListType field if non-nil, zero value otherwise. + +### GetListTypeOk + +`func (o *ImportListResource) GetListTypeOk() (*ImportListType, bool)` + +GetListTypeOk returns a tuple with the ListType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetListType + +`func (o *ImportListResource) SetListType(v ImportListType)` + +SetListType sets ListType field to given value. + +### HasListType + +`func (o *ImportListResource) HasListType() bool` + +HasListType returns a boolean if a field has been set. + +### GetListOrder + +`func (o *ImportListResource) GetListOrder() int32` + +GetListOrder returns the ListOrder field if non-nil, zero value otherwise. + +### GetListOrderOk + +`func (o *ImportListResource) GetListOrderOk() (*int32, bool)` + +GetListOrderOk returns a tuple with the ListOrder field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetListOrder + +`func (o *ImportListResource) SetListOrder(v int32)` + +SetListOrder sets ListOrder field to given value. + +### HasListOrder + +`func (o *ImportListResource) HasListOrder() bool` + +HasListOrder returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ImportListType.md b/lidarr/docs/ImportListType.md new file mode 100644 index 0000000..b0e466b --- /dev/null +++ b/lidarr/docs/ImportListType.md @@ -0,0 +1,17 @@ +# ImportListType + +## Enum + + +* `PROGRAM` (value: `"program"`) + +* `SPOTIFY` (value: `"spotify"`) + +* `LAST_FM` (value: `"lastFm"`) + +* `OTHER` (value: `"other"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/IndexerApi.md b/lidarr/docs/IndexerApi.md new file mode 100644 index 0000000..f9c3b99 --- /dev/null +++ b/lidarr/docs/IndexerApi.md @@ -0,0 +1,590 @@ +# \IndexerApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Indexer**](IndexerApi.md#CreateApiV1Indexer) | **Post** /api/v1/indexer | +[**CreateApiV1IndexerActionByName**](IndexerApi.md#CreateApiV1IndexerActionByName) | **Post** /api/v1/indexer/action/{name} | +[**DeleteApiV1Indexer**](IndexerApi.md#DeleteApiV1Indexer) | **Delete** /api/v1/indexer/{id} | +[**GetApiV1IndexerById**](IndexerApi.md#GetApiV1IndexerById) | **Get** /api/v1/indexer/{id} | +[**ListApiV1Indexer**](IndexerApi.md#ListApiV1Indexer) | **Get** /api/v1/indexer | +[**ListApiV1IndexerSchema**](IndexerApi.md#ListApiV1IndexerSchema) | **Get** /api/v1/indexer/schema | +[**TestApiV1Indexer**](IndexerApi.md#TestApiV1Indexer) | **Post** /api/v1/indexer/test | +[**TestallApiV1Indexer**](IndexerApi.md#TestallApiV1Indexer) | **Post** /api/v1/indexer/testall | +[**UpdateApiV1Indexer**](IndexerApi.md#UpdateApiV1Indexer) | **Put** /api/v1/indexer/{id} | + + + +## CreateApiV1Indexer + +> IndexerResource CreateApiV1Indexer(ctx).IndexerResource(indexerResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + indexerResource := *lidarrClient.NewIndexerResource() // IndexerResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.CreateApiV1Indexer(context.Background()).IndexerResource(indexerResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.CreateApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Indexer`: IndexerResource + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.CreateApiV1Indexer`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1IndexerRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **indexerResource** | [**IndexerResource**](IndexerResource.md) | | + +### Return type + +[**IndexerResource**](IndexerResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1IndexerActionByName + +> CreateApiV1IndexerActionByName(ctx, name).IndexerResource(indexerResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + name := "name_example" // string | + indexerResource := *lidarrClient.NewIndexerResource() // IndexerResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.CreateApiV1IndexerActionByName(context.Background(), name).IndexerResource(indexerResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.CreateApiV1IndexerActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**name** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1IndexerActionByNameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **indexerResource** | [**IndexerResource**](IndexerResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Indexer + +> DeleteApiV1Indexer(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.DeleteApiV1Indexer(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.DeleteApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1IndexerRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1IndexerById + +> IndexerResource GetApiV1IndexerById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.GetApiV1IndexerById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.GetApiV1IndexerById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1IndexerById`: IndexerResource + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.GetApiV1IndexerById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1IndexerByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**IndexerResource**](IndexerResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Indexer + +> []IndexerResource ListApiV1Indexer(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.ListApiV1Indexer(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.ListApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Indexer`: []IndexerResource + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.ListApiV1Indexer`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1IndexerRequest struct via the builder pattern + + +### Return type + +[**[]IndexerResource**](IndexerResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1IndexerSchema + +> []IndexerResource ListApiV1IndexerSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.ListApiV1IndexerSchema(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.ListApiV1IndexerSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1IndexerSchema`: []IndexerResource + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.ListApiV1IndexerSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1IndexerSchemaRequest struct via the builder pattern + + +### Return type + +[**[]IndexerResource**](IndexerResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestApiV1Indexer + +> TestApiV1Indexer(ctx).IndexerResource(indexerResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + indexerResource := *lidarrClient.NewIndexerResource() // IndexerResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.TestApiV1Indexer(context.Background()).IndexerResource(indexerResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.TestApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestApiV1IndexerRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **indexerResource** | [**IndexerResource**](IndexerResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestallApiV1Indexer + +> TestallApiV1Indexer(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.TestallApiV1Indexer(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.TestallApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestallApiV1IndexerRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Indexer + +> IndexerResource UpdateApiV1Indexer(ctx, id).IndexerResource(indexerResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + indexerResource := *lidarrClient.NewIndexerResource() // IndexerResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerApi.UpdateApiV1Indexer(context.Background(), id).IndexerResource(indexerResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerApi.UpdateApiV1Indexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Indexer`: IndexerResource + fmt.Fprintf(os.Stdout, "Response from `IndexerApi.UpdateApiV1Indexer`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1IndexerRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **indexerResource** | [**IndexerResource**](IndexerResource.md) | | + +### Return type + +[**IndexerResource**](IndexerResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/IndexerConfigApi.md b/lidarr/docs/IndexerConfigApi.md new file mode 100644 index 0000000..d88c134 --- /dev/null +++ b/lidarr/docs/IndexerConfigApi.md @@ -0,0 +1,208 @@ +# \IndexerConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigIndexer**](IndexerConfigApi.md#GetApiV1ConfigIndexer) | **Get** /api/v1/config/indexer | +[**GetApiV1ConfigIndexerById**](IndexerConfigApi.md#GetApiV1ConfigIndexerById) | **Get** /api/v1/config/indexer/{id} | +[**UpdateApiV1ConfigIndexer**](IndexerConfigApi.md#UpdateApiV1ConfigIndexer) | **Put** /api/v1/config/indexer/{id} | + + + +## GetApiV1ConfigIndexer + +> IndexerConfigResource GetApiV1ConfigIndexer(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerConfigApi.GetApiV1ConfigIndexer(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.GetApiV1ConfigIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigIndexer`: IndexerConfigResource + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.GetApiV1ConfigIndexer`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigIndexerRequest struct via the builder pattern + + +### Return type + +[**IndexerConfigResource**](IndexerConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigIndexerById + +> IndexerConfigResource GetApiV1ConfigIndexerById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerConfigApi.GetApiV1ConfigIndexerById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.GetApiV1ConfigIndexerById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigIndexerById`: IndexerConfigResource + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.GetApiV1ConfigIndexerById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigIndexerByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**IndexerConfigResource**](IndexerConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigIndexer + +> IndexerConfigResource UpdateApiV1ConfigIndexer(ctx, id).IndexerConfigResource(indexerConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + indexerConfigResource := *lidarrClient.NewIndexerConfigResource() // IndexerConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.IndexerConfigApi.UpdateApiV1ConfigIndexer(context.Background(), id).IndexerConfigResource(indexerConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `IndexerConfigApi.UpdateApiV1ConfigIndexer``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigIndexer`: IndexerConfigResource + fmt.Fprintf(os.Stdout, "Response from `IndexerConfigApi.UpdateApiV1ConfigIndexer`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigIndexerRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **indexerConfigResource** | [**IndexerConfigResource**](IndexerConfigResource.md) | | + +### Return type + +[**IndexerConfigResource**](IndexerConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/IndexerConfigResource.md b/lidarr/docs/IndexerConfigResource.md new file mode 100644 index 0000000..9c23dc4 --- /dev/null +++ b/lidarr/docs/IndexerConfigResource.md @@ -0,0 +1,160 @@ +# IndexerConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**MinimumAge** | Pointer to **int32** | | [optional] +**MaximumSize** | Pointer to **int32** | | [optional] +**Retention** | Pointer to **int32** | | [optional] +**RssSyncInterval** | Pointer to **int32** | | [optional] + +## Methods + +### NewIndexerConfigResource + +`func NewIndexerConfigResource() *IndexerConfigResource` + +NewIndexerConfigResource instantiates a new IndexerConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIndexerConfigResourceWithDefaults + +`func NewIndexerConfigResourceWithDefaults() *IndexerConfigResource` + +NewIndexerConfigResourceWithDefaults instantiates a new IndexerConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *IndexerConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *IndexerConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *IndexerConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *IndexerConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetMinimumAge + +`func (o *IndexerConfigResource) GetMinimumAge() int32` + +GetMinimumAge returns the MinimumAge field if non-nil, zero value otherwise. + +### GetMinimumAgeOk + +`func (o *IndexerConfigResource) GetMinimumAgeOk() (*int32, bool)` + +GetMinimumAgeOk returns a tuple with the MinimumAge field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumAge + +`func (o *IndexerConfigResource) SetMinimumAge(v int32)` + +SetMinimumAge sets MinimumAge field to given value. + +### HasMinimumAge + +`func (o *IndexerConfigResource) HasMinimumAge() bool` + +HasMinimumAge returns a boolean if a field has been set. + +### GetMaximumSize + +`func (o *IndexerConfigResource) GetMaximumSize() int32` + +GetMaximumSize returns the MaximumSize field if non-nil, zero value otherwise. + +### GetMaximumSizeOk + +`func (o *IndexerConfigResource) GetMaximumSizeOk() (*int32, bool)` + +GetMaximumSizeOk returns a tuple with the MaximumSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaximumSize + +`func (o *IndexerConfigResource) SetMaximumSize(v int32)` + +SetMaximumSize sets MaximumSize field to given value. + +### HasMaximumSize + +`func (o *IndexerConfigResource) HasMaximumSize() bool` + +HasMaximumSize returns a boolean if a field has been set. + +### GetRetention + +`func (o *IndexerConfigResource) GetRetention() int32` + +GetRetention returns the Retention field if non-nil, zero value otherwise. + +### GetRetentionOk + +`func (o *IndexerConfigResource) GetRetentionOk() (*int32, bool)` + +GetRetentionOk returns a tuple with the Retention field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRetention + +`func (o *IndexerConfigResource) SetRetention(v int32)` + +SetRetention sets Retention field to given value. + +### HasRetention + +`func (o *IndexerConfigResource) HasRetention() bool` + +HasRetention returns a boolean if a field has been set. + +### GetRssSyncInterval + +`func (o *IndexerConfigResource) GetRssSyncInterval() int32` + +GetRssSyncInterval returns the RssSyncInterval field if non-nil, zero value otherwise. + +### GetRssSyncIntervalOk + +`func (o *IndexerConfigResource) GetRssSyncIntervalOk() (*int32, bool)` + +GetRssSyncIntervalOk returns a tuple with the RssSyncInterval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRssSyncInterval + +`func (o *IndexerConfigResource) SetRssSyncInterval(v int32)` + +SetRssSyncInterval sets RssSyncInterval field to given value. + +### HasRssSyncInterval + +`func (o *IndexerConfigResource) HasRssSyncInterval() bool` + +HasRssSyncInterval returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/IndexerResource.md b/lidarr/docs/IndexerResource.md new file mode 100644 index 0000000..facf652 --- /dev/null +++ b/lidarr/docs/IndexerResource.md @@ -0,0 +1,578 @@ +# IndexerResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Fields** | Pointer to [**[]Field**](Field.md) | | [optional] +**ImplementationName** | Pointer to **NullableString** | | [optional] +**Implementation** | Pointer to **NullableString** | | [optional] +**ConfigContract** | Pointer to **NullableString** | | [optional] +**InfoLink** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to [**ProviderMessage**](ProviderMessage.md) | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Presets** | Pointer to [**[]IndexerResource**](IndexerResource.md) | | [optional] +**EnableRss** | Pointer to **bool** | | [optional] +**EnableAutomaticSearch** | Pointer to **bool** | | [optional] +**EnableInteractiveSearch** | Pointer to **bool** | | [optional] +**SupportsRss** | Pointer to **bool** | | [optional] +**SupportsSearch** | Pointer to **bool** | | [optional] +**Protocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**Priority** | Pointer to **int32** | | [optional] +**DownloadClientId** | Pointer to **int32** | | [optional] + +## Methods + +### NewIndexerResource + +`func NewIndexerResource() *IndexerResource` + +NewIndexerResource instantiates a new IndexerResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIndexerResourceWithDefaults + +`func NewIndexerResourceWithDefaults() *IndexerResource` + +NewIndexerResourceWithDefaults instantiates a new IndexerResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *IndexerResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *IndexerResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *IndexerResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *IndexerResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *IndexerResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *IndexerResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *IndexerResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *IndexerResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *IndexerResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *IndexerResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFields + +`func (o *IndexerResource) GetFields() []Field` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *IndexerResource) GetFieldsOk() (*[]Field, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *IndexerResource) SetFields(v []Field)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *IndexerResource) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *IndexerResource) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *IndexerResource) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil +### GetImplementationName + +`func (o *IndexerResource) GetImplementationName() string` + +GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise. + +### GetImplementationNameOk + +`func (o *IndexerResource) GetImplementationNameOk() (*string, bool)` + +GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementationName + +`func (o *IndexerResource) SetImplementationName(v string)` + +SetImplementationName sets ImplementationName field to given value. + +### HasImplementationName + +`func (o *IndexerResource) HasImplementationName() bool` + +HasImplementationName returns a boolean if a field has been set. + +### SetImplementationNameNil + +`func (o *IndexerResource) SetImplementationNameNil(b bool)` + + SetImplementationNameNil sets the value for ImplementationName to be an explicit nil + +### UnsetImplementationName +`func (o *IndexerResource) UnsetImplementationName()` + +UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +### GetImplementation + +`func (o *IndexerResource) GetImplementation() string` + +GetImplementation returns the Implementation field if non-nil, zero value otherwise. + +### GetImplementationOk + +`func (o *IndexerResource) GetImplementationOk() (*string, bool)` + +GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementation + +`func (o *IndexerResource) SetImplementation(v string)` + +SetImplementation sets Implementation field to given value. + +### HasImplementation + +`func (o *IndexerResource) HasImplementation() bool` + +HasImplementation returns a boolean if a field has been set. + +### SetImplementationNil + +`func (o *IndexerResource) SetImplementationNil(b bool)` + + SetImplementationNil sets the value for Implementation to be an explicit nil + +### UnsetImplementation +`func (o *IndexerResource) UnsetImplementation()` + +UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +### GetConfigContract + +`func (o *IndexerResource) GetConfigContract() string` + +GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise. + +### GetConfigContractOk + +`func (o *IndexerResource) GetConfigContractOk() (*string, bool)` + +GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigContract + +`func (o *IndexerResource) SetConfigContract(v string)` + +SetConfigContract sets ConfigContract field to given value. + +### HasConfigContract + +`func (o *IndexerResource) HasConfigContract() bool` + +HasConfigContract returns a boolean if a field has been set. + +### SetConfigContractNil + +`func (o *IndexerResource) SetConfigContractNil(b bool)` + + SetConfigContractNil sets the value for ConfigContract to be an explicit nil + +### UnsetConfigContract +`func (o *IndexerResource) UnsetConfigContract()` + +UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +### GetInfoLink + +`func (o *IndexerResource) GetInfoLink() string` + +GetInfoLink returns the InfoLink field if non-nil, zero value otherwise. + +### GetInfoLinkOk + +`func (o *IndexerResource) GetInfoLinkOk() (*string, bool)` + +GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoLink + +`func (o *IndexerResource) SetInfoLink(v string)` + +SetInfoLink sets InfoLink field to given value. + +### HasInfoLink + +`func (o *IndexerResource) HasInfoLink() bool` + +HasInfoLink returns a boolean if a field has been set. + +### SetInfoLinkNil + +`func (o *IndexerResource) SetInfoLinkNil(b bool)` + + SetInfoLinkNil sets the value for InfoLink to be an explicit nil + +### UnsetInfoLink +`func (o *IndexerResource) UnsetInfoLink()` + +UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +### GetMessage + +`func (o *IndexerResource) GetMessage() ProviderMessage` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *IndexerResource) GetMessageOk() (*ProviderMessage, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *IndexerResource) SetMessage(v ProviderMessage)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *IndexerResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetTags + +`func (o *IndexerResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *IndexerResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *IndexerResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *IndexerResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *IndexerResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *IndexerResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetPresets + +`func (o *IndexerResource) GetPresets() []IndexerResource` + +GetPresets returns the Presets field if non-nil, zero value otherwise. + +### GetPresetsOk + +`func (o *IndexerResource) GetPresetsOk() (*[]IndexerResource, bool)` + +GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresets + +`func (o *IndexerResource) SetPresets(v []IndexerResource)` + +SetPresets sets Presets field to given value. + +### HasPresets + +`func (o *IndexerResource) HasPresets() bool` + +HasPresets returns a boolean if a field has been set. + +### SetPresetsNil + +`func (o *IndexerResource) SetPresetsNil(b bool)` + + SetPresetsNil sets the value for Presets to be an explicit nil + +### UnsetPresets +`func (o *IndexerResource) UnsetPresets()` + +UnsetPresets ensures that no value is present for Presets, not even an explicit nil +### GetEnableRss + +`func (o *IndexerResource) GetEnableRss() bool` + +GetEnableRss returns the EnableRss field if non-nil, zero value otherwise. + +### GetEnableRssOk + +`func (o *IndexerResource) GetEnableRssOk() (*bool, bool)` + +GetEnableRssOk returns a tuple with the EnableRss field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableRss + +`func (o *IndexerResource) SetEnableRss(v bool)` + +SetEnableRss sets EnableRss field to given value. + +### HasEnableRss + +`func (o *IndexerResource) HasEnableRss() bool` + +HasEnableRss returns a boolean if a field has been set. + +### GetEnableAutomaticSearch + +`func (o *IndexerResource) GetEnableAutomaticSearch() bool` + +GetEnableAutomaticSearch returns the EnableAutomaticSearch field if non-nil, zero value otherwise. + +### GetEnableAutomaticSearchOk + +`func (o *IndexerResource) GetEnableAutomaticSearchOk() (*bool, bool)` + +GetEnableAutomaticSearchOk returns a tuple with the EnableAutomaticSearch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableAutomaticSearch + +`func (o *IndexerResource) SetEnableAutomaticSearch(v bool)` + +SetEnableAutomaticSearch sets EnableAutomaticSearch field to given value. + +### HasEnableAutomaticSearch + +`func (o *IndexerResource) HasEnableAutomaticSearch() bool` + +HasEnableAutomaticSearch returns a boolean if a field has been set. + +### GetEnableInteractiveSearch + +`func (o *IndexerResource) GetEnableInteractiveSearch() bool` + +GetEnableInteractiveSearch returns the EnableInteractiveSearch field if non-nil, zero value otherwise. + +### GetEnableInteractiveSearchOk + +`func (o *IndexerResource) GetEnableInteractiveSearchOk() (*bool, bool)` + +GetEnableInteractiveSearchOk returns a tuple with the EnableInteractiveSearch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableInteractiveSearch + +`func (o *IndexerResource) SetEnableInteractiveSearch(v bool)` + +SetEnableInteractiveSearch sets EnableInteractiveSearch field to given value. + +### HasEnableInteractiveSearch + +`func (o *IndexerResource) HasEnableInteractiveSearch() bool` + +HasEnableInteractiveSearch returns a boolean if a field has been set. + +### GetSupportsRss + +`func (o *IndexerResource) GetSupportsRss() bool` + +GetSupportsRss returns the SupportsRss field if non-nil, zero value otherwise. + +### GetSupportsRssOk + +`func (o *IndexerResource) GetSupportsRssOk() (*bool, bool)` + +GetSupportsRssOk returns a tuple with the SupportsRss field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsRss + +`func (o *IndexerResource) SetSupportsRss(v bool)` + +SetSupportsRss sets SupportsRss field to given value. + +### HasSupportsRss + +`func (o *IndexerResource) HasSupportsRss() bool` + +HasSupportsRss returns a boolean if a field has been set. + +### GetSupportsSearch + +`func (o *IndexerResource) GetSupportsSearch() bool` + +GetSupportsSearch returns the SupportsSearch field if non-nil, zero value otherwise. + +### GetSupportsSearchOk + +`func (o *IndexerResource) GetSupportsSearchOk() (*bool, bool)` + +GetSupportsSearchOk returns a tuple with the SupportsSearch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsSearch + +`func (o *IndexerResource) SetSupportsSearch(v bool)` + +SetSupportsSearch sets SupportsSearch field to given value. + +### HasSupportsSearch + +`func (o *IndexerResource) HasSupportsSearch() bool` + +HasSupportsSearch returns a boolean if a field has been set. + +### GetProtocol + +`func (o *IndexerResource) GetProtocol() DownloadProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *IndexerResource) GetProtocolOk() (*DownloadProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *IndexerResource) SetProtocol(v DownloadProtocol)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *IndexerResource) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + +### GetPriority + +`func (o *IndexerResource) GetPriority() int32` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *IndexerResource) GetPriorityOk() (*int32, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *IndexerResource) SetPriority(v int32)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *IndexerResource) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetDownloadClientId + +`func (o *IndexerResource) GetDownloadClientId() int32` + +GetDownloadClientId returns the DownloadClientId field if non-nil, zero value otherwise. + +### GetDownloadClientIdOk + +`func (o *IndexerResource) GetDownloadClientIdOk() (*int32, bool)` + +GetDownloadClientIdOk returns a tuple with the DownloadClientId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadClientId + +`func (o *IndexerResource) SetDownloadClientId(v int32)` + +SetDownloadClientId sets DownloadClientId field to given value. + +### HasDownloadClientId + +`func (o *IndexerResource) HasDownloadClientId() bool` + +HasDownloadClientId returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/InitializeJsApi.md b/lidarr/docs/InitializeJsApi.md new file mode 100644 index 0000000..181adaf --- /dev/null +++ b/lidarr/docs/InitializeJsApi.md @@ -0,0 +1,66 @@ +# \InitializeJsApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetInitializeJs**](InitializeJsApi.md#GetInitializeJs) | **Get** /initialize.js | + + + +## GetInitializeJs + +> GetInitializeJs(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.InitializeJsApi.GetInitializeJs(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `InitializeJsApi.GetInitializeJs``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetInitializeJsRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/IsoCountry.md b/lidarr/docs/IsoCountry.md new file mode 100644 index 0000000..91a3590 --- /dev/null +++ b/lidarr/docs/IsoCountry.md @@ -0,0 +1,102 @@ +# IsoCountry + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TwoLetterCode** | Pointer to **NullableString** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewIsoCountry + +`func NewIsoCountry() *IsoCountry` + +NewIsoCountry instantiates a new IsoCountry object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewIsoCountryWithDefaults + +`func NewIsoCountryWithDefaults() *IsoCountry` + +NewIsoCountryWithDefaults instantiates a new IsoCountry object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTwoLetterCode + +`func (o *IsoCountry) GetTwoLetterCode() string` + +GetTwoLetterCode returns the TwoLetterCode field if non-nil, zero value otherwise. + +### GetTwoLetterCodeOk + +`func (o *IsoCountry) GetTwoLetterCodeOk() (*string, bool)` + +GetTwoLetterCodeOk returns a tuple with the TwoLetterCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTwoLetterCode + +`func (o *IsoCountry) SetTwoLetterCode(v string)` + +SetTwoLetterCode sets TwoLetterCode field to given value. + +### HasTwoLetterCode + +`func (o *IsoCountry) HasTwoLetterCode() bool` + +HasTwoLetterCode returns a boolean if a field has been set. + +### SetTwoLetterCodeNil + +`func (o *IsoCountry) SetTwoLetterCodeNil(b bool)` + + SetTwoLetterCodeNil sets the value for TwoLetterCode to be an explicit nil + +### UnsetTwoLetterCode +`func (o *IsoCountry) UnsetTwoLetterCode()` + +UnsetTwoLetterCode ensures that no value is present for TwoLetterCode, not even an explicit nil +### GetName + +`func (o *IsoCountry) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *IsoCountry) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *IsoCountry) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *IsoCountry) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *IsoCountry) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *IsoCountry) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/LanguageApi.md b/lidarr/docs/LanguageApi.md new file mode 100644 index 0000000..38d8845 --- /dev/null +++ b/lidarr/docs/LanguageApi.md @@ -0,0 +1,137 @@ +# \LanguageApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1LanguageById**](LanguageApi.md#GetApiV1LanguageById) | **Get** /api/v1/language/{id} | +[**ListApiV1Language**](LanguageApi.md#ListApiV1Language) | **Get** /api/v1/language | + + + +## GetApiV1LanguageById + +> LanguageResource GetApiV1LanguageById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LanguageApi.GetApiV1LanguageById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LanguageApi.GetApiV1LanguageById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1LanguageById`: LanguageResource + fmt.Fprintf(os.Stdout, "Response from `LanguageApi.GetApiV1LanguageById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1LanguageByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**LanguageResource**](LanguageResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Language + +> []LanguageResource ListApiV1Language(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LanguageApi.ListApiV1Language(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LanguageApi.ListApiV1Language``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Language`: []LanguageResource + fmt.Fprintf(os.Stdout, "Response from `LanguageApi.ListApiV1Language`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1LanguageRequest struct via the builder pattern + + +### Return type + +[**[]LanguageResource**](LanguageResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/LanguageResource.md b/lidarr/docs/LanguageResource.md new file mode 100644 index 0000000..66bc921 --- /dev/null +++ b/lidarr/docs/LanguageResource.md @@ -0,0 +1,128 @@ +# LanguageResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**NameLower** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewLanguageResource + +`func NewLanguageResource() *LanguageResource` + +NewLanguageResource instantiates a new LanguageResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLanguageResourceWithDefaults + +`func NewLanguageResourceWithDefaults() *LanguageResource` + +NewLanguageResourceWithDefaults instantiates a new LanguageResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *LanguageResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *LanguageResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *LanguageResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *LanguageResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *LanguageResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *LanguageResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *LanguageResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *LanguageResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *LanguageResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *LanguageResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetNameLower + +`func (o *LanguageResource) GetNameLower() string` + +GetNameLower returns the NameLower field if non-nil, zero value otherwise. + +### GetNameLowerOk + +`func (o *LanguageResource) GetNameLowerOk() (*string, bool)` + +GetNameLowerOk returns a tuple with the NameLower field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNameLower + +`func (o *LanguageResource) SetNameLower(v string)` + +SetNameLower sets NameLower field to given value. + +### HasNameLower + +`func (o *LanguageResource) HasNameLower() bool` + +HasNameLower returns a boolean if a field has been set. + +### SetNameLowerNil + +`func (o *LanguageResource) SetNameLowerNil(b bool)` + + SetNameLowerNil sets the value for NameLower to be an explicit nil + +### UnsetNameLower +`func (o *LanguageResource) UnsetNameLower()` + +UnsetNameLower ensures that no value is present for NameLower, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Links.md b/lidarr/docs/Links.md new file mode 100644 index 0000000..d4acd72 --- /dev/null +++ b/lidarr/docs/Links.md @@ -0,0 +1,102 @@ +# Links + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | Pointer to **NullableString** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewLinks + +`func NewLinks() *Links` + +NewLinks instantiates a new Links object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLinksWithDefaults + +`func NewLinksWithDefaults() *Links` + +NewLinksWithDefaults instantiates a new Links object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrl + +`func (o *Links) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *Links) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *Links) SetUrl(v string)` + +SetUrl sets Url field to given value. + +### HasUrl + +`func (o *Links) HasUrl() bool` + +HasUrl returns a boolean if a field has been set. + +### SetUrlNil + +`func (o *Links) SetUrlNil(b bool)` + + SetUrlNil sets the value for Url to be an explicit nil + +### UnsetUrl +`func (o *Links) UnsetUrl()` + +UnsetUrl ensures that no value is present for Url, not even an explicit nil +### GetName + +`func (o *Links) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Links) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Links) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Links) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Links) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Links) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/LocalizationApi.md b/lidarr/docs/LocalizationApi.md new file mode 100644 index 0000000..80b104f --- /dev/null +++ b/lidarr/docs/LocalizationApi.md @@ -0,0 +1,68 @@ +# \LocalizationApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1Localization**](LocalizationApi.md#GetApiV1Localization) | **Get** /api/v1/localization | + + + +## GetApiV1Localization + +> string GetApiV1Localization(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LocalizationApi.GetApiV1Localization(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LocalizationApi.GetApiV1Localization``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1Localization`: string + fmt.Fprintf(os.Stdout, "Response from `LocalizationApi.GetApiV1Localization`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1LocalizationRequest struct via the builder pattern + + +### Return type + +**string** + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/LogApi.md b/lidarr/docs/LogApi.md new file mode 100644 index 0000000..8d7e6bb --- /dev/null +++ b/lidarr/docs/LogApi.md @@ -0,0 +1,68 @@ +# \LogApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1Log**](LogApi.md#GetApiV1Log) | **Get** /api/v1/log | + + + +## GetApiV1Log + +> LogResourcePagingResource GetApiV1Log(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LogApi.GetApiV1Log(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LogApi.GetApiV1Log``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1Log`: LogResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `LogApi.GetApiV1Log`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1LogRequest struct via the builder pattern + + +### Return type + +[**LogResourcePagingResource**](LogResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/LogFileApi.md b/lidarr/docs/LogFileApi.md new file mode 100644 index 0000000..ab61eb8 --- /dev/null +++ b/lidarr/docs/LogFileApi.md @@ -0,0 +1,135 @@ +# \LogFileApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1LogFileByFilename**](LogFileApi.md#GetApiV1LogFileByFilename) | **Get** /api/v1/log/file/{filename} | +[**ListApiV1LogFile**](LogFileApi.md#ListApiV1LogFile) | **Get** /api/v1/log/file | + + + +## GetApiV1LogFileByFilename + +> GetApiV1LogFileByFilename(ctx, filename).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + filename := "filename_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LogFileApi.GetApiV1LogFileByFilename(context.Background(), filename).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LogFileApi.GetApiV1LogFileByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**filename** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1LogFileByFilenameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1LogFile + +> []LogFileResource ListApiV1LogFile(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.LogFileApi.ListApiV1LogFile(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `LogFileApi.ListApiV1LogFile``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1LogFile`: []LogFileResource + fmt.Fprintf(os.Stdout, "Response from `LogFileApi.ListApiV1LogFile`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1LogFileRequest struct via the builder pattern + + +### Return type + +[**[]LogFileResource**](LogFileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/LogFileResource.md b/lidarr/docs/LogFileResource.md new file mode 100644 index 0000000..4494224 --- /dev/null +++ b/lidarr/docs/LogFileResource.md @@ -0,0 +1,190 @@ +# LogFileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Filename** | Pointer to **NullableString** | | [optional] +**LastWriteTime** | Pointer to **time.Time** | | [optional] +**ContentsUrl** | Pointer to **NullableString** | | [optional] +**DownloadUrl** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewLogFileResource + +`func NewLogFileResource() *LogFileResource` + +NewLogFileResource instantiates a new LogFileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLogFileResourceWithDefaults + +`func NewLogFileResourceWithDefaults() *LogFileResource` + +NewLogFileResourceWithDefaults instantiates a new LogFileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *LogFileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *LogFileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *LogFileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *LogFileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetFilename + +`func (o *LogFileResource) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *LogFileResource) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *LogFileResource) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *LogFileResource) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### SetFilenameNil + +`func (o *LogFileResource) SetFilenameNil(b bool)` + + SetFilenameNil sets the value for Filename to be an explicit nil + +### UnsetFilename +`func (o *LogFileResource) UnsetFilename()` + +UnsetFilename ensures that no value is present for Filename, not even an explicit nil +### GetLastWriteTime + +`func (o *LogFileResource) GetLastWriteTime() time.Time` + +GetLastWriteTime returns the LastWriteTime field if non-nil, zero value otherwise. + +### GetLastWriteTimeOk + +`func (o *LogFileResource) GetLastWriteTimeOk() (*time.Time, bool)` + +GetLastWriteTimeOk returns a tuple with the LastWriteTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastWriteTime + +`func (o *LogFileResource) SetLastWriteTime(v time.Time)` + +SetLastWriteTime sets LastWriteTime field to given value. + +### HasLastWriteTime + +`func (o *LogFileResource) HasLastWriteTime() bool` + +HasLastWriteTime returns a boolean if a field has been set. + +### GetContentsUrl + +`func (o *LogFileResource) GetContentsUrl() string` + +GetContentsUrl returns the ContentsUrl field if non-nil, zero value otherwise. + +### GetContentsUrlOk + +`func (o *LogFileResource) GetContentsUrlOk() (*string, bool)` + +GetContentsUrlOk returns a tuple with the ContentsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentsUrl + +`func (o *LogFileResource) SetContentsUrl(v string)` + +SetContentsUrl sets ContentsUrl field to given value. + +### HasContentsUrl + +`func (o *LogFileResource) HasContentsUrl() bool` + +HasContentsUrl returns a boolean if a field has been set. + +### SetContentsUrlNil + +`func (o *LogFileResource) SetContentsUrlNil(b bool)` + + SetContentsUrlNil sets the value for ContentsUrl to be an explicit nil + +### UnsetContentsUrl +`func (o *LogFileResource) UnsetContentsUrl()` + +UnsetContentsUrl ensures that no value is present for ContentsUrl, not even an explicit nil +### GetDownloadUrl + +`func (o *LogFileResource) GetDownloadUrl() string` + +GetDownloadUrl returns the DownloadUrl field if non-nil, zero value otherwise. + +### GetDownloadUrlOk + +`func (o *LogFileResource) GetDownloadUrlOk() (*string, bool)` + +GetDownloadUrlOk returns a tuple with the DownloadUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadUrl + +`func (o *LogFileResource) SetDownloadUrl(v string)` + +SetDownloadUrl sets DownloadUrl field to given value. + +### HasDownloadUrl + +`func (o *LogFileResource) HasDownloadUrl() bool` + +HasDownloadUrl returns a boolean if a field has been set. + +### SetDownloadUrlNil + +`func (o *LogFileResource) SetDownloadUrlNil(b bool)` + + SetDownloadUrlNil sets the value for DownloadUrl to be an explicit nil + +### UnsetDownloadUrl +`func (o *LogFileResource) UnsetDownloadUrl()` + +UnsetDownloadUrl ensures that no value is present for DownloadUrl, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/LogResource.md b/lidarr/docs/LogResource.md new file mode 100644 index 0000000..64de4c6 --- /dev/null +++ b/lidarr/docs/LogResource.md @@ -0,0 +1,298 @@ +# LogResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Time** | Pointer to **time.Time** | | [optional] +**Exception** | Pointer to **NullableString** | | [optional] +**ExceptionType** | Pointer to **NullableString** | | [optional] +**Level** | Pointer to **NullableString** | | [optional] +**Logger** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to **NullableString** | | [optional] +**Method** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewLogResource + +`func NewLogResource() *LogResource` + +NewLogResource instantiates a new LogResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLogResourceWithDefaults + +`func NewLogResourceWithDefaults() *LogResource` + +NewLogResourceWithDefaults instantiates a new LogResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *LogResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *LogResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *LogResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *LogResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetTime + +`func (o *LogResource) GetTime() time.Time` + +GetTime returns the Time field if non-nil, zero value otherwise. + +### GetTimeOk + +`func (o *LogResource) GetTimeOk() (*time.Time, bool)` + +GetTimeOk returns a tuple with the Time field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTime + +`func (o *LogResource) SetTime(v time.Time)` + +SetTime sets Time field to given value. + +### HasTime + +`func (o *LogResource) HasTime() bool` + +HasTime returns a boolean if a field has been set. + +### GetException + +`func (o *LogResource) GetException() string` + +GetException returns the Exception field if non-nil, zero value otherwise. + +### GetExceptionOk + +`func (o *LogResource) GetExceptionOk() (*string, bool)` + +GetExceptionOk returns a tuple with the Exception field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetException + +`func (o *LogResource) SetException(v string)` + +SetException sets Exception field to given value. + +### HasException + +`func (o *LogResource) HasException() bool` + +HasException returns a boolean if a field has been set. + +### SetExceptionNil + +`func (o *LogResource) SetExceptionNil(b bool)` + + SetExceptionNil sets the value for Exception to be an explicit nil + +### UnsetException +`func (o *LogResource) UnsetException()` + +UnsetException ensures that no value is present for Exception, not even an explicit nil +### GetExceptionType + +`func (o *LogResource) GetExceptionType() string` + +GetExceptionType returns the ExceptionType field if non-nil, zero value otherwise. + +### GetExceptionTypeOk + +`func (o *LogResource) GetExceptionTypeOk() (*string, bool)` + +GetExceptionTypeOk returns a tuple with the ExceptionType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExceptionType + +`func (o *LogResource) SetExceptionType(v string)` + +SetExceptionType sets ExceptionType field to given value. + +### HasExceptionType + +`func (o *LogResource) HasExceptionType() bool` + +HasExceptionType returns a boolean if a field has been set. + +### SetExceptionTypeNil + +`func (o *LogResource) SetExceptionTypeNil(b bool)` + + SetExceptionTypeNil sets the value for ExceptionType to be an explicit nil + +### UnsetExceptionType +`func (o *LogResource) UnsetExceptionType()` + +UnsetExceptionType ensures that no value is present for ExceptionType, not even an explicit nil +### GetLevel + +`func (o *LogResource) GetLevel() string` + +GetLevel returns the Level field if non-nil, zero value otherwise. + +### GetLevelOk + +`func (o *LogResource) GetLevelOk() (*string, bool)` + +GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLevel + +`func (o *LogResource) SetLevel(v string)` + +SetLevel sets Level field to given value. + +### HasLevel + +`func (o *LogResource) HasLevel() bool` + +HasLevel returns a boolean if a field has been set. + +### SetLevelNil + +`func (o *LogResource) SetLevelNil(b bool)` + + SetLevelNil sets the value for Level to be an explicit nil + +### UnsetLevel +`func (o *LogResource) UnsetLevel()` + +UnsetLevel ensures that no value is present for Level, not even an explicit nil +### GetLogger + +`func (o *LogResource) GetLogger() string` + +GetLogger returns the Logger field if non-nil, zero value otherwise. + +### GetLoggerOk + +`func (o *LogResource) GetLoggerOk() (*string, bool)` + +GetLoggerOk returns a tuple with the Logger field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLogger + +`func (o *LogResource) SetLogger(v string)` + +SetLogger sets Logger field to given value. + +### HasLogger + +`func (o *LogResource) HasLogger() bool` + +HasLogger returns a boolean if a field has been set. + +### SetLoggerNil + +`func (o *LogResource) SetLoggerNil(b bool)` + + SetLoggerNil sets the value for Logger to be an explicit nil + +### UnsetLogger +`func (o *LogResource) UnsetLogger()` + +UnsetLogger ensures that no value is present for Logger, not even an explicit nil +### GetMessage + +`func (o *LogResource) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *LogResource) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *LogResource) SetMessage(v string)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *LogResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### SetMessageNil + +`func (o *LogResource) SetMessageNil(b bool)` + + SetMessageNil sets the value for Message to be an explicit nil + +### UnsetMessage +`func (o *LogResource) UnsetMessage()` + +UnsetMessage ensures that no value is present for Message, not even an explicit nil +### GetMethod + +`func (o *LogResource) GetMethod() string` + +GetMethod returns the Method field if non-nil, zero value otherwise. + +### GetMethodOk + +`func (o *LogResource) GetMethodOk() (*string, bool)` + +GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMethod + +`func (o *LogResource) SetMethod(v string)` + +SetMethod sets Method field to given value. + +### HasMethod + +`func (o *LogResource) HasMethod() bool` + +HasMethod returns a boolean if a field has been set. + +### SetMethodNil + +`func (o *LogResource) SetMethodNil(b bool)` + + SetMethodNil sets the value for Method to be an explicit nil + +### UnsetMethod +`func (o *LogResource) UnsetMethod()` + +UnsetMethod ensures that no value is present for Method, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/LogResourcePagingResource.md b/lidarr/docs/LogResourcePagingResource.md new file mode 100644 index 0000000..ee13ce2 --- /dev/null +++ b/lidarr/docs/LogResourcePagingResource.md @@ -0,0 +1,242 @@ +# LogResourcePagingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Page** | Pointer to **int32** | | [optional] +**PageSize** | Pointer to **int32** | | [optional] +**SortKey** | Pointer to **NullableString** | | [optional] +**SortDirection** | Pointer to [**SortDirection**](SortDirection.md) | | [optional] +**Filters** | Pointer to [**[]PagingResourceFilter**](PagingResourceFilter.md) | | [optional] +**TotalRecords** | Pointer to **int32** | | [optional] +**Records** | Pointer to [**[]LogResource**](LogResource.md) | | [optional] + +## Methods + +### NewLogResourcePagingResource + +`func NewLogResourcePagingResource() *LogResourcePagingResource` + +NewLogResourcePagingResource instantiates a new LogResourcePagingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewLogResourcePagingResourceWithDefaults + +`func NewLogResourcePagingResourceWithDefaults() *LogResourcePagingResource` + +NewLogResourcePagingResourceWithDefaults instantiates a new LogResourcePagingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPage + +`func (o *LogResourcePagingResource) GetPage() int32` + +GetPage returns the Page field if non-nil, zero value otherwise. + +### GetPageOk + +`func (o *LogResourcePagingResource) GetPageOk() (*int32, bool)` + +GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPage + +`func (o *LogResourcePagingResource) SetPage(v int32)` + +SetPage sets Page field to given value. + +### HasPage + +`func (o *LogResourcePagingResource) HasPage() bool` + +HasPage returns a boolean if a field has been set. + +### GetPageSize + +`func (o *LogResourcePagingResource) GetPageSize() int32` + +GetPageSize returns the PageSize field if non-nil, zero value otherwise. + +### GetPageSizeOk + +`func (o *LogResourcePagingResource) GetPageSizeOk() (*int32, bool)` + +GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageSize + +`func (o *LogResourcePagingResource) SetPageSize(v int32)` + +SetPageSize sets PageSize field to given value. + +### HasPageSize + +`func (o *LogResourcePagingResource) HasPageSize() bool` + +HasPageSize returns a boolean if a field has been set. + +### GetSortKey + +`func (o *LogResourcePagingResource) GetSortKey() string` + +GetSortKey returns the SortKey field if non-nil, zero value otherwise. + +### GetSortKeyOk + +`func (o *LogResourcePagingResource) GetSortKeyOk() (*string, bool)` + +GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortKey + +`func (o *LogResourcePagingResource) SetSortKey(v string)` + +SetSortKey sets SortKey field to given value. + +### HasSortKey + +`func (o *LogResourcePagingResource) HasSortKey() bool` + +HasSortKey returns a boolean if a field has been set. + +### SetSortKeyNil + +`func (o *LogResourcePagingResource) SetSortKeyNil(b bool)` + + SetSortKeyNil sets the value for SortKey to be an explicit nil + +### UnsetSortKey +`func (o *LogResourcePagingResource) UnsetSortKey()` + +UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +### GetSortDirection + +`func (o *LogResourcePagingResource) GetSortDirection() SortDirection` + +GetSortDirection returns the SortDirection field if non-nil, zero value otherwise. + +### GetSortDirectionOk + +`func (o *LogResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool)` + +GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortDirection + +`func (o *LogResourcePagingResource) SetSortDirection(v SortDirection)` + +SetSortDirection sets SortDirection field to given value. + +### HasSortDirection + +`func (o *LogResourcePagingResource) HasSortDirection() bool` + +HasSortDirection returns a boolean if a field has been set. + +### GetFilters + +`func (o *LogResourcePagingResource) GetFilters() []PagingResourceFilter` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *LogResourcePagingResource) GetFiltersOk() (*[]PagingResourceFilter, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *LogResourcePagingResource) SetFilters(v []PagingResourceFilter)` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *LogResourcePagingResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *LogResourcePagingResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *LogResourcePagingResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil +### GetTotalRecords + +`func (o *LogResourcePagingResource) GetTotalRecords() int32` + +GetTotalRecords returns the TotalRecords field if non-nil, zero value otherwise. + +### GetTotalRecordsOk + +`func (o *LogResourcePagingResource) GetTotalRecordsOk() (*int32, bool)` + +GetTotalRecordsOk returns a tuple with the TotalRecords field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRecords + +`func (o *LogResourcePagingResource) SetTotalRecords(v int32)` + +SetTotalRecords sets TotalRecords field to given value. + +### HasTotalRecords + +`func (o *LogResourcePagingResource) HasTotalRecords() bool` + +HasTotalRecords returns a boolean if a field has been set. + +### GetRecords + +`func (o *LogResourcePagingResource) GetRecords() []LogResource` + +GetRecords returns the Records field if non-nil, zero value otherwise. + +### GetRecordsOk + +`func (o *LogResourcePagingResource) GetRecordsOk() (*[]LogResource, bool)` + +GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecords + +`func (o *LogResourcePagingResource) SetRecords(v []LogResource)` + +SetRecords sets Records field to given value. + +### HasRecords + +`func (o *LogResourcePagingResource) HasRecords() bool` + +HasRecords returns a boolean if a field has been set. + +### SetRecordsNil + +`func (o *LogResourcePagingResource) SetRecordsNil(b bool)` + + SetRecordsNil sets the value for Records to be an explicit nil + +### UnsetRecords +`func (o *LogResourcePagingResource) UnsetRecords()` + +UnsetRecords ensures that no value is present for Records, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ManualImportApi.md b/lidarr/docs/ManualImportApi.md new file mode 100644 index 0000000..d4ab5f8 --- /dev/null +++ b/lidarr/docs/ManualImportApi.md @@ -0,0 +1,144 @@ +# \ManualImportApi + +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 + +> []ManualImportResource ListApiV1Manualimport(ctx).Folder(folder).DownloadId(downloadId).ArtistId(artistId).FilterExistingFiles(filterExistingFiles).ReplaceExistingFiles(replaceExistingFiles).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + folder := "folder_example" // string | (optional) + downloadId := "downloadId_example" // string | (optional) + artistId := int32(56) // int32 | (optional) + filterExistingFiles := true // bool | (optional) (default to true) + replaceExistingFiles := true // bool | (optional) (default to true) + + 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() + if err != nil { + 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) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ManualimportRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **folder** | **string** | | + **downloadId** | **string** | | + **artistId** | **int32** | | + **filterExistingFiles** | **bool** | | [default to true] + **replaceExistingFiles** | **bool** | | [default to true] + +### Return type + +[**[]ManualImportResource**](ManualImportResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PutApiV1Manualimport + +> PutApiV1Manualimport(ctx).ManualImportResource(manualImportResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + manualImportResource := []lidarrClient.ManualImportResource{*lidarrClient.NewManualImportResource()} // []ManualImportResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPutApiV1ManualimportRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **manualImportResource** | [**[]ManualImportResource**](ManualImportResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ManualImportResource.md b/lidarr/docs/ManualImportResource.md new file mode 100644 index 0000000..3112e86 --- /dev/null +++ b/lidarr/docs/ManualImportResource.md @@ -0,0 +1,496 @@ +# ManualImportResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Size** | Pointer to **int64** | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Album** | Pointer to [**AlbumResource**](AlbumResource.md) | | [optional] +**AlbumReleaseId** | Pointer to **int32** | | [optional] +**Tracks** | Pointer to [**[]TrackResource**](TrackResource.md) | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**QualityWeight** | Pointer to **int32** | | [optional] +**DownloadId** | Pointer to **NullableString** | | [optional] +**Rejections** | Pointer to [**[]Rejection**](Rejection.md) | | [optional] +**AudioTags** | Pointer to [**ParsedTrackInfo**](ParsedTrackInfo.md) | | [optional] +**AdditionalFile** | Pointer to **bool** | | [optional] +**ReplaceExistingFiles** | Pointer to **bool** | | [optional] +**DisableReleaseSwitching** | Pointer to **bool** | | [optional] + +## Methods + +### NewManualImportResource + +`func NewManualImportResource() *ManualImportResource` + +NewManualImportResource instantiates a new ManualImportResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewManualImportResourceWithDefaults + +`func NewManualImportResourceWithDefaults() *ManualImportResource` + +NewManualImportResourceWithDefaults instantiates a new ManualImportResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ManualImportResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ManualImportResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ManualImportResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ManualImportResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetPath + +`func (o *ManualImportResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *ManualImportResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *ManualImportResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *ManualImportResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *ManualImportResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *ManualImportResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetName + +`func (o *ManualImportResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ManualImportResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *ManualImportResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ManualImportResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *ManualImportResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ManualImportResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetSize + +`func (o *ManualImportResource) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ManualImportResource) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ManualImportResource) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *ManualImportResource) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetArtist + +`func (o *ManualImportResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *ManualImportResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *ManualImportResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *ManualImportResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetAlbum + +`func (o *ManualImportResource) GetAlbum() AlbumResource` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *ManualImportResource) GetAlbumOk() (*AlbumResource, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *ManualImportResource) SetAlbum(v AlbumResource)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *ManualImportResource) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + +### GetAlbumReleaseId + +`func (o *ManualImportResource) GetAlbumReleaseId() int32` + +GetAlbumReleaseId returns the AlbumReleaseId field if non-nil, zero value otherwise. + +### GetAlbumReleaseIdOk + +`func (o *ManualImportResource) GetAlbumReleaseIdOk() (*int32, bool)` + +GetAlbumReleaseIdOk returns a tuple with the AlbumReleaseId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumReleaseId + +`func (o *ManualImportResource) SetAlbumReleaseId(v int32)` + +SetAlbumReleaseId sets AlbumReleaseId field to given value. + +### HasAlbumReleaseId + +`func (o *ManualImportResource) HasAlbumReleaseId() bool` + +HasAlbumReleaseId returns a boolean if a field has been set. + +### GetTracks + +`func (o *ManualImportResource) GetTracks() []TrackResource` + +GetTracks returns the Tracks field if non-nil, zero value otherwise. + +### GetTracksOk + +`func (o *ManualImportResource) GetTracksOk() (*[]TrackResource, bool)` + +GetTracksOk returns a tuple with the Tracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTracks + +`func (o *ManualImportResource) SetTracks(v []TrackResource)` + +SetTracks sets Tracks field to given value. + +### HasTracks + +`func (o *ManualImportResource) HasTracks() bool` + +HasTracks returns a boolean if a field has been set. + +### SetTracksNil + +`func (o *ManualImportResource) SetTracksNil(b bool)` + + SetTracksNil sets the value for Tracks to be an explicit nil + +### UnsetTracks +`func (o *ManualImportResource) UnsetTracks()` + +UnsetTracks ensures that no value is present for Tracks, not even an explicit nil +### GetQuality + +`func (o *ManualImportResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *ManualImportResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *ManualImportResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *ManualImportResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetQualityWeight + +`func (o *ManualImportResource) GetQualityWeight() int32` + +GetQualityWeight returns the QualityWeight field if non-nil, zero value otherwise. + +### GetQualityWeightOk + +`func (o *ManualImportResource) GetQualityWeightOk() (*int32, bool)` + +GetQualityWeightOk returns a tuple with the QualityWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityWeight + +`func (o *ManualImportResource) SetQualityWeight(v int32)` + +SetQualityWeight sets QualityWeight field to given value. + +### HasQualityWeight + +`func (o *ManualImportResource) HasQualityWeight() bool` + +HasQualityWeight returns a boolean if a field has been set. + +### GetDownloadId + +`func (o *ManualImportResource) GetDownloadId() string` + +GetDownloadId returns the DownloadId field if non-nil, zero value otherwise. + +### GetDownloadIdOk + +`func (o *ManualImportResource) GetDownloadIdOk() (*string, bool)` + +GetDownloadIdOk returns a tuple with the DownloadId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadId + +`func (o *ManualImportResource) SetDownloadId(v string)` + +SetDownloadId sets DownloadId field to given value. + +### HasDownloadId + +`func (o *ManualImportResource) HasDownloadId() bool` + +HasDownloadId returns a boolean if a field has been set. + +### SetDownloadIdNil + +`func (o *ManualImportResource) SetDownloadIdNil(b bool)` + + SetDownloadIdNil sets the value for DownloadId to be an explicit nil + +### UnsetDownloadId +`func (o *ManualImportResource) UnsetDownloadId()` + +UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +### GetRejections + +`func (o *ManualImportResource) GetRejections() []Rejection` + +GetRejections returns the Rejections field if non-nil, zero value otherwise. + +### GetRejectionsOk + +`func (o *ManualImportResource) GetRejectionsOk() (*[]Rejection, bool)` + +GetRejectionsOk returns a tuple with the Rejections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRejections + +`func (o *ManualImportResource) SetRejections(v []Rejection)` + +SetRejections sets Rejections field to given value. + +### HasRejections + +`func (o *ManualImportResource) HasRejections() bool` + +HasRejections returns a boolean if a field has been set. + +### SetRejectionsNil + +`func (o *ManualImportResource) SetRejectionsNil(b bool)` + + SetRejectionsNil sets the value for Rejections to be an explicit nil + +### UnsetRejections +`func (o *ManualImportResource) UnsetRejections()` + +UnsetRejections ensures that no value is present for Rejections, not even an explicit nil +### GetAudioTags + +`func (o *ManualImportResource) GetAudioTags() ParsedTrackInfo` + +GetAudioTags returns the AudioTags field if non-nil, zero value otherwise. + +### GetAudioTagsOk + +`func (o *ManualImportResource) GetAudioTagsOk() (*ParsedTrackInfo, bool)` + +GetAudioTagsOk returns a tuple with the AudioTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioTags + +`func (o *ManualImportResource) SetAudioTags(v ParsedTrackInfo)` + +SetAudioTags sets AudioTags field to given value. + +### HasAudioTags + +`func (o *ManualImportResource) HasAudioTags() bool` + +HasAudioTags returns a boolean if a field has been set. + +### GetAdditionalFile + +`func (o *ManualImportResource) GetAdditionalFile() bool` + +GetAdditionalFile returns the AdditionalFile field if non-nil, zero value otherwise. + +### GetAdditionalFileOk + +`func (o *ManualImportResource) GetAdditionalFileOk() (*bool, bool)` + +GetAdditionalFileOk returns a tuple with the AdditionalFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAdditionalFile + +`func (o *ManualImportResource) SetAdditionalFile(v bool)` + +SetAdditionalFile sets AdditionalFile field to given value. + +### HasAdditionalFile + +`func (o *ManualImportResource) HasAdditionalFile() bool` + +HasAdditionalFile returns a boolean if a field has been set. + +### GetReplaceExistingFiles + +`func (o *ManualImportResource) GetReplaceExistingFiles() bool` + +GetReplaceExistingFiles returns the ReplaceExistingFiles field if non-nil, zero value otherwise. + +### GetReplaceExistingFilesOk + +`func (o *ManualImportResource) GetReplaceExistingFilesOk() (*bool, bool)` + +GetReplaceExistingFilesOk returns a tuple with the ReplaceExistingFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReplaceExistingFiles + +`func (o *ManualImportResource) SetReplaceExistingFiles(v bool)` + +SetReplaceExistingFiles sets ReplaceExistingFiles field to given value. + +### HasReplaceExistingFiles + +`func (o *ManualImportResource) HasReplaceExistingFiles() bool` + +HasReplaceExistingFiles returns a boolean if a field has been set. + +### GetDisableReleaseSwitching + +`func (o *ManualImportResource) GetDisableReleaseSwitching() bool` + +GetDisableReleaseSwitching returns the DisableReleaseSwitching field if non-nil, zero value otherwise. + +### GetDisableReleaseSwitchingOk + +`func (o *ManualImportResource) GetDisableReleaseSwitchingOk() (*bool, bool)` + +GetDisableReleaseSwitchingOk returns a tuple with the DisableReleaseSwitching field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableReleaseSwitching + +`func (o *ManualImportResource) SetDisableReleaseSwitching(v bool)` + +SetDisableReleaseSwitching sets DisableReleaseSwitching field to given value. + +### HasDisableReleaseSwitching + +`func (o *ManualImportResource) HasDisableReleaseSwitching() bool` + +HasDisableReleaseSwitching returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediaCover.md b/lidarr/docs/MediaCover.md new file mode 100644 index 0000000..315ea1b --- /dev/null +++ b/lidarr/docs/MediaCover.md @@ -0,0 +1,164 @@ +# MediaCover + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | Pointer to **NullableString** | | [optional] +**CoverType** | Pointer to [**MediaCoverTypes**](MediaCoverTypes.md) | | [optional] +**Extension** | Pointer to **NullableString** | | [optional] [readonly] +**RemoteUrl** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewMediaCover + +`func NewMediaCover() *MediaCover` + +NewMediaCover instantiates a new MediaCover object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediaCoverWithDefaults + +`func NewMediaCoverWithDefaults() *MediaCover` + +NewMediaCoverWithDefaults instantiates a new MediaCover object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrl + +`func (o *MediaCover) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *MediaCover) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *MediaCover) SetUrl(v string)` + +SetUrl sets Url field to given value. + +### HasUrl + +`func (o *MediaCover) HasUrl() bool` + +HasUrl returns a boolean if a field has been set. + +### SetUrlNil + +`func (o *MediaCover) SetUrlNil(b bool)` + + SetUrlNil sets the value for Url to be an explicit nil + +### UnsetUrl +`func (o *MediaCover) UnsetUrl()` + +UnsetUrl ensures that no value is present for Url, not even an explicit nil +### GetCoverType + +`func (o *MediaCover) GetCoverType() MediaCoverTypes` + +GetCoverType returns the CoverType field if non-nil, zero value otherwise. + +### GetCoverTypeOk + +`func (o *MediaCover) GetCoverTypeOk() (*MediaCoverTypes, bool)` + +GetCoverTypeOk returns a tuple with the CoverType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCoverType + +`func (o *MediaCover) SetCoverType(v MediaCoverTypes)` + +SetCoverType sets CoverType field to given value. + +### HasCoverType + +`func (o *MediaCover) HasCoverType() bool` + +HasCoverType returns a boolean if a field has been set. + +### GetExtension + +`func (o *MediaCover) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *MediaCover) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *MediaCover) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *MediaCover) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### SetExtensionNil + +`func (o *MediaCover) SetExtensionNil(b bool)` + + SetExtensionNil sets the value for Extension to be an explicit nil + +### UnsetExtension +`func (o *MediaCover) UnsetExtension()` + +UnsetExtension ensures that no value is present for Extension, not even an explicit nil +### GetRemoteUrl + +`func (o *MediaCover) GetRemoteUrl() string` + +GetRemoteUrl returns the RemoteUrl field if non-nil, zero value otherwise. + +### GetRemoteUrlOk + +`func (o *MediaCover) GetRemoteUrlOk() (*string, bool)` + +GetRemoteUrlOk returns a tuple with the RemoteUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemoteUrl + +`func (o *MediaCover) SetRemoteUrl(v string)` + +SetRemoteUrl sets RemoteUrl field to given value. + +### HasRemoteUrl + +`func (o *MediaCover) HasRemoteUrl() bool` + +HasRemoteUrl returns a boolean if a field has been set. + +### SetRemoteUrlNil + +`func (o *MediaCover) SetRemoteUrlNil(b bool)` + + SetRemoteUrlNil sets the value for RemoteUrl to be an explicit nil + +### UnsetRemoteUrl +`func (o *MediaCover) UnsetRemoteUrl()` + +UnsetRemoteUrl ensures that no value is present for RemoteUrl, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediaCoverApi.md b/lidarr/docs/MediaCoverApi.md new file mode 100644 index 0000000..bfa9f1a --- /dev/null +++ b/lidarr/docs/MediaCoverApi.md @@ -0,0 +1,148 @@ +# \MediaCoverApi + +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 + +> GetApiV1MediacoverAlbumalbumidByFilename(ctx, albumId, filename).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + albumId := int32(56) // int32 | + filename := "filename_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**albumId** | **int32** | | +**filename** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1MediacoverAlbumalbumidByFilenameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1MediacoverArtistartistidByFilename + +> GetApiV1MediacoverArtistartistidByFilename(ctx, artistId, filename).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | + filename := "filename_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**artistId** | **int32** | | +**filename** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1MediacoverArtistartistidByFilenameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MediaCoverTypes.md b/lidarr/docs/MediaCoverTypes.md new file mode 100644 index 0000000..65d9266 --- /dev/null +++ b/lidarr/docs/MediaCoverTypes.md @@ -0,0 +1,27 @@ +# MediaCoverTypes + +## Enum + + +* `UNKNOWN` (value: `"unknown"`) + +* `POSTER` (value: `"poster"`) + +* `BANNER` (value: `"banner"`) + +* `FANART` (value: `"fanart"`) + +* `SCREENSHOT` (value: `"screenshot"`) + +* `HEADSHOT` (value: `"headshot"`) + +* `COVER` (value: `"cover"`) + +* `DISC` (value: `"disc"`) + +* `LOGO` (value: `"logo"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediaInfoModel.md b/lidarr/docs/MediaInfoModel.md new file mode 100644 index 0000000..34751ac --- /dev/null +++ b/lidarr/docs/MediaInfoModel.md @@ -0,0 +1,170 @@ +# MediaInfoModel + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AudioFormat** | Pointer to **NullableString** | | [optional] +**AudioBitrate** | Pointer to **int32** | | [optional] +**AudioChannels** | Pointer to **int32** | | [optional] +**AudioBits** | Pointer to **int32** | | [optional] +**AudioSampleRate** | Pointer to **int32** | | [optional] + +## Methods + +### NewMediaInfoModel + +`func NewMediaInfoModel() *MediaInfoModel` + +NewMediaInfoModel instantiates a new MediaInfoModel object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediaInfoModelWithDefaults + +`func NewMediaInfoModelWithDefaults() *MediaInfoModel` + +NewMediaInfoModelWithDefaults instantiates a new MediaInfoModel object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAudioFormat + +`func (o *MediaInfoModel) GetAudioFormat() string` + +GetAudioFormat returns the AudioFormat field if non-nil, zero value otherwise. + +### GetAudioFormatOk + +`func (o *MediaInfoModel) GetAudioFormatOk() (*string, bool)` + +GetAudioFormatOk returns a tuple with the AudioFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioFormat + +`func (o *MediaInfoModel) SetAudioFormat(v string)` + +SetAudioFormat sets AudioFormat field to given value. + +### HasAudioFormat + +`func (o *MediaInfoModel) HasAudioFormat() bool` + +HasAudioFormat returns a boolean if a field has been set. + +### SetAudioFormatNil + +`func (o *MediaInfoModel) SetAudioFormatNil(b bool)` + + SetAudioFormatNil sets the value for AudioFormat to be an explicit nil + +### UnsetAudioFormat +`func (o *MediaInfoModel) UnsetAudioFormat()` + +UnsetAudioFormat ensures that no value is present for AudioFormat, not even an explicit nil +### GetAudioBitrate + +`func (o *MediaInfoModel) GetAudioBitrate() int32` + +GetAudioBitrate returns the AudioBitrate field if non-nil, zero value otherwise. + +### GetAudioBitrateOk + +`func (o *MediaInfoModel) GetAudioBitrateOk() (*int32, bool)` + +GetAudioBitrateOk returns a tuple with the AudioBitrate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioBitrate + +`func (o *MediaInfoModel) SetAudioBitrate(v int32)` + +SetAudioBitrate sets AudioBitrate field to given value. + +### HasAudioBitrate + +`func (o *MediaInfoModel) HasAudioBitrate() bool` + +HasAudioBitrate returns a boolean if a field has been set. + +### GetAudioChannels + +`func (o *MediaInfoModel) GetAudioChannels() int32` + +GetAudioChannels returns the AudioChannels field if non-nil, zero value otherwise. + +### GetAudioChannelsOk + +`func (o *MediaInfoModel) GetAudioChannelsOk() (*int32, bool)` + +GetAudioChannelsOk returns a tuple with the AudioChannels field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioChannels + +`func (o *MediaInfoModel) SetAudioChannels(v int32)` + +SetAudioChannels sets AudioChannels field to given value. + +### HasAudioChannels + +`func (o *MediaInfoModel) HasAudioChannels() bool` + +HasAudioChannels returns a boolean if a field has been set. + +### GetAudioBits + +`func (o *MediaInfoModel) GetAudioBits() int32` + +GetAudioBits returns the AudioBits field if non-nil, zero value otherwise. + +### GetAudioBitsOk + +`func (o *MediaInfoModel) GetAudioBitsOk() (*int32, bool)` + +GetAudioBitsOk returns a tuple with the AudioBits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioBits + +`func (o *MediaInfoModel) SetAudioBits(v int32)` + +SetAudioBits sets AudioBits field to given value. + +### HasAudioBits + +`func (o *MediaInfoModel) HasAudioBits() bool` + +HasAudioBits returns a boolean if a field has been set. + +### GetAudioSampleRate + +`func (o *MediaInfoModel) GetAudioSampleRate() int32` + +GetAudioSampleRate returns the AudioSampleRate field if non-nil, zero value otherwise. + +### GetAudioSampleRateOk + +`func (o *MediaInfoModel) GetAudioSampleRateOk() (*int32, bool)` + +GetAudioSampleRateOk returns a tuple with the AudioSampleRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioSampleRate + +`func (o *MediaInfoModel) SetAudioSampleRate(v int32)` + +SetAudioSampleRate sets AudioSampleRate field to given value. + +### HasAudioSampleRate + +`func (o *MediaInfoModel) HasAudioSampleRate() bool` + +HasAudioSampleRate returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediaInfoResource.md b/lidarr/docs/MediaInfoResource.md new file mode 100644 index 0000000..1d08f3f --- /dev/null +++ b/lidarr/docs/MediaInfoResource.md @@ -0,0 +1,226 @@ +# MediaInfoResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AudioChannels** | Pointer to **float64** | | [optional] +**AudioBitRate** | Pointer to **NullableString** | | [optional] +**AudioCodec** | Pointer to **NullableString** | | [optional] +**AudioBits** | Pointer to **NullableString** | | [optional] +**AudioSampleRate** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewMediaInfoResource + +`func NewMediaInfoResource() *MediaInfoResource` + +NewMediaInfoResource instantiates a new MediaInfoResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediaInfoResourceWithDefaults + +`func NewMediaInfoResourceWithDefaults() *MediaInfoResource` + +NewMediaInfoResourceWithDefaults instantiates a new MediaInfoResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MediaInfoResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MediaInfoResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MediaInfoResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MediaInfoResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAudioChannels + +`func (o *MediaInfoResource) GetAudioChannels() float64` + +GetAudioChannels returns the AudioChannels field if non-nil, zero value otherwise. + +### GetAudioChannelsOk + +`func (o *MediaInfoResource) GetAudioChannelsOk() (*float64, bool)` + +GetAudioChannelsOk returns a tuple with the AudioChannels field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioChannels + +`func (o *MediaInfoResource) SetAudioChannels(v float64)` + +SetAudioChannels sets AudioChannels field to given value. + +### HasAudioChannels + +`func (o *MediaInfoResource) HasAudioChannels() bool` + +HasAudioChannels returns a boolean if a field has been set. + +### GetAudioBitRate + +`func (o *MediaInfoResource) GetAudioBitRate() string` + +GetAudioBitRate returns the AudioBitRate field if non-nil, zero value otherwise. + +### GetAudioBitRateOk + +`func (o *MediaInfoResource) GetAudioBitRateOk() (*string, bool)` + +GetAudioBitRateOk returns a tuple with the AudioBitRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioBitRate + +`func (o *MediaInfoResource) SetAudioBitRate(v string)` + +SetAudioBitRate sets AudioBitRate field to given value. + +### HasAudioBitRate + +`func (o *MediaInfoResource) HasAudioBitRate() bool` + +HasAudioBitRate returns a boolean if a field has been set. + +### SetAudioBitRateNil + +`func (o *MediaInfoResource) SetAudioBitRateNil(b bool)` + + SetAudioBitRateNil sets the value for AudioBitRate to be an explicit nil + +### UnsetAudioBitRate +`func (o *MediaInfoResource) UnsetAudioBitRate()` + +UnsetAudioBitRate ensures that no value is present for AudioBitRate, not even an explicit nil +### GetAudioCodec + +`func (o *MediaInfoResource) GetAudioCodec() string` + +GetAudioCodec returns the AudioCodec field if non-nil, zero value otherwise. + +### GetAudioCodecOk + +`func (o *MediaInfoResource) GetAudioCodecOk() (*string, bool)` + +GetAudioCodecOk returns a tuple with the AudioCodec field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioCodec + +`func (o *MediaInfoResource) SetAudioCodec(v string)` + +SetAudioCodec sets AudioCodec field to given value. + +### HasAudioCodec + +`func (o *MediaInfoResource) HasAudioCodec() bool` + +HasAudioCodec returns a boolean if a field has been set. + +### SetAudioCodecNil + +`func (o *MediaInfoResource) SetAudioCodecNil(b bool)` + + SetAudioCodecNil sets the value for AudioCodec to be an explicit nil + +### UnsetAudioCodec +`func (o *MediaInfoResource) UnsetAudioCodec()` + +UnsetAudioCodec ensures that no value is present for AudioCodec, not even an explicit nil +### GetAudioBits + +`func (o *MediaInfoResource) GetAudioBits() string` + +GetAudioBits returns the AudioBits field if non-nil, zero value otherwise. + +### GetAudioBitsOk + +`func (o *MediaInfoResource) GetAudioBitsOk() (*string, bool)` + +GetAudioBitsOk returns a tuple with the AudioBits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioBits + +`func (o *MediaInfoResource) SetAudioBits(v string)` + +SetAudioBits sets AudioBits field to given value. + +### HasAudioBits + +`func (o *MediaInfoResource) HasAudioBits() bool` + +HasAudioBits returns a boolean if a field has been set. + +### SetAudioBitsNil + +`func (o *MediaInfoResource) SetAudioBitsNil(b bool)` + + SetAudioBitsNil sets the value for AudioBits to be an explicit nil + +### UnsetAudioBits +`func (o *MediaInfoResource) UnsetAudioBits()` + +UnsetAudioBits ensures that no value is present for AudioBits, not even an explicit nil +### GetAudioSampleRate + +`func (o *MediaInfoResource) GetAudioSampleRate() string` + +GetAudioSampleRate returns the AudioSampleRate field if non-nil, zero value otherwise. + +### GetAudioSampleRateOk + +`func (o *MediaInfoResource) GetAudioSampleRateOk() (*string, bool)` + +GetAudioSampleRateOk returns a tuple with the AudioSampleRate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioSampleRate + +`func (o *MediaInfoResource) SetAudioSampleRate(v string)` + +SetAudioSampleRate sets AudioSampleRate field to given value. + +### HasAudioSampleRate + +`func (o *MediaInfoResource) HasAudioSampleRate() bool` + +HasAudioSampleRate returns a boolean if a field has been set. + +### SetAudioSampleRateNil + +`func (o *MediaInfoResource) SetAudioSampleRateNil(b bool)` + + SetAudioSampleRateNil sets the value for AudioSampleRate to be an explicit nil + +### UnsetAudioSampleRate +`func (o *MediaInfoResource) UnsetAudioSampleRate()` + +UnsetAudioSampleRate ensures that no value is present for AudioSampleRate, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediaManagementConfigApi.md b/lidarr/docs/MediaManagementConfigApi.md new file mode 100644 index 0000000..278769d --- /dev/null +++ b/lidarr/docs/MediaManagementConfigApi.md @@ -0,0 +1,208 @@ +# \MediaManagementConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigMediamanagement**](MediaManagementConfigApi.md#GetApiV1ConfigMediamanagement) | **Get** /api/v1/config/mediamanagement | +[**GetApiV1ConfigMediamanagementById**](MediaManagementConfigApi.md#GetApiV1ConfigMediamanagementById) | **Get** /api/v1/config/mediamanagement/{id} | +[**UpdateApiV1ConfigMediamanagement**](MediaManagementConfigApi.md#UpdateApiV1ConfigMediamanagement) | **Put** /api/v1/config/mediamanagement/{id} | + + + +## GetApiV1ConfigMediamanagement + +> MediaManagementConfigResource GetApiV1ConfigMediamanagement(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MediaManagementConfigApi.GetApiV1ConfigMediamanagement(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.GetApiV1ConfigMediamanagement``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigMediamanagement`: MediaManagementConfigResource + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.GetApiV1ConfigMediamanagement`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigMediamanagementRequest struct via the builder pattern + + +### Return type + +[**MediaManagementConfigResource**](MediaManagementConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigMediamanagementById + +> MediaManagementConfigResource GetApiV1ConfigMediamanagementById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MediaManagementConfigApi.GetApiV1ConfigMediamanagementById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.GetApiV1ConfigMediamanagementById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigMediamanagementById`: MediaManagementConfigResource + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.GetApiV1ConfigMediamanagementById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigMediamanagementByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**MediaManagementConfigResource**](MediaManagementConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigMediamanagement + +> MediaManagementConfigResource UpdateApiV1ConfigMediamanagement(ctx, id).MediaManagementConfigResource(mediaManagementConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + mediaManagementConfigResource := *lidarrClient.NewMediaManagementConfigResource() // MediaManagementConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MediaManagementConfigApi.UpdateApiV1ConfigMediamanagement(context.Background(), id).MediaManagementConfigResource(mediaManagementConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MediaManagementConfigApi.UpdateApiV1ConfigMediamanagement``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigMediamanagement`: MediaManagementConfigResource + fmt.Fprintf(os.Stdout, "Response from `MediaManagementConfigApi.UpdateApiV1ConfigMediamanagement`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigMediamanagementRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **mediaManagementConfigResource** | [**MediaManagementConfigResource**](MediaManagementConfigResource.md) | | + +### Return type + +[**MediaManagementConfigResource**](MediaManagementConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MediaManagementConfigResource.md b/lidarr/docs/MediaManagementConfigResource.md new file mode 100644 index 0000000..8b189bd --- /dev/null +++ b/lidarr/docs/MediaManagementConfigResource.md @@ -0,0 +1,564 @@ +# MediaManagementConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AutoUnmonitorPreviouslyDownloadedTracks** | Pointer to **bool** | | [optional] +**RecycleBin** | Pointer to **NullableString** | | [optional] +**RecycleBinCleanupDays** | Pointer to **int32** | | [optional] +**DownloadPropersAndRepacks** | Pointer to [**ProperDownloadTypes**](ProperDownloadTypes.md) | | [optional] +**CreateEmptyArtistFolders** | Pointer to **bool** | | [optional] +**DeleteEmptyFolders** | Pointer to **bool** | | [optional] +**FileDate** | Pointer to [**FileDateType**](FileDateType.md) | | [optional] +**WatchLibraryForChanges** | Pointer to **bool** | | [optional] +**RescanAfterRefresh** | Pointer to [**RescanAfterRefreshType**](RescanAfterRefreshType.md) | | [optional] +**AllowFingerprinting** | Pointer to [**AllowFingerprinting**](AllowFingerprinting.md) | | [optional] +**SetPermissionsLinux** | Pointer to **bool** | | [optional] +**ChmodFolder** | Pointer to **NullableString** | | [optional] +**ChownGroup** | Pointer to **NullableString** | | [optional] +**SkipFreeSpaceCheckWhenImporting** | Pointer to **bool** | | [optional] +**MinimumFreeSpaceWhenImporting** | Pointer to **int32** | | [optional] +**CopyUsingHardlinks** | Pointer to **bool** | | [optional] +**ImportExtraFiles** | Pointer to **bool** | | [optional] +**ExtraFileExtensions** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewMediaManagementConfigResource + +`func NewMediaManagementConfigResource() *MediaManagementConfigResource` + +NewMediaManagementConfigResource instantiates a new MediaManagementConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediaManagementConfigResourceWithDefaults + +`func NewMediaManagementConfigResourceWithDefaults() *MediaManagementConfigResource` + +NewMediaManagementConfigResourceWithDefaults instantiates a new MediaManagementConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MediaManagementConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MediaManagementConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MediaManagementConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MediaManagementConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAutoUnmonitorPreviouslyDownloadedTracks + +`func (o *MediaManagementConfigResource) GetAutoUnmonitorPreviouslyDownloadedTracks() bool` + +GetAutoUnmonitorPreviouslyDownloadedTracks returns the AutoUnmonitorPreviouslyDownloadedTracks field if non-nil, zero value otherwise. + +### GetAutoUnmonitorPreviouslyDownloadedTracksOk + +`func (o *MediaManagementConfigResource) GetAutoUnmonitorPreviouslyDownloadedTracksOk() (*bool, bool)` + +GetAutoUnmonitorPreviouslyDownloadedTracksOk returns a tuple with the AutoUnmonitorPreviouslyDownloadedTracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAutoUnmonitorPreviouslyDownloadedTracks + +`func (o *MediaManagementConfigResource) SetAutoUnmonitorPreviouslyDownloadedTracks(v bool)` + +SetAutoUnmonitorPreviouslyDownloadedTracks sets AutoUnmonitorPreviouslyDownloadedTracks field to given value. + +### HasAutoUnmonitorPreviouslyDownloadedTracks + +`func (o *MediaManagementConfigResource) HasAutoUnmonitorPreviouslyDownloadedTracks() bool` + +HasAutoUnmonitorPreviouslyDownloadedTracks returns a boolean if a field has been set. + +### GetRecycleBin + +`func (o *MediaManagementConfigResource) GetRecycleBin() string` + +GetRecycleBin returns the RecycleBin field if non-nil, zero value otherwise. + +### GetRecycleBinOk + +`func (o *MediaManagementConfigResource) GetRecycleBinOk() (*string, bool)` + +GetRecycleBinOk returns a tuple with the RecycleBin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecycleBin + +`func (o *MediaManagementConfigResource) SetRecycleBin(v string)` + +SetRecycleBin sets RecycleBin field to given value. + +### HasRecycleBin + +`func (o *MediaManagementConfigResource) HasRecycleBin() bool` + +HasRecycleBin returns a boolean if a field has been set. + +### SetRecycleBinNil + +`func (o *MediaManagementConfigResource) SetRecycleBinNil(b bool)` + + SetRecycleBinNil sets the value for RecycleBin to be an explicit nil + +### UnsetRecycleBin +`func (o *MediaManagementConfigResource) UnsetRecycleBin()` + +UnsetRecycleBin ensures that no value is present for RecycleBin, not even an explicit nil +### GetRecycleBinCleanupDays + +`func (o *MediaManagementConfigResource) GetRecycleBinCleanupDays() int32` + +GetRecycleBinCleanupDays returns the RecycleBinCleanupDays field if non-nil, zero value otherwise. + +### GetRecycleBinCleanupDaysOk + +`func (o *MediaManagementConfigResource) GetRecycleBinCleanupDaysOk() (*int32, bool)` + +GetRecycleBinCleanupDaysOk returns a tuple with the RecycleBinCleanupDays field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecycleBinCleanupDays + +`func (o *MediaManagementConfigResource) SetRecycleBinCleanupDays(v int32)` + +SetRecycleBinCleanupDays sets RecycleBinCleanupDays field to given value. + +### HasRecycleBinCleanupDays + +`func (o *MediaManagementConfigResource) HasRecycleBinCleanupDays() bool` + +HasRecycleBinCleanupDays returns a boolean if a field has been set. + +### GetDownloadPropersAndRepacks + +`func (o *MediaManagementConfigResource) GetDownloadPropersAndRepacks() ProperDownloadTypes` + +GetDownloadPropersAndRepacks returns the DownloadPropersAndRepacks field if non-nil, zero value otherwise. + +### GetDownloadPropersAndRepacksOk + +`func (o *MediaManagementConfigResource) GetDownloadPropersAndRepacksOk() (*ProperDownloadTypes, bool)` + +GetDownloadPropersAndRepacksOk returns a tuple with the DownloadPropersAndRepacks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadPropersAndRepacks + +`func (o *MediaManagementConfigResource) SetDownloadPropersAndRepacks(v ProperDownloadTypes)` + +SetDownloadPropersAndRepacks sets DownloadPropersAndRepacks field to given value. + +### HasDownloadPropersAndRepacks + +`func (o *MediaManagementConfigResource) HasDownloadPropersAndRepacks() bool` + +HasDownloadPropersAndRepacks returns a boolean if a field has been set. + +### GetCreateEmptyArtistFolders + +`func (o *MediaManagementConfigResource) GetCreateEmptyArtistFolders() bool` + +GetCreateEmptyArtistFolders returns the CreateEmptyArtistFolders field if non-nil, zero value otherwise. + +### GetCreateEmptyArtistFoldersOk + +`func (o *MediaManagementConfigResource) GetCreateEmptyArtistFoldersOk() (*bool, bool)` + +GetCreateEmptyArtistFoldersOk returns a tuple with the CreateEmptyArtistFolders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreateEmptyArtistFolders + +`func (o *MediaManagementConfigResource) SetCreateEmptyArtistFolders(v bool)` + +SetCreateEmptyArtistFolders sets CreateEmptyArtistFolders field to given value. + +### HasCreateEmptyArtistFolders + +`func (o *MediaManagementConfigResource) HasCreateEmptyArtistFolders() bool` + +HasCreateEmptyArtistFolders returns a boolean if a field has been set. + +### GetDeleteEmptyFolders + +`func (o *MediaManagementConfigResource) GetDeleteEmptyFolders() bool` + +GetDeleteEmptyFolders returns the DeleteEmptyFolders field if non-nil, zero value otherwise. + +### GetDeleteEmptyFoldersOk + +`func (o *MediaManagementConfigResource) GetDeleteEmptyFoldersOk() (*bool, bool)` + +GetDeleteEmptyFoldersOk returns a tuple with the DeleteEmptyFolders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDeleteEmptyFolders + +`func (o *MediaManagementConfigResource) SetDeleteEmptyFolders(v bool)` + +SetDeleteEmptyFolders sets DeleteEmptyFolders field to given value. + +### HasDeleteEmptyFolders + +`func (o *MediaManagementConfigResource) HasDeleteEmptyFolders() bool` + +HasDeleteEmptyFolders returns a boolean if a field has been set. + +### GetFileDate + +`func (o *MediaManagementConfigResource) GetFileDate() FileDateType` + +GetFileDate returns the FileDate field if non-nil, zero value otherwise. + +### GetFileDateOk + +`func (o *MediaManagementConfigResource) GetFileDateOk() (*FileDateType, bool)` + +GetFileDateOk returns a tuple with the FileDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFileDate + +`func (o *MediaManagementConfigResource) SetFileDate(v FileDateType)` + +SetFileDate sets FileDate field to given value. + +### HasFileDate + +`func (o *MediaManagementConfigResource) HasFileDate() bool` + +HasFileDate returns a boolean if a field has been set. + +### GetWatchLibraryForChanges + +`func (o *MediaManagementConfigResource) GetWatchLibraryForChanges() bool` + +GetWatchLibraryForChanges returns the WatchLibraryForChanges field if non-nil, zero value otherwise. + +### GetWatchLibraryForChangesOk + +`func (o *MediaManagementConfigResource) GetWatchLibraryForChangesOk() (*bool, bool)` + +GetWatchLibraryForChangesOk returns a tuple with the WatchLibraryForChanges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWatchLibraryForChanges + +`func (o *MediaManagementConfigResource) SetWatchLibraryForChanges(v bool)` + +SetWatchLibraryForChanges sets WatchLibraryForChanges field to given value. + +### HasWatchLibraryForChanges + +`func (o *MediaManagementConfigResource) HasWatchLibraryForChanges() bool` + +HasWatchLibraryForChanges returns a boolean if a field has been set. + +### GetRescanAfterRefresh + +`func (o *MediaManagementConfigResource) GetRescanAfterRefresh() RescanAfterRefreshType` + +GetRescanAfterRefresh returns the RescanAfterRefresh field if non-nil, zero value otherwise. + +### GetRescanAfterRefreshOk + +`func (o *MediaManagementConfigResource) GetRescanAfterRefreshOk() (*RescanAfterRefreshType, bool)` + +GetRescanAfterRefreshOk returns a tuple with the RescanAfterRefresh field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRescanAfterRefresh + +`func (o *MediaManagementConfigResource) SetRescanAfterRefresh(v RescanAfterRefreshType)` + +SetRescanAfterRefresh sets RescanAfterRefresh field to given value. + +### HasRescanAfterRefresh + +`func (o *MediaManagementConfigResource) HasRescanAfterRefresh() bool` + +HasRescanAfterRefresh returns a boolean if a field has been set. + +### GetAllowFingerprinting + +`func (o *MediaManagementConfigResource) GetAllowFingerprinting() AllowFingerprinting` + +GetAllowFingerprinting returns the AllowFingerprinting field if non-nil, zero value otherwise. + +### GetAllowFingerprintingOk + +`func (o *MediaManagementConfigResource) GetAllowFingerprintingOk() (*AllowFingerprinting, bool)` + +GetAllowFingerprintingOk returns a tuple with the AllowFingerprinting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowFingerprinting + +`func (o *MediaManagementConfigResource) SetAllowFingerprinting(v AllowFingerprinting)` + +SetAllowFingerprinting sets AllowFingerprinting field to given value. + +### HasAllowFingerprinting + +`func (o *MediaManagementConfigResource) HasAllowFingerprinting() bool` + +HasAllowFingerprinting returns a boolean if a field has been set. + +### GetSetPermissionsLinux + +`func (o *MediaManagementConfigResource) GetSetPermissionsLinux() bool` + +GetSetPermissionsLinux returns the SetPermissionsLinux field if non-nil, zero value otherwise. + +### GetSetPermissionsLinuxOk + +`func (o *MediaManagementConfigResource) GetSetPermissionsLinuxOk() (*bool, bool)` + +GetSetPermissionsLinuxOk returns a tuple with the SetPermissionsLinux field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSetPermissionsLinux + +`func (o *MediaManagementConfigResource) SetSetPermissionsLinux(v bool)` + +SetSetPermissionsLinux sets SetPermissionsLinux field to given value. + +### HasSetPermissionsLinux + +`func (o *MediaManagementConfigResource) HasSetPermissionsLinux() bool` + +HasSetPermissionsLinux returns a boolean if a field has been set. + +### GetChmodFolder + +`func (o *MediaManagementConfigResource) GetChmodFolder() string` + +GetChmodFolder returns the ChmodFolder field if non-nil, zero value otherwise. + +### GetChmodFolderOk + +`func (o *MediaManagementConfigResource) GetChmodFolderOk() (*string, bool)` + +GetChmodFolderOk returns a tuple with the ChmodFolder field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChmodFolder + +`func (o *MediaManagementConfigResource) SetChmodFolder(v string)` + +SetChmodFolder sets ChmodFolder field to given value. + +### HasChmodFolder + +`func (o *MediaManagementConfigResource) HasChmodFolder() bool` + +HasChmodFolder returns a boolean if a field has been set. + +### SetChmodFolderNil + +`func (o *MediaManagementConfigResource) SetChmodFolderNil(b bool)` + + SetChmodFolderNil sets the value for ChmodFolder to be an explicit nil + +### UnsetChmodFolder +`func (o *MediaManagementConfigResource) UnsetChmodFolder()` + +UnsetChmodFolder ensures that no value is present for ChmodFolder, not even an explicit nil +### GetChownGroup + +`func (o *MediaManagementConfigResource) GetChownGroup() string` + +GetChownGroup returns the ChownGroup field if non-nil, zero value otherwise. + +### GetChownGroupOk + +`func (o *MediaManagementConfigResource) GetChownGroupOk() (*string, bool)` + +GetChownGroupOk returns a tuple with the ChownGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChownGroup + +`func (o *MediaManagementConfigResource) SetChownGroup(v string)` + +SetChownGroup sets ChownGroup field to given value. + +### HasChownGroup + +`func (o *MediaManagementConfigResource) HasChownGroup() bool` + +HasChownGroup returns a boolean if a field has been set. + +### SetChownGroupNil + +`func (o *MediaManagementConfigResource) SetChownGroupNil(b bool)` + + SetChownGroupNil sets the value for ChownGroup to be an explicit nil + +### UnsetChownGroup +`func (o *MediaManagementConfigResource) UnsetChownGroup()` + +UnsetChownGroup ensures that no value is present for ChownGroup, not even an explicit nil +### GetSkipFreeSpaceCheckWhenImporting + +`func (o *MediaManagementConfigResource) GetSkipFreeSpaceCheckWhenImporting() bool` + +GetSkipFreeSpaceCheckWhenImporting returns the SkipFreeSpaceCheckWhenImporting field if non-nil, zero value otherwise. + +### GetSkipFreeSpaceCheckWhenImportingOk + +`func (o *MediaManagementConfigResource) GetSkipFreeSpaceCheckWhenImportingOk() (*bool, bool)` + +GetSkipFreeSpaceCheckWhenImportingOk returns a tuple with the SkipFreeSpaceCheckWhenImporting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkipFreeSpaceCheckWhenImporting + +`func (o *MediaManagementConfigResource) SetSkipFreeSpaceCheckWhenImporting(v bool)` + +SetSkipFreeSpaceCheckWhenImporting sets SkipFreeSpaceCheckWhenImporting field to given value. + +### HasSkipFreeSpaceCheckWhenImporting + +`func (o *MediaManagementConfigResource) HasSkipFreeSpaceCheckWhenImporting() bool` + +HasSkipFreeSpaceCheckWhenImporting returns a boolean if a field has been set. + +### GetMinimumFreeSpaceWhenImporting + +`func (o *MediaManagementConfigResource) GetMinimumFreeSpaceWhenImporting() int32` + +GetMinimumFreeSpaceWhenImporting returns the MinimumFreeSpaceWhenImporting field if non-nil, zero value otherwise. + +### GetMinimumFreeSpaceWhenImportingOk + +`func (o *MediaManagementConfigResource) GetMinimumFreeSpaceWhenImportingOk() (*int32, bool)` + +GetMinimumFreeSpaceWhenImportingOk returns a tuple with the MinimumFreeSpaceWhenImporting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinimumFreeSpaceWhenImporting + +`func (o *MediaManagementConfigResource) SetMinimumFreeSpaceWhenImporting(v int32)` + +SetMinimumFreeSpaceWhenImporting sets MinimumFreeSpaceWhenImporting field to given value. + +### HasMinimumFreeSpaceWhenImporting + +`func (o *MediaManagementConfigResource) HasMinimumFreeSpaceWhenImporting() bool` + +HasMinimumFreeSpaceWhenImporting returns a boolean if a field has been set. + +### GetCopyUsingHardlinks + +`func (o *MediaManagementConfigResource) GetCopyUsingHardlinks() bool` + +GetCopyUsingHardlinks returns the CopyUsingHardlinks field if non-nil, zero value otherwise. + +### GetCopyUsingHardlinksOk + +`func (o *MediaManagementConfigResource) GetCopyUsingHardlinksOk() (*bool, bool)` + +GetCopyUsingHardlinksOk returns a tuple with the CopyUsingHardlinks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCopyUsingHardlinks + +`func (o *MediaManagementConfigResource) SetCopyUsingHardlinks(v bool)` + +SetCopyUsingHardlinks sets CopyUsingHardlinks field to given value. + +### HasCopyUsingHardlinks + +`func (o *MediaManagementConfigResource) HasCopyUsingHardlinks() bool` + +HasCopyUsingHardlinks returns a boolean if a field has been set. + +### GetImportExtraFiles + +`func (o *MediaManagementConfigResource) GetImportExtraFiles() bool` + +GetImportExtraFiles returns the ImportExtraFiles field if non-nil, zero value otherwise. + +### GetImportExtraFilesOk + +`func (o *MediaManagementConfigResource) GetImportExtraFilesOk() (*bool, bool)` + +GetImportExtraFilesOk returns a tuple with the ImportExtraFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportExtraFiles + +`func (o *MediaManagementConfigResource) SetImportExtraFiles(v bool)` + +SetImportExtraFiles sets ImportExtraFiles field to given value. + +### HasImportExtraFiles + +`func (o *MediaManagementConfigResource) HasImportExtraFiles() bool` + +HasImportExtraFiles returns a boolean if a field has been set. + +### GetExtraFileExtensions + +`func (o *MediaManagementConfigResource) GetExtraFileExtensions() string` + +GetExtraFileExtensions returns the ExtraFileExtensions field if non-nil, zero value otherwise. + +### GetExtraFileExtensionsOk + +`func (o *MediaManagementConfigResource) GetExtraFileExtensionsOk() (*string, bool)` + +GetExtraFileExtensionsOk returns a tuple with the ExtraFileExtensions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraFileExtensions + +`func (o *MediaManagementConfigResource) SetExtraFileExtensions(v string)` + +SetExtraFileExtensions sets ExtraFileExtensions field to given value. + +### HasExtraFileExtensions + +`func (o *MediaManagementConfigResource) HasExtraFileExtensions() bool` + +HasExtraFileExtensions returns a boolean if a field has been set. + +### SetExtraFileExtensionsNil + +`func (o *MediaManagementConfigResource) SetExtraFileExtensionsNil(b bool)` + + SetExtraFileExtensionsNil sets the value for ExtraFileExtensions to be an explicit nil + +### UnsetExtraFileExtensions +`func (o *MediaManagementConfigResource) UnsetExtraFileExtensions()` + +UnsetExtraFileExtensions ensures that no value is present for ExtraFileExtensions, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Medium.md b/lidarr/docs/Medium.md new file mode 100644 index 0000000..315c54c --- /dev/null +++ b/lidarr/docs/Medium.md @@ -0,0 +1,128 @@ +# Medium + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Number** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Format** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewMedium + +`func NewMedium() *Medium` + +NewMedium instantiates a new Medium object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediumWithDefaults + +`func NewMediumWithDefaults() *Medium` + +NewMediumWithDefaults instantiates a new Medium object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNumber + +`func (o *Medium) GetNumber() int32` + +GetNumber returns the Number field if non-nil, zero value otherwise. + +### GetNumberOk + +`func (o *Medium) GetNumberOk() (*int32, bool)` + +GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumber + +`func (o *Medium) SetNumber(v int32)` + +SetNumber sets Number field to given value. + +### HasNumber + +`func (o *Medium) HasNumber() bool` + +HasNumber returns a boolean if a field has been set. + +### GetName + +`func (o *Medium) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Medium) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Medium) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Medium) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Medium) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Medium) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFormat + +`func (o *Medium) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *Medium) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *Medium) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *Medium) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### SetFormatNil + +`func (o *Medium) SetFormatNil(b bool)` + + SetFormatNil sets the value for Format to be an explicit nil + +### UnsetFormat +`func (o *Medium) UnsetFormat()` + +UnsetFormat ensures that no value is present for Format, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MediumResource.md b/lidarr/docs/MediumResource.md new file mode 100644 index 0000000..f5a3aa7 --- /dev/null +++ b/lidarr/docs/MediumResource.md @@ -0,0 +1,128 @@ +# MediumResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**MediumNumber** | Pointer to **int32** | | [optional] +**MediumName** | Pointer to **NullableString** | | [optional] +**MediumFormat** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewMediumResource + +`func NewMediumResource() *MediumResource` + +NewMediumResource instantiates a new MediumResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMediumResourceWithDefaults + +`func NewMediumResourceWithDefaults() *MediumResource` + +NewMediumResourceWithDefaults instantiates a new MediumResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMediumNumber + +`func (o *MediumResource) GetMediumNumber() int32` + +GetMediumNumber returns the MediumNumber field if non-nil, zero value otherwise. + +### GetMediumNumberOk + +`func (o *MediumResource) GetMediumNumberOk() (*int32, bool)` + +GetMediumNumberOk returns a tuple with the MediumNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumNumber + +`func (o *MediumResource) SetMediumNumber(v int32)` + +SetMediumNumber sets MediumNumber field to given value. + +### HasMediumNumber + +`func (o *MediumResource) HasMediumNumber() bool` + +HasMediumNumber returns a boolean if a field has been set. + +### GetMediumName + +`func (o *MediumResource) GetMediumName() string` + +GetMediumName returns the MediumName field if non-nil, zero value otherwise. + +### GetMediumNameOk + +`func (o *MediumResource) GetMediumNameOk() (*string, bool)` + +GetMediumNameOk returns a tuple with the MediumName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumName + +`func (o *MediumResource) SetMediumName(v string)` + +SetMediumName sets MediumName field to given value. + +### HasMediumName + +`func (o *MediumResource) HasMediumName() bool` + +HasMediumName returns a boolean if a field has been set. + +### SetMediumNameNil + +`func (o *MediumResource) SetMediumNameNil(b bool)` + + SetMediumNameNil sets the value for MediumName to be an explicit nil + +### UnsetMediumName +`func (o *MediumResource) UnsetMediumName()` + +UnsetMediumName ensures that no value is present for MediumName, not even an explicit nil +### GetMediumFormat + +`func (o *MediumResource) GetMediumFormat() string` + +GetMediumFormat returns the MediumFormat field if non-nil, zero value otherwise. + +### GetMediumFormatOk + +`func (o *MediumResource) GetMediumFormatOk() (*string, bool)` + +GetMediumFormatOk returns a tuple with the MediumFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumFormat + +`func (o *MediumResource) SetMediumFormat(v string)` + +SetMediumFormat sets MediumFormat field to given value. + +### HasMediumFormat + +`func (o *MediumResource) HasMediumFormat() bool` + +HasMediumFormat returns a boolean if a field has been set. + +### SetMediumFormatNil + +`func (o *MediumResource) SetMediumFormatNil(b bool)` + + SetMediumFormatNil sets the value for MediumFormat to be an explicit nil + +### UnsetMediumFormat +`func (o *MediumResource) UnsetMediumFormat()` + +UnsetMediumFormat ensures that no value is present for MediumFormat, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Member.md b/lidarr/docs/Member.md new file mode 100644 index 0000000..c58cf9e --- /dev/null +++ b/lidarr/docs/Member.md @@ -0,0 +1,138 @@ +# Member + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **NullableString** | | [optional] +**Instrument** | Pointer to **NullableString** | | [optional] +**Images** | Pointer to [**[]MediaCover**](MediaCover.md) | | [optional] + +## Methods + +### NewMember + +`func NewMember() *Member` + +NewMember instantiates a new Member object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMemberWithDefaults + +`func NewMemberWithDefaults() *Member` + +NewMemberWithDefaults instantiates a new Member object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *Member) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Member) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Member) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Member) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Member) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Member) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetInstrument + +`func (o *Member) GetInstrument() string` + +GetInstrument returns the Instrument field if non-nil, zero value otherwise. + +### GetInstrumentOk + +`func (o *Member) GetInstrumentOk() (*string, bool)` + +GetInstrumentOk returns a tuple with the Instrument field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstrument + +`func (o *Member) SetInstrument(v string)` + +SetInstrument sets Instrument field to given value. + +### HasInstrument + +`func (o *Member) HasInstrument() bool` + +HasInstrument returns a boolean if a field has been set. + +### SetInstrumentNil + +`func (o *Member) SetInstrumentNil(b bool)` + + SetInstrumentNil sets the value for Instrument to be an explicit nil + +### UnsetInstrument +`func (o *Member) UnsetInstrument()` + +UnsetInstrument ensures that no value is present for Instrument, not even an explicit nil +### GetImages + +`func (o *Member) GetImages() []MediaCover` + +GetImages returns the Images field if non-nil, zero value otherwise. + +### GetImagesOk + +`func (o *Member) GetImagesOk() (*[]MediaCover, bool)` + +GetImagesOk returns a tuple with the Images field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImages + +`func (o *Member) SetImages(v []MediaCover)` + +SetImages sets Images field to given value. + +### HasImages + +`func (o *Member) HasImages() bool` + +HasImages returns a boolean if a field has been set. + +### SetImagesNil + +`func (o *Member) SetImagesNil(b bool)` + + SetImagesNil sets the value for Images to be an explicit nil + +### UnsetImages +`func (o *Member) UnsetImages()` + +UnsetImages ensures that no value is present for Images, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MetadataApi.md b/lidarr/docs/MetadataApi.md new file mode 100644 index 0000000..9410f7b --- /dev/null +++ b/lidarr/docs/MetadataApi.md @@ -0,0 +1,590 @@ +# \MetadataApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Metadata**](MetadataApi.md#CreateApiV1Metadata) | **Post** /api/v1/metadata | +[**CreateApiV1MetadataActionByName**](MetadataApi.md#CreateApiV1MetadataActionByName) | **Post** /api/v1/metadata/action/{name} | +[**DeleteApiV1Metadata**](MetadataApi.md#DeleteApiV1Metadata) | **Delete** /api/v1/metadata/{id} | +[**GetApiV1MetadataById**](MetadataApi.md#GetApiV1MetadataById) | **Get** /api/v1/metadata/{id} | +[**ListApiV1Metadata**](MetadataApi.md#ListApiV1Metadata) | **Get** /api/v1/metadata | +[**ListApiV1MetadataSchema**](MetadataApi.md#ListApiV1MetadataSchema) | **Get** /api/v1/metadata/schema | +[**TestApiV1Metadata**](MetadataApi.md#TestApiV1Metadata) | **Post** /api/v1/metadata/test | +[**TestallApiV1Metadata**](MetadataApi.md#TestallApiV1Metadata) | **Post** /api/v1/metadata/testall | +[**UpdateApiV1Metadata**](MetadataApi.md#UpdateApiV1Metadata) | **Put** /api/v1/metadata/{id} | + + + +## CreateApiV1Metadata + +> MetadataResource CreateApiV1Metadata(ctx).MetadataResource(metadataResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + metadataResource := *lidarrClient.NewMetadataResource() // MetadataResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.CreateApiV1Metadata(context.Background()).MetadataResource(metadataResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.CreateApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Metadata`: MetadataResource + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.CreateApiV1Metadata`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1MetadataRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **metadataResource** | [**MetadataResource**](MetadataResource.md) | | + +### Return type + +[**MetadataResource**](MetadataResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1MetadataActionByName + +> CreateApiV1MetadataActionByName(ctx, name).MetadataResource(metadataResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + name := "name_example" // string | + metadataResource := *lidarrClient.NewMetadataResource() // MetadataResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.CreateApiV1MetadataActionByName(context.Background(), name).MetadataResource(metadataResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.CreateApiV1MetadataActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**name** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1MetadataActionByNameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **metadataResource** | [**MetadataResource**](MetadataResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Metadata + +> DeleteApiV1Metadata(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.DeleteApiV1Metadata(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.DeleteApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1MetadataRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1MetadataById + +> MetadataResource GetApiV1MetadataById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.GetApiV1MetadataById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.GetApiV1MetadataById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1MetadataById`: MetadataResource + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.GetApiV1MetadataById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1MetadataByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**MetadataResource**](MetadataResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Metadata + +> []MetadataResource ListApiV1Metadata(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.ListApiV1Metadata(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.ListApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Metadata`: []MetadataResource + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.ListApiV1Metadata`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1MetadataRequest struct via the builder pattern + + +### Return type + +[**[]MetadataResource**](MetadataResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1MetadataSchema + +> []MetadataResource ListApiV1MetadataSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.ListApiV1MetadataSchema(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.ListApiV1MetadataSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1MetadataSchema`: []MetadataResource + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.ListApiV1MetadataSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1MetadataSchemaRequest struct via the builder pattern + + +### Return type + +[**[]MetadataResource**](MetadataResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestApiV1Metadata + +> TestApiV1Metadata(ctx).MetadataResource(metadataResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + metadataResource := *lidarrClient.NewMetadataResource() // MetadataResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.TestApiV1Metadata(context.Background()).MetadataResource(metadataResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.TestApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestApiV1MetadataRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **metadataResource** | [**MetadataResource**](MetadataResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestallApiV1Metadata + +> TestallApiV1Metadata(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.TestallApiV1Metadata(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.TestallApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestallApiV1MetadataRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Metadata + +> MetadataResource UpdateApiV1Metadata(ctx, id).MetadataResource(metadataResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + metadataResource := *lidarrClient.NewMetadataResource() // MetadataResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataApi.UpdateApiV1Metadata(context.Background(), id).MetadataResource(metadataResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.UpdateApiV1Metadata``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Metadata`: MetadataResource + fmt.Fprintf(os.Stdout, "Response from `MetadataApi.UpdateApiV1Metadata`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1MetadataRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **metadataResource** | [**MetadataResource**](MetadataResource.md) | | + +### Return type + +[**MetadataResource**](MetadataResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MetadataProfile.md b/lidarr/docs/MetadataProfile.md new file mode 100644 index 0000000..7494504 --- /dev/null +++ b/lidarr/docs/MetadataProfile.md @@ -0,0 +1,200 @@ +# MetadataProfile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**PrimaryAlbumTypes** | Pointer to [**[]ProfilePrimaryAlbumTypeItem**](ProfilePrimaryAlbumTypeItem.md) | | [optional] +**SecondaryAlbumTypes** | Pointer to [**[]ProfileSecondaryAlbumTypeItem**](ProfileSecondaryAlbumTypeItem.md) | | [optional] +**ReleaseStatuses** | Pointer to [**[]ProfileReleaseStatusItem**](ProfileReleaseStatusItem.md) | | [optional] + +## Methods + +### NewMetadataProfile + +`func NewMetadataProfile() *MetadataProfile` + +NewMetadataProfile instantiates a new MetadataProfile object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMetadataProfileWithDefaults + +`func NewMetadataProfileWithDefaults() *MetadataProfile` + +NewMetadataProfileWithDefaults instantiates a new MetadataProfile object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MetadataProfile) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MetadataProfile) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MetadataProfile) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MetadataProfile) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *MetadataProfile) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *MetadataProfile) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *MetadataProfile) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *MetadataProfile) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *MetadataProfile) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *MetadataProfile) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetPrimaryAlbumTypes + +`func (o *MetadataProfile) GetPrimaryAlbumTypes() []ProfilePrimaryAlbumTypeItem` + +GetPrimaryAlbumTypes returns the PrimaryAlbumTypes field if non-nil, zero value otherwise. + +### GetPrimaryAlbumTypesOk + +`func (o *MetadataProfile) GetPrimaryAlbumTypesOk() (*[]ProfilePrimaryAlbumTypeItem, bool)` + +GetPrimaryAlbumTypesOk returns a tuple with the PrimaryAlbumTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrimaryAlbumTypes + +`func (o *MetadataProfile) SetPrimaryAlbumTypes(v []ProfilePrimaryAlbumTypeItem)` + +SetPrimaryAlbumTypes sets PrimaryAlbumTypes field to given value. + +### HasPrimaryAlbumTypes + +`func (o *MetadataProfile) HasPrimaryAlbumTypes() bool` + +HasPrimaryAlbumTypes returns a boolean if a field has been set. + +### SetPrimaryAlbumTypesNil + +`func (o *MetadataProfile) SetPrimaryAlbumTypesNil(b bool)` + + SetPrimaryAlbumTypesNil sets the value for PrimaryAlbumTypes to be an explicit nil + +### UnsetPrimaryAlbumTypes +`func (o *MetadataProfile) UnsetPrimaryAlbumTypes()` + +UnsetPrimaryAlbumTypes ensures that no value is present for PrimaryAlbumTypes, not even an explicit nil +### GetSecondaryAlbumTypes + +`func (o *MetadataProfile) GetSecondaryAlbumTypes() []ProfileSecondaryAlbumTypeItem` + +GetSecondaryAlbumTypes returns the SecondaryAlbumTypes field if non-nil, zero value otherwise. + +### GetSecondaryAlbumTypesOk + +`func (o *MetadataProfile) GetSecondaryAlbumTypesOk() (*[]ProfileSecondaryAlbumTypeItem, bool)` + +GetSecondaryAlbumTypesOk returns a tuple with the SecondaryAlbumTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryAlbumTypes + +`func (o *MetadataProfile) SetSecondaryAlbumTypes(v []ProfileSecondaryAlbumTypeItem)` + +SetSecondaryAlbumTypes sets SecondaryAlbumTypes field to given value. + +### HasSecondaryAlbumTypes + +`func (o *MetadataProfile) HasSecondaryAlbumTypes() bool` + +HasSecondaryAlbumTypes returns a boolean if a field has been set. + +### SetSecondaryAlbumTypesNil + +`func (o *MetadataProfile) SetSecondaryAlbumTypesNil(b bool)` + + SetSecondaryAlbumTypesNil sets the value for SecondaryAlbumTypes to be an explicit nil + +### UnsetSecondaryAlbumTypes +`func (o *MetadataProfile) UnsetSecondaryAlbumTypes()` + +UnsetSecondaryAlbumTypes ensures that no value is present for SecondaryAlbumTypes, not even an explicit nil +### GetReleaseStatuses + +`func (o *MetadataProfile) GetReleaseStatuses() []ProfileReleaseStatusItem` + +GetReleaseStatuses returns the ReleaseStatuses field if non-nil, zero value otherwise. + +### GetReleaseStatusesOk + +`func (o *MetadataProfile) GetReleaseStatusesOk() (*[]ProfileReleaseStatusItem, bool)` + +GetReleaseStatusesOk returns a tuple with the ReleaseStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseStatuses + +`func (o *MetadataProfile) SetReleaseStatuses(v []ProfileReleaseStatusItem)` + +SetReleaseStatuses sets ReleaseStatuses field to given value. + +### HasReleaseStatuses + +`func (o *MetadataProfile) HasReleaseStatuses() bool` + +HasReleaseStatuses returns a boolean if a field has been set. + +### SetReleaseStatusesNil + +`func (o *MetadataProfile) SetReleaseStatusesNil(b bool)` + + SetReleaseStatusesNil sets the value for ReleaseStatuses to be an explicit nil + +### UnsetReleaseStatuses +`func (o *MetadataProfile) UnsetReleaseStatuses()` + +UnsetReleaseStatuses ensures that no value is present for ReleaseStatuses, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MetadataProfileApi.md b/lidarr/docs/MetadataProfileApi.md new file mode 100644 index 0000000..dd0d02e --- /dev/null +++ b/lidarr/docs/MetadataProfileApi.md @@ -0,0 +1,340 @@ +# \MetadataProfileApi + +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 + +> MetadataProfileResource CreateApiV1Metadataprofile(ctx).MetadataProfileResource(metadataProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + metadataProfileResource := *lidarrClient.NewMetadataProfileResource() // MetadataProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Metadataprofile`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.CreateApiV1Metadataprofile`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1MetadataprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **metadataProfileResource** | [**MetadataProfileResource**](MetadataProfileResource.md) | | + +### Return type + +[**MetadataProfileResource**](MetadataProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Metadataprofile + +> DeleteApiV1Metadataprofile(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1MetadataprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1MetadataprofileById + +> MetadataProfileResource GetApiV1MetadataprofileById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1MetadataprofileById`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.GetApiV1MetadataprofileById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1MetadataprofileByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**MetadataProfileResource**](MetadataProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Metadataprofile + +> []MetadataProfileResource ListApiV1Metadataprofile(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Metadataprofile`: []MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.ListApiV1Metadataprofile`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1MetadataprofileRequest struct via the builder pattern + + +### Return type + +[**[]MetadataProfileResource**](MetadataProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Metadataprofile + +> MetadataProfileResource UpdateApiV1Metadataprofile(ctx, id).MetadataProfileResource(metadataProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + metadataProfileResource := *lidarrClient.NewMetadataProfileResource() // MetadataProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Metadataprofile`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileApi.UpdateApiV1Metadataprofile`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1MetadataprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **metadataProfileResource** | [**MetadataProfileResource**](MetadataProfileResource.md) | | + +### Return type + +[**MetadataProfileResource**](MetadataProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MetadataProfileLazyLoaded.md b/lidarr/docs/MetadataProfileLazyLoaded.md new file mode 100644 index 0000000..eb622e6 --- /dev/null +++ b/lidarr/docs/MetadataProfileLazyLoaded.md @@ -0,0 +1,82 @@ +# MetadataProfileLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**MetadataProfile**](MetadataProfile.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewMetadataProfileLazyLoaded + +`func NewMetadataProfileLazyLoaded() *MetadataProfileLazyLoaded` + +NewMetadataProfileLazyLoaded instantiates a new MetadataProfileLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMetadataProfileLazyLoadedWithDefaults + +`func NewMetadataProfileLazyLoadedWithDefaults() *MetadataProfileLazyLoaded` + +NewMetadataProfileLazyLoadedWithDefaults instantiates a new MetadataProfileLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *MetadataProfileLazyLoaded) GetValue() MetadataProfile` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *MetadataProfileLazyLoaded) GetValueOk() (*MetadataProfile, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *MetadataProfileLazyLoaded) SetValue(v MetadataProfile)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *MetadataProfileLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *MetadataProfileLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *MetadataProfileLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *MetadataProfileLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *MetadataProfileLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MetadataProfileResource.md b/lidarr/docs/MetadataProfileResource.md new file mode 100644 index 0000000..55cd6e4 --- /dev/null +++ b/lidarr/docs/MetadataProfileResource.md @@ -0,0 +1,200 @@ +# MetadataProfileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**PrimaryAlbumTypes** | Pointer to [**[]ProfilePrimaryAlbumTypeItemResource**](ProfilePrimaryAlbumTypeItemResource.md) | | [optional] +**SecondaryAlbumTypes** | Pointer to [**[]ProfileSecondaryAlbumTypeItemResource**](ProfileSecondaryAlbumTypeItemResource.md) | | [optional] +**ReleaseStatuses** | Pointer to [**[]ProfileReleaseStatusItemResource**](ProfileReleaseStatusItemResource.md) | | [optional] + +## Methods + +### NewMetadataProfileResource + +`func NewMetadataProfileResource() *MetadataProfileResource` + +NewMetadataProfileResource instantiates a new MetadataProfileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMetadataProfileResourceWithDefaults + +`func NewMetadataProfileResourceWithDefaults() *MetadataProfileResource` + +NewMetadataProfileResourceWithDefaults instantiates a new MetadataProfileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MetadataProfileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MetadataProfileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MetadataProfileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MetadataProfileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *MetadataProfileResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *MetadataProfileResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *MetadataProfileResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *MetadataProfileResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *MetadataProfileResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *MetadataProfileResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetPrimaryAlbumTypes + +`func (o *MetadataProfileResource) GetPrimaryAlbumTypes() []ProfilePrimaryAlbumTypeItemResource` + +GetPrimaryAlbumTypes returns the PrimaryAlbumTypes field if non-nil, zero value otherwise. + +### GetPrimaryAlbumTypesOk + +`func (o *MetadataProfileResource) GetPrimaryAlbumTypesOk() (*[]ProfilePrimaryAlbumTypeItemResource, bool)` + +GetPrimaryAlbumTypesOk returns a tuple with the PrimaryAlbumTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrimaryAlbumTypes + +`func (o *MetadataProfileResource) SetPrimaryAlbumTypes(v []ProfilePrimaryAlbumTypeItemResource)` + +SetPrimaryAlbumTypes sets PrimaryAlbumTypes field to given value. + +### HasPrimaryAlbumTypes + +`func (o *MetadataProfileResource) HasPrimaryAlbumTypes() bool` + +HasPrimaryAlbumTypes returns a boolean if a field has been set. + +### SetPrimaryAlbumTypesNil + +`func (o *MetadataProfileResource) SetPrimaryAlbumTypesNil(b bool)` + + SetPrimaryAlbumTypesNil sets the value for PrimaryAlbumTypes to be an explicit nil + +### UnsetPrimaryAlbumTypes +`func (o *MetadataProfileResource) UnsetPrimaryAlbumTypes()` + +UnsetPrimaryAlbumTypes ensures that no value is present for PrimaryAlbumTypes, not even an explicit nil +### GetSecondaryAlbumTypes + +`func (o *MetadataProfileResource) GetSecondaryAlbumTypes() []ProfileSecondaryAlbumTypeItemResource` + +GetSecondaryAlbumTypes returns the SecondaryAlbumTypes field if non-nil, zero value otherwise. + +### GetSecondaryAlbumTypesOk + +`func (o *MetadataProfileResource) GetSecondaryAlbumTypesOk() (*[]ProfileSecondaryAlbumTypeItemResource, bool)` + +GetSecondaryAlbumTypesOk returns a tuple with the SecondaryAlbumTypes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryAlbumTypes + +`func (o *MetadataProfileResource) SetSecondaryAlbumTypes(v []ProfileSecondaryAlbumTypeItemResource)` + +SetSecondaryAlbumTypes sets SecondaryAlbumTypes field to given value. + +### HasSecondaryAlbumTypes + +`func (o *MetadataProfileResource) HasSecondaryAlbumTypes() bool` + +HasSecondaryAlbumTypes returns a boolean if a field has been set. + +### SetSecondaryAlbumTypesNil + +`func (o *MetadataProfileResource) SetSecondaryAlbumTypesNil(b bool)` + + SetSecondaryAlbumTypesNil sets the value for SecondaryAlbumTypes to be an explicit nil + +### UnsetSecondaryAlbumTypes +`func (o *MetadataProfileResource) UnsetSecondaryAlbumTypes()` + +UnsetSecondaryAlbumTypes ensures that no value is present for SecondaryAlbumTypes, not even an explicit nil +### GetReleaseStatuses + +`func (o *MetadataProfileResource) GetReleaseStatuses() []ProfileReleaseStatusItemResource` + +GetReleaseStatuses returns the ReleaseStatuses field if non-nil, zero value otherwise. + +### GetReleaseStatusesOk + +`func (o *MetadataProfileResource) GetReleaseStatusesOk() (*[]ProfileReleaseStatusItemResource, bool)` + +GetReleaseStatusesOk returns a tuple with the ReleaseStatuses field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseStatuses + +`func (o *MetadataProfileResource) SetReleaseStatuses(v []ProfileReleaseStatusItemResource)` + +SetReleaseStatuses sets ReleaseStatuses field to given value. + +### HasReleaseStatuses + +`func (o *MetadataProfileResource) HasReleaseStatuses() bool` + +HasReleaseStatuses returns a boolean if a field has been set. + +### SetReleaseStatusesNil + +`func (o *MetadataProfileResource) SetReleaseStatusesNil(b bool)` + + SetReleaseStatusesNil sets the value for ReleaseStatuses to be an explicit nil + +### UnsetReleaseStatuses +`func (o *MetadataProfileResource) UnsetReleaseStatuses()` + +UnsetReleaseStatuses ensures that no value is present for ReleaseStatuses, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MetadataProfileSchemaApi.md b/lidarr/docs/MetadataProfileSchemaApi.md new file mode 100644 index 0000000..236b0dd --- /dev/null +++ b/lidarr/docs/MetadataProfileSchemaApi.md @@ -0,0 +1,68 @@ +# \MetadataProfileSchemaApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1MetadataprofileSchema**](MetadataProfileSchemaApi.md#GetApiV1MetadataprofileSchema) | **Get** /api/v1/metadataprofile/schema | + + + +## GetApiV1MetadataprofileSchema + +> MetadataProfileResource GetApiV1MetadataprofileSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataProfileSchemaApi.GetApiV1MetadataprofileSchema(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProfileSchemaApi.GetApiV1MetadataprofileSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1MetadataprofileSchema`: MetadataProfileResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProfileSchemaApi.GetApiV1MetadataprofileSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1MetadataprofileSchemaRequest struct via the builder pattern + + +### Return type + +[**MetadataProfileResource**](MetadataProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MetadataProviderConfigApi.md b/lidarr/docs/MetadataProviderConfigApi.md new file mode 100644 index 0000000..3a672ef --- /dev/null +++ b/lidarr/docs/MetadataProviderConfigApi.md @@ -0,0 +1,208 @@ +# \MetadataProviderConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigMetadataprovider**](MetadataProviderConfigApi.md#GetApiV1ConfigMetadataprovider) | **Get** /api/v1/config/metadataprovider | +[**GetApiV1ConfigMetadataproviderById**](MetadataProviderConfigApi.md#GetApiV1ConfigMetadataproviderById) | **Get** /api/v1/config/metadataprovider/{id} | +[**UpdateApiV1ConfigMetadataprovider**](MetadataProviderConfigApi.md#UpdateApiV1ConfigMetadataprovider) | **Put** /api/v1/config/metadataprovider/{id} | + + + +## GetApiV1ConfigMetadataprovider + +> MetadataProviderConfigResource GetApiV1ConfigMetadataprovider(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataProviderConfigApi.GetApiV1ConfigMetadataprovider(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProviderConfigApi.GetApiV1ConfigMetadataprovider``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigMetadataprovider`: MetadataProviderConfigResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProviderConfigApi.GetApiV1ConfigMetadataprovider`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigMetadataproviderRequest struct via the builder pattern + + +### Return type + +[**MetadataProviderConfigResource**](MetadataProviderConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigMetadataproviderById + +> MetadataProviderConfigResource GetApiV1ConfigMetadataproviderById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataProviderConfigApi.GetApiV1ConfigMetadataproviderById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProviderConfigApi.GetApiV1ConfigMetadataproviderById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigMetadataproviderById`: MetadataProviderConfigResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProviderConfigApi.GetApiV1ConfigMetadataproviderById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigMetadataproviderByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**MetadataProviderConfigResource**](MetadataProviderConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigMetadataprovider + +> MetadataProviderConfigResource UpdateApiV1ConfigMetadataprovider(ctx, id).MetadataProviderConfigResource(metadataProviderConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + metadataProviderConfigResource := *lidarrClient.NewMetadataProviderConfigResource() // MetadataProviderConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MetadataProviderConfigApi.UpdateApiV1ConfigMetadataprovider(context.Background(), id).MetadataProviderConfigResource(metadataProviderConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MetadataProviderConfigApi.UpdateApiV1ConfigMetadataprovider``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigMetadataprovider`: MetadataProviderConfigResource + fmt.Fprintf(os.Stdout, "Response from `MetadataProviderConfigApi.UpdateApiV1ConfigMetadataprovider`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigMetadataproviderRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **metadataProviderConfigResource** | [**MetadataProviderConfigResource**](MetadataProviderConfigResource.md) | | + +### Return type + +[**MetadataProviderConfigResource**](MetadataProviderConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MetadataProviderConfigResource.md b/lidarr/docs/MetadataProviderConfigResource.md new file mode 100644 index 0000000..1e2dcda --- /dev/null +++ b/lidarr/docs/MetadataProviderConfigResource.md @@ -0,0 +1,144 @@ +# MetadataProviderConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**MetadataSource** | Pointer to **NullableString** | | [optional] +**WriteAudioTags** | Pointer to [**WriteAudioTagsType**](WriteAudioTagsType.md) | | [optional] +**ScrubAudioTags** | Pointer to **bool** | | [optional] + +## Methods + +### NewMetadataProviderConfigResource + +`func NewMetadataProviderConfigResource() *MetadataProviderConfigResource` + +NewMetadataProviderConfigResource instantiates a new MetadataProviderConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMetadataProviderConfigResourceWithDefaults + +`func NewMetadataProviderConfigResourceWithDefaults() *MetadataProviderConfigResource` + +NewMetadataProviderConfigResourceWithDefaults instantiates a new MetadataProviderConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MetadataProviderConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MetadataProviderConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MetadataProviderConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MetadataProviderConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetMetadataSource + +`func (o *MetadataProviderConfigResource) GetMetadataSource() string` + +GetMetadataSource returns the MetadataSource field if non-nil, zero value otherwise. + +### GetMetadataSourceOk + +`func (o *MetadataProviderConfigResource) GetMetadataSourceOk() (*string, bool)` + +GetMetadataSourceOk returns a tuple with the MetadataSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadataSource + +`func (o *MetadataProviderConfigResource) SetMetadataSource(v string)` + +SetMetadataSource sets MetadataSource field to given value. + +### HasMetadataSource + +`func (o *MetadataProviderConfigResource) HasMetadataSource() bool` + +HasMetadataSource returns a boolean if a field has been set. + +### SetMetadataSourceNil + +`func (o *MetadataProviderConfigResource) SetMetadataSourceNil(b bool)` + + SetMetadataSourceNil sets the value for MetadataSource to be an explicit nil + +### UnsetMetadataSource +`func (o *MetadataProviderConfigResource) UnsetMetadataSource()` + +UnsetMetadataSource ensures that no value is present for MetadataSource, not even an explicit nil +### GetWriteAudioTags + +`func (o *MetadataProviderConfigResource) GetWriteAudioTags() WriteAudioTagsType` + +GetWriteAudioTags returns the WriteAudioTags field if non-nil, zero value otherwise. + +### GetWriteAudioTagsOk + +`func (o *MetadataProviderConfigResource) GetWriteAudioTagsOk() (*WriteAudioTagsType, bool)` + +GetWriteAudioTagsOk returns a tuple with the WriteAudioTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWriteAudioTags + +`func (o *MetadataProviderConfigResource) SetWriteAudioTags(v WriteAudioTagsType)` + +SetWriteAudioTags sets WriteAudioTags field to given value. + +### HasWriteAudioTags + +`func (o *MetadataProviderConfigResource) HasWriteAudioTags() bool` + +HasWriteAudioTags returns a boolean if a field has been set. + +### GetScrubAudioTags + +`func (o *MetadataProviderConfigResource) GetScrubAudioTags() bool` + +GetScrubAudioTags returns the ScrubAudioTags field if non-nil, zero value otherwise. + +### GetScrubAudioTagsOk + +`func (o *MetadataProviderConfigResource) GetScrubAudioTagsOk() (*bool, bool)` + +GetScrubAudioTagsOk returns a tuple with the ScrubAudioTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScrubAudioTags + +`func (o *MetadataProviderConfigResource) SetScrubAudioTags(v bool)` + +SetScrubAudioTags sets ScrubAudioTags field to given value. + +### HasScrubAudioTags + +`func (o *MetadataProviderConfigResource) HasScrubAudioTags() bool` + +HasScrubAudioTags returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MetadataResource.md b/lidarr/docs/MetadataResource.md new file mode 100644 index 0000000..2ee2adf --- /dev/null +++ b/lidarr/docs/MetadataResource.md @@ -0,0 +1,396 @@ +# MetadataResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Fields** | Pointer to [**[]Field**](Field.md) | | [optional] +**ImplementationName** | Pointer to **NullableString** | | [optional] +**Implementation** | Pointer to **NullableString** | | [optional] +**ConfigContract** | Pointer to **NullableString** | | [optional] +**InfoLink** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to [**ProviderMessage**](ProviderMessage.md) | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Presets** | Pointer to [**[]MetadataResource**](MetadataResource.md) | | [optional] +**Enable** | Pointer to **bool** | | [optional] + +## Methods + +### NewMetadataResource + +`func NewMetadataResource() *MetadataResource` + +NewMetadataResource instantiates a new MetadataResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMetadataResourceWithDefaults + +`func NewMetadataResourceWithDefaults() *MetadataResource` + +NewMetadataResourceWithDefaults instantiates a new MetadataResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *MetadataResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *MetadataResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *MetadataResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *MetadataResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *MetadataResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *MetadataResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *MetadataResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *MetadataResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *MetadataResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *MetadataResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFields + +`func (o *MetadataResource) GetFields() []Field` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *MetadataResource) GetFieldsOk() (*[]Field, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *MetadataResource) SetFields(v []Field)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *MetadataResource) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *MetadataResource) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *MetadataResource) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil +### GetImplementationName + +`func (o *MetadataResource) GetImplementationName() string` + +GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise. + +### GetImplementationNameOk + +`func (o *MetadataResource) GetImplementationNameOk() (*string, bool)` + +GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementationName + +`func (o *MetadataResource) SetImplementationName(v string)` + +SetImplementationName sets ImplementationName field to given value. + +### HasImplementationName + +`func (o *MetadataResource) HasImplementationName() bool` + +HasImplementationName returns a boolean if a field has been set. + +### SetImplementationNameNil + +`func (o *MetadataResource) SetImplementationNameNil(b bool)` + + SetImplementationNameNil sets the value for ImplementationName to be an explicit nil + +### UnsetImplementationName +`func (o *MetadataResource) UnsetImplementationName()` + +UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +### GetImplementation + +`func (o *MetadataResource) GetImplementation() string` + +GetImplementation returns the Implementation field if non-nil, zero value otherwise. + +### GetImplementationOk + +`func (o *MetadataResource) GetImplementationOk() (*string, bool)` + +GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementation + +`func (o *MetadataResource) SetImplementation(v string)` + +SetImplementation sets Implementation field to given value. + +### HasImplementation + +`func (o *MetadataResource) HasImplementation() bool` + +HasImplementation returns a boolean if a field has been set. + +### SetImplementationNil + +`func (o *MetadataResource) SetImplementationNil(b bool)` + + SetImplementationNil sets the value for Implementation to be an explicit nil + +### UnsetImplementation +`func (o *MetadataResource) UnsetImplementation()` + +UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +### GetConfigContract + +`func (o *MetadataResource) GetConfigContract() string` + +GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise. + +### GetConfigContractOk + +`func (o *MetadataResource) GetConfigContractOk() (*string, bool)` + +GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigContract + +`func (o *MetadataResource) SetConfigContract(v string)` + +SetConfigContract sets ConfigContract field to given value. + +### HasConfigContract + +`func (o *MetadataResource) HasConfigContract() bool` + +HasConfigContract returns a boolean if a field has been set. + +### SetConfigContractNil + +`func (o *MetadataResource) SetConfigContractNil(b bool)` + + SetConfigContractNil sets the value for ConfigContract to be an explicit nil + +### UnsetConfigContract +`func (o *MetadataResource) UnsetConfigContract()` + +UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +### GetInfoLink + +`func (o *MetadataResource) GetInfoLink() string` + +GetInfoLink returns the InfoLink field if non-nil, zero value otherwise. + +### GetInfoLinkOk + +`func (o *MetadataResource) GetInfoLinkOk() (*string, bool)` + +GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoLink + +`func (o *MetadataResource) SetInfoLink(v string)` + +SetInfoLink sets InfoLink field to given value. + +### HasInfoLink + +`func (o *MetadataResource) HasInfoLink() bool` + +HasInfoLink returns a boolean if a field has been set. + +### SetInfoLinkNil + +`func (o *MetadataResource) SetInfoLinkNil(b bool)` + + SetInfoLinkNil sets the value for InfoLink to be an explicit nil + +### UnsetInfoLink +`func (o *MetadataResource) UnsetInfoLink()` + +UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +### GetMessage + +`func (o *MetadataResource) GetMessage() ProviderMessage` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *MetadataResource) GetMessageOk() (*ProviderMessage, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *MetadataResource) SetMessage(v ProviderMessage)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *MetadataResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetTags + +`func (o *MetadataResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *MetadataResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *MetadataResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *MetadataResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *MetadataResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *MetadataResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetPresets + +`func (o *MetadataResource) GetPresets() []MetadataResource` + +GetPresets returns the Presets field if non-nil, zero value otherwise. + +### GetPresetsOk + +`func (o *MetadataResource) GetPresetsOk() (*[]MetadataResource, bool)` + +GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresets + +`func (o *MetadataResource) SetPresets(v []MetadataResource)` + +SetPresets sets Presets field to given value. + +### HasPresets + +`func (o *MetadataResource) HasPresets() bool` + +HasPresets returns a boolean if a field has been set. + +### SetPresetsNil + +`func (o *MetadataResource) SetPresetsNil(b bool)` + + SetPresetsNil sets the value for Presets to be an explicit nil + +### UnsetPresets +`func (o *MetadataResource) UnsetPresets()` + +UnsetPresets ensures that no value is present for Presets, not even an explicit nil +### GetEnable + +`func (o *MetadataResource) GetEnable() bool` + +GetEnable returns the Enable field if non-nil, zero value otherwise. + +### GetEnableOk + +`func (o *MetadataResource) GetEnableOk() (*bool, bool)` + +GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnable + +`func (o *MetadataResource) SetEnable(v bool)` + +SetEnable sets Enable field to given value. + +### HasEnable + +`func (o *MetadataResource) HasEnable() bool` + +HasEnable returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MissingApi.md b/lidarr/docs/MissingApi.md new file mode 100644 index 0000000..b07784d --- /dev/null +++ b/lidarr/docs/MissingApi.md @@ -0,0 +1,142 @@ +# \MissingApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1WantedMissing**](MissingApi.md#GetApiV1WantedMissing) | **Get** /api/v1/wanted/missing | +[**GetApiV1WantedMissingById**](MissingApi.md#GetApiV1WantedMissingById) | **Get** /api/v1/wanted/missing/{id} | + + + +## GetApiV1WantedMissing + +> AlbumResourcePagingResource GetApiV1WantedMissing(ctx).IncludeArtist(includeArtist).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + includeArtist := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MissingApi.GetApiV1WantedMissing(context.Background()).IncludeArtist(includeArtist).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MissingApi.GetApiV1WantedMissing``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1WantedMissing`: AlbumResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `MissingApi.GetApiV1WantedMissing`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1WantedMissingRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **includeArtist** | **bool** | | [default to false] + +### Return type + +[**AlbumResourcePagingResource**](AlbumResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1WantedMissingById + +> AlbumResource GetApiV1WantedMissingById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.MissingApi.GetApiV1WantedMissingById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `MissingApi.GetApiV1WantedMissingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1WantedMissingById`: AlbumResource + fmt.Fprintf(os.Stdout, "Response from `MissingApi.GetApiV1WantedMissingById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1WantedMissingByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**AlbumResource**](AlbumResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/MonitorTypes.md b/lidarr/docs/MonitorTypes.md new file mode 100644 index 0000000..9d2ba38 --- /dev/null +++ b/lidarr/docs/MonitorTypes.md @@ -0,0 +1,25 @@ +# MonitorTypes + +## Enum + + +* `ALL` (value: `"all"`) + +* `FUTURE` (value: `"future"`) + +* `MISSING` (value: `"missing"`) + +* `EXISTING` (value: `"existing"`) + +* `LATEST` (value: `"latest"`) + +* `FIRST` (value: `"first"`) + +* `NONE` (value: `"none"`) + +* `UNKNOWN` (value: `"unknown"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/MonitoringOptions.md b/lidarr/docs/MonitoringOptions.md new file mode 100644 index 0000000..740fbbc --- /dev/null +++ b/lidarr/docs/MonitoringOptions.md @@ -0,0 +1,118 @@ +# MonitoringOptions + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Monitor** | Pointer to [**MonitorTypes**](MonitorTypes.md) | | [optional] +**AlbumsToMonitor** | Pointer to **[]string** | | [optional] +**Monitored** | Pointer to **bool** | | [optional] + +## Methods + +### NewMonitoringOptions + +`func NewMonitoringOptions() *MonitoringOptions` + +NewMonitoringOptions instantiates a new MonitoringOptions object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewMonitoringOptionsWithDefaults + +`func NewMonitoringOptionsWithDefaults() *MonitoringOptions` + +NewMonitoringOptionsWithDefaults instantiates a new MonitoringOptions object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMonitor + +`func (o *MonitoringOptions) GetMonitor() MonitorTypes` + +GetMonitor returns the Monitor field if non-nil, zero value otherwise. + +### GetMonitorOk + +`func (o *MonitoringOptions) GetMonitorOk() (*MonitorTypes, bool)` + +GetMonitorOk returns a tuple with the Monitor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitor + +`func (o *MonitoringOptions) SetMonitor(v MonitorTypes)` + +SetMonitor sets Monitor field to given value. + +### HasMonitor + +`func (o *MonitoringOptions) HasMonitor() bool` + +HasMonitor returns a boolean if a field has been set. + +### GetAlbumsToMonitor + +`func (o *MonitoringOptions) GetAlbumsToMonitor() []string` + +GetAlbumsToMonitor returns the AlbumsToMonitor field if non-nil, zero value otherwise. + +### GetAlbumsToMonitorOk + +`func (o *MonitoringOptions) GetAlbumsToMonitorOk() (*[]string, bool)` + +GetAlbumsToMonitorOk returns a tuple with the AlbumsToMonitor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumsToMonitor + +`func (o *MonitoringOptions) SetAlbumsToMonitor(v []string)` + +SetAlbumsToMonitor sets AlbumsToMonitor field to given value. + +### HasAlbumsToMonitor + +`func (o *MonitoringOptions) HasAlbumsToMonitor() bool` + +HasAlbumsToMonitor returns a boolean if a field has been set. + +### SetAlbumsToMonitorNil + +`func (o *MonitoringOptions) SetAlbumsToMonitorNil(b bool)` + + SetAlbumsToMonitorNil sets the value for AlbumsToMonitor to be an explicit nil + +### UnsetAlbumsToMonitor +`func (o *MonitoringOptions) UnsetAlbumsToMonitor()` + +UnsetAlbumsToMonitor ensures that no value is present for AlbumsToMonitor, not even an explicit nil +### GetMonitored + +`func (o *MonitoringOptions) GetMonitored() bool` + +GetMonitored returns the Monitored field if non-nil, zero value otherwise. + +### GetMonitoredOk + +`func (o *MonitoringOptions) GetMonitoredOk() (*bool, bool)` + +GetMonitoredOk returns a tuple with the Monitored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMonitored + +`func (o *MonitoringOptions) SetMonitored(v bool)` + +SetMonitored sets Monitored field to given value. + +### HasMonitored + +`func (o *MonitoringOptions) HasMonitored() bool` + +HasMonitored returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/NamingConfigApi.md b/lidarr/docs/NamingConfigApi.md new file mode 100644 index 0000000..29944d5 --- /dev/null +++ b/lidarr/docs/NamingConfigApi.md @@ -0,0 +1,295 @@ +# \NamingConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigNaming**](NamingConfigApi.md#GetApiV1ConfigNaming) | **Get** /api/v1/config/naming | +[**GetApiV1ConfigNamingById**](NamingConfigApi.md#GetApiV1ConfigNamingById) | **Get** /api/v1/config/naming/{id} | +[**GetApiV1ConfigNamingExamples**](NamingConfigApi.md#GetApiV1ConfigNamingExamples) | **Get** /api/v1/config/naming/examples | +[**UpdateApiV1ConfigNaming**](NamingConfigApi.md#UpdateApiV1ConfigNaming) | **Put** /api/v1/config/naming/{id} | + + + +## GetApiV1ConfigNaming + +> NamingConfigResource GetApiV1ConfigNaming(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NamingConfigApi.GetApiV1ConfigNaming(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetApiV1ConfigNaming``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigNaming`: NamingConfigResource + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.GetApiV1ConfigNaming`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigNamingRequest struct via the builder pattern + + +### Return type + +[**NamingConfigResource**](NamingConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigNamingById + +> NamingConfigResource GetApiV1ConfigNamingById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NamingConfigApi.GetApiV1ConfigNamingById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetApiV1ConfigNamingById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigNamingById`: NamingConfigResource + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.GetApiV1ConfigNamingById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigNamingByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**NamingConfigResource**](NamingConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigNamingExamples + +> GetApiV1ConfigNamingExamples(ctx).RenameTracks(renameTracks).ReplaceIllegalCharacters(replaceIllegalCharacters).StandardTrackFormat(standardTrackFormat).MultiDiscTrackFormat(multiDiscTrackFormat).ArtistFolderFormat(artistFolderFormat).IncludeArtistName(includeArtistName).IncludeAlbumTitle(includeAlbumTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + renameTracks := true // bool | (optional) + replaceIllegalCharacters := true // bool | (optional) + standardTrackFormat := "standardTrackFormat_example" // string | (optional) + multiDiscTrackFormat := "multiDiscTrackFormat_example" // string | (optional) + artistFolderFormat := "artistFolderFormat_example" // string | (optional) + includeArtistName := true // bool | (optional) + includeAlbumTitle := true // bool | (optional) + includeQuality := true // bool | (optional) + replaceSpaces := true // bool | (optional) + separator := "separator_example" // string | (optional) + numberStyle := "numberStyle_example" // string | (optional) + id := int32(56) // int32 | (optional) + resourceName := "resourceName_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NamingConfigApi.GetApiV1ConfigNamingExamples(context.Background()).RenameTracks(renameTracks).ReplaceIllegalCharacters(replaceIllegalCharacters).StandardTrackFormat(standardTrackFormat).MultiDiscTrackFormat(multiDiscTrackFormat).ArtistFolderFormat(artistFolderFormat).IncludeArtistName(includeArtistName).IncludeAlbumTitle(includeAlbumTitle).IncludeQuality(includeQuality).ReplaceSpaces(replaceSpaces).Separator(separator).NumberStyle(numberStyle).Id(id).ResourceName(resourceName).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.GetApiV1ConfigNamingExamples``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigNamingExamplesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **renameTracks** | **bool** | | + **replaceIllegalCharacters** | **bool** | | + **standardTrackFormat** | **string** | | + **multiDiscTrackFormat** | **string** | | + **artistFolderFormat** | **string** | | + **includeArtistName** | **bool** | | + **includeAlbumTitle** | **bool** | | + **includeQuality** | **bool** | | + **replaceSpaces** | **bool** | | + **separator** | **string** | | + **numberStyle** | **string** | | + **id** | **int32** | | + **resourceName** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigNaming + +> NamingConfigResource UpdateApiV1ConfigNaming(ctx, id).NamingConfigResource(namingConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + namingConfigResource := *lidarrClient.NewNamingConfigResource() // NamingConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NamingConfigApi.UpdateApiV1ConfigNaming(context.Background(), id).NamingConfigResource(namingConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NamingConfigApi.UpdateApiV1ConfigNaming``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigNaming`: NamingConfigResource + fmt.Fprintf(os.Stdout, "Response from `NamingConfigApi.UpdateApiV1ConfigNaming`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigNamingRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **namingConfigResource** | [**NamingConfigResource**](NamingConfigResource.md) | | + +### Return type + +[**NamingConfigResource**](NamingConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/NamingConfigResource.md b/lidarr/docs/NamingConfigResource.md new file mode 100644 index 0000000..057e30c --- /dev/null +++ b/lidarr/docs/NamingConfigResource.md @@ -0,0 +1,392 @@ +# NamingConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**RenameTracks** | Pointer to **bool** | | [optional] +**ReplaceIllegalCharacters** | Pointer to **bool** | | [optional] +**StandardTrackFormat** | Pointer to **NullableString** | | [optional] +**MultiDiscTrackFormat** | Pointer to **NullableString** | | [optional] +**ArtistFolderFormat** | Pointer to **NullableString** | | [optional] +**IncludeArtistName** | Pointer to **bool** | | [optional] +**IncludeAlbumTitle** | Pointer to **bool** | | [optional] +**IncludeQuality** | Pointer to **bool** | | [optional] +**ReplaceSpaces** | Pointer to **bool** | | [optional] +**Separator** | Pointer to **NullableString** | | [optional] +**NumberStyle** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewNamingConfigResource + +`func NewNamingConfigResource() *NamingConfigResource` + +NewNamingConfigResource instantiates a new NamingConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNamingConfigResourceWithDefaults + +`func NewNamingConfigResourceWithDefaults() *NamingConfigResource` + +NewNamingConfigResourceWithDefaults instantiates a new NamingConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NamingConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NamingConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NamingConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *NamingConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetRenameTracks + +`func (o *NamingConfigResource) GetRenameTracks() bool` + +GetRenameTracks returns the RenameTracks field if non-nil, zero value otherwise. + +### GetRenameTracksOk + +`func (o *NamingConfigResource) GetRenameTracksOk() (*bool, bool)` + +GetRenameTracksOk returns a tuple with the RenameTracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRenameTracks + +`func (o *NamingConfigResource) SetRenameTracks(v bool)` + +SetRenameTracks sets RenameTracks field to given value. + +### HasRenameTracks + +`func (o *NamingConfigResource) HasRenameTracks() bool` + +HasRenameTracks returns a boolean if a field has been set. + +### GetReplaceIllegalCharacters + +`func (o *NamingConfigResource) GetReplaceIllegalCharacters() bool` + +GetReplaceIllegalCharacters returns the ReplaceIllegalCharacters field if non-nil, zero value otherwise. + +### GetReplaceIllegalCharactersOk + +`func (o *NamingConfigResource) GetReplaceIllegalCharactersOk() (*bool, bool)` + +GetReplaceIllegalCharactersOk returns a tuple with the ReplaceIllegalCharacters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReplaceIllegalCharacters + +`func (o *NamingConfigResource) SetReplaceIllegalCharacters(v bool)` + +SetReplaceIllegalCharacters sets ReplaceIllegalCharacters field to given value. + +### HasReplaceIllegalCharacters + +`func (o *NamingConfigResource) HasReplaceIllegalCharacters() bool` + +HasReplaceIllegalCharacters returns a boolean if a field has been set. + +### GetStandardTrackFormat + +`func (o *NamingConfigResource) GetStandardTrackFormat() string` + +GetStandardTrackFormat returns the StandardTrackFormat field if non-nil, zero value otherwise. + +### GetStandardTrackFormatOk + +`func (o *NamingConfigResource) GetStandardTrackFormatOk() (*string, bool)` + +GetStandardTrackFormatOk returns a tuple with the StandardTrackFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStandardTrackFormat + +`func (o *NamingConfigResource) SetStandardTrackFormat(v string)` + +SetStandardTrackFormat sets StandardTrackFormat field to given value. + +### HasStandardTrackFormat + +`func (o *NamingConfigResource) HasStandardTrackFormat() bool` + +HasStandardTrackFormat returns a boolean if a field has been set. + +### SetStandardTrackFormatNil + +`func (o *NamingConfigResource) SetStandardTrackFormatNil(b bool)` + + SetStandardTrackFormatNil sets the value for StandardTrackFormat to be an explicit nil + +### UnsetStandardTrackFormat +`func (o *NamingConfigResource) UnsetStandardTrackFormat()` + +UnsetStandardTrackFormat ensures that no value is present for StandardTrackFormat, not even an explicit nil +### GetMultiDiscTrackFormat + +`func (o *NamingConfigResource) GetMultiDiscTrackFormat() string` + +GetMultiDiscTrackFormat returns the MultiDiscTrackFormat field if non-nil, zero value otherwise. + +### GetMultiDiscTrackFormatOk + +`func (o *NamingConfigResource) GetMultiDiscTrackFormatOk() (*string, bool)` + +GetMultiDiscTrackFormatOk returns a tuple with the MultiDiscTrackFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMultiDiscTrackFormat + +`func (o *NamingConfigResource) SetMultiDiscTrackFormat(v string)` + +SetMultiDiscTrackFormat sets MultiDiscTrackFormat field to given value. + +### HasMultiDiscTrackFormat + +`func (o *NamingConfigResource) HasMultiDiscTrackFormat() bool` + +HasMultiDiscTrackFormat returns a boolean if a field has been set. + +### SetMultiDiscTrackFormatNil + +`func (o *NamingConfigResource) SetMultiDiscTrackFormatNil(b bool)` + + SetMultiDiscTrackFormatNil sets the value for MultiDiscTrackFormat to be an explicit nil + +### UnsetMultiDiscTrackFormat +`func (o *NamingConfigResource) UnsetMultiDiscTrackFormat()` + +UnsetMultiDiscTrackFormat ensures that no value is present for MultiDiscTrackFormat, not even an explicit nil +### GetArtistFolderFormat + +`func (o *NamingConfigResource) GetArtistFolderFormat() string` + +GetArtistFolderFormat returns the ArtistFolderFormat field if non-nil, zero value otherwise. + +### GetArtistFolderFormatOk + +`func (o *NamingConfigResource) GetArtistFolderFormatOk() (*string, bool)` + +GetArtistFolderFormatOk returns a tuple with the ArtistFolderFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistFolderFormat + +`func (o *NamingConfigResource) SetArtistFolderFormat(v string)` + +SetArtistFolderFormat sets ArtistFolderFormat field to given value. + +### HasArtistFolderFormat + +`func (o *NamingConfigResource) HasArtistFolderFormat() bool` + +HasArtistFolderFormat returns a boolean if a field has been set. + +### SetArtistFolderFormatNil + +`func (o *NamingConfigResource) SetArtistFolderFormatNil(b bool)` + + SetArtistFolderFormatNil sets the value for ArtistFolderFormat to be an explicit nil + +### UnsetArtistFolderFormat +`func (o *NamingConfigResource) UnsetArtistFolderFormat()` + +UnsetArtistFolderFormat ensures that no value is present for ArtistFolderFormat, not even an explicit nil +### GetIncludeArtistName + +`func (o *NamingConfigResource) GetIncludeArtistName() bool` + +GetIncludeArtistName returns the IncludeArtistName field if non-nil, zero value otherwise. + +### GetIncludeArtistNameOk + +`func (o *NamingConfigResource) GetIncludeArtistNameOk() (*bool, bool)` + +GetIncludeArtistNameOk returns a tuple with the IncludeArtistName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludeArtistName + +`func (o *NamingConfigResource) SetIncludeArtistName(v bool)` + +SetIncludeArtistName sets IncludeArtistName field to given value. + +### HasIncludeArtistName + +`func (o *NamingConfigResource) HasIncludeArtistName() bool` + +HasIncludeArtistName returns a boolean if a field has been set. + +### GetIncludeAlbumTitle + +`func (o *NamingConfigResource) GetIncludeAlbumTitle() bool` + +GetIncludeAlbumTitle returns the IncludeAlbumTitle field if non-nil, zero value otherwise. + +### GetIncludeAlbumTitleOk + +`func (o *NamingConfigResource) GetIncludeAlbumTitleOk() (*bool, bool)` + +GetIncludeAlbumTitleOk returns a tuple with the IncludeAlbumTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludeAlbumTitle + +`func (o *NamingConfigResource) SetIncludeAlbumTitle(v bool)` + +SetIncludeAlbumTitle sets IncludeAlbumTitle field to given value. + +### HasIncludeAlbumTitle + +`func (o *NamingConfigResource) HasIncludeAlbumTitle() bool` + +HasIncludeAlbumTitle returns a boolean if a field has been set. + +### GetIncludeQuality + +`func (o *NamingConfigResource) GetIncludeQuality() bool` + +GetIncludeQuality returns the IncludeQuality field if non-nil, zero value otherwise. + +### GetIncludeQualityOk + +`func (o *NamingConfigResource) GetIncludeQualityOk() (*bool, bool)` + +GetIncludeQualityOk returns a tuple with the IncludeQuality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludeQuality + +`func (o *NamingConfigResource) SetIncludeQuality(v bool)` + +SetIncludeQuality sets IncludeQuality field to given value. + +### HasIncludeQuality + +`func (o *NamingConfigResource) HasIncludeQuality() bool` + +HasIncludeQuality returns a boolean if a field has been set. + +### GetReplaceSpaces + +`func (o *NamingConfigResource) GetReplaceSpaces() bool` + +GetReplaceSpaces returns the ReplaceSpaces field if non-nil, zero value otherwise. + +### GetReplaceSpacesOk + +`func (o *NamingConfigResource) GetReplaceSpacesOk() (*bool, bool)` + +GetReplaceSpacesOk returns a tuple with the ReplaceSpaces field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReplaceSpaces + +`func (o *NamingConfigResource) SetReplaceSpaces(v bool)` + +SetReplaceSpaces sets ReplaceSpaces field to given value. + +### HasReplaceSpaces + +`func (o *NamingConfigResource) HasReplaceSpaces() bool` + +HasReplaceSpaces returns a boolean if a field has been set. + +### GetSeparator + +`func (o *NamingConfigResource) GetSeparator() string` + +GetSeparator returns the Separator field if non-nil, zero value otherwise. + +### GetSeparatorOk + +`func (o *NamingConfigResource) GetSeparatorOk() (*string, bool)` + +GetSeparatorOk returns a tuple with the Separator field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSeparator + +`func (o *NamingConfigResource) SetSeparator(v string)` + +SetSeparator sets Separator field to given value. + +### HasSeparator + +`func (o *NamingConfigResource) HasSeparator() bool` + +HasSeparator returns a boolean if a field has been set. + +### SetSeparatorNil + +`func (o *NamingConfigResource) SetSeparatorNil(b bool)` + + SetSeparatorNil sets the value for Separator to be an explicit nil + +### UnsetSeparator +`func (o *NamingConfigResource) UnsetSeparator()` + +UnsetSeparator ensures that no value is present for Separator, not even an explicit nil +### GetNumberStyle + +`func (o *NamingConfigResource) GetNumberStyle() string` + +GetNumberStyle returns the NumberStyle field if non-nil, zero value otherwise. + +### GetNumberStyleOk + +`func (o *NamingConfigResource) GetNumberStyleOk() (*string, bool)` + +GetNumberStyleOk returns a tuple with the NumberStyle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumberStyle + +`func (o *NamingConfigResource) SetNumberStyle(v string)` + +SetNumberStyle sets NumberStyle field to given value. + +### HasNumberStyle + +`func (o *NamingConfigResource) HasNumberStyle() bool` + +HasNumberStyle returns a boolean if a field has been set. + +### SetNumberStyleNil + +`func (o *NamingConfigResource) SetNumberStyleNil(b bool)` + + SetNumberStyleNil sets the value for NumberStyle to be an explicit nil + +### UnsetNumberStyle +`func (o *NamingConfigResource) UnsetNumberStyle()` + +UnsetNumberStyle ensures that no value is present for NumberStyle, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/NewItemMonitorTypes.md b/lidarr/docs/NewItemMonitorTypes.md new file mode 100644 index 0000000..a11b29a --- /dev/null +++ b/lidarr/docs/NewItemMonitorTypes.md @@ -0,0 +1,15 @@ +# NewItemMonitorTypes + +## Enum + + +* `ALL` (value: `"all"`) + +* `NONE` (value: `"none"`) + +* `NEW` (value: `"new"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/NotificationApi.md b/lidarr/docs/NotificationApi.md new file mode 100644 index 0000000..dee48ad --- /dev/null +++ b/lidarr/docs/NotificationApi.md @@ -0,0 +1,590 @@ +# \NotificationApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Notification**](NotificationApi.md#CreateApiV1Notification) | **Post** /api/v1/notification | +[**CreateApiV1NotificationActionByName**](NotificationApi.md#CreateApiV1NotificationActionByName) | **Post** /api/v1/notification/action/{name} | +[**DeleteApiV1Notification**](NotificationApi.md#DeleteApiV1Notification) | **Delete** /api/v1/notification/{id} | +[**GetApiV1NotificationById**](NotificationApi.md#GetApiV1NotificationById) | **Get** /api/v1/notification/{id} | +[**ListApiV1Notification**](NotificationApi.md#ListApiV1Notification) | **Get** /api/v1/notification | +[**ListApiV1NotificationSchema**](NotificationApi.md#ListApiV1NotificationSchema) | **Get** /api/v1/notification/schema | +[**TestApiV1Notification**](NotificationApi.md#TestApiV1Notification) | **Post** /api/v1/notification/test | +[**TestallApiV1Notification**](NotificationApi.md#TestallApiV1Notification) | **Post** /api/v1/notification/testall | +[**UpdateApiV1Notification**](NotificationApi.md#UpdateApiV1Notification) | **Put** /api/v1/notification/{id} | + + + +## CreateApiV1Notification + +> NotificationResource CreateApiV1Notification(ctx).NotificationResource(notificationResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + notificationResource := *lidarrClient.NewNotificationResource() // NotificationResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.CreateApiV1Notification(context.Background()).NotificationResource(notificationResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.CreateApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Notification`: NotificationResource + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.CreateApiV1Notification`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1NotificationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationResource** | [**NotificationResource**](NotificationResource.md) | | + +### Return type + +[**NotificationResource**](NotificationResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1NotificationActionByName + +> CreateApiV1NotificationActionByName(ctx, name).NotificationResource(notificationResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + name := "name_example" // string | + notificationResource := *lidarrClient.NewNotificationResource() // NotificationResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.CreateApiV1NotificationActionByName(context.Background(), name).NotificationResource(notificationResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.CreateApiV1NotificationActionByName``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**name** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1NotificationActionByNameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **notificationResource** | [**NotificationResource**](NotificationResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Notification + +> DeleteApiV1Notification(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.DeleteApiV1Notification(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.DeleteApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1NotificationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1NotificationById + +> NotificationResource GetApiV1NotificationById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.GetApiV1NotificationById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.GetApiV1NotificationById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1NotificationById`: NotificationResource + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.GetApiV1NotificationById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1NotificationByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**NotificationResource**](NotificationResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Notification + +> []NotificationResource ListApiV1Notification(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.ListApiV1Notification(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.ListApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Notification`: []NotificationResource + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.ListApiV1Notification`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1NotificationRequest struct via the builder pattern + + +### Return type + +[**[]NotificationResource**](NotificationResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1NotificationSchema + +> []NotificationResource ListApiV1NotificationSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.ListApiV1NotificationSchema(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.ListApiV1NotificationSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1NotificationSchema`: []NotificationResource + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.ListApiV1NotificationSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1NotificationSchemaRequest struct via the builder pattern + + +### Return type + +[**[]NotificationResource**](NotificationResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestApiV1Notification + +> TestApiV1Notification(ctx).NotificationResource(notificationResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + notificationResource := *lidarrClient.NewNotificationResource() // NotificationResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.TestApiV1Notification(context.Background()).NotificationResource(notificationResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.TestApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestApiV1NotificationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **notificationResource** | [**NotificationResource**](NotificationResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## TestallApiV1Notification + +> TestallApiV1Notification(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.TestallApiV1Notification(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.TestallApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiTestallApiV1NotificationRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Notification + +> NotificationResource UpdateApiV1Notification(ctx, id).NotificationResource(notificationResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + notificationResource := *lidarrClient.NewNotificationResource() // NotificationResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.NotificationApi.UpdateApiV1Notification(context.Background(), id).NotificationResource(notificationResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `NotificationApi.UpdateApiV1Notification``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Notification`: NotificationResource + fmt.Fprintf(os.Stdout, "Response from `NotificationApi.UpdateApiV1Notification`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1NotificationRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **notificationResource** | [**NotificationResource**](NotificationResource.md) | | + +### Return type + +[**NotificationResource**](NotificationResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/NotificationResource.md b/lidarr/docs/NotificationResource.md new file mode 100644 index 0000000..0cdcb6a --- /dev/null +++ b/lidarr/docs/NotificationResource.md @@ -0,0 +1,936 @@ +# NotificationResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Fields** | Pointer to [**[]Field**](Field.md) | | [optional] +**ImplementationName** | Pointer to **NullableString** | | [optional] +**Implementation** | Pointer to **NullableString** | | [optional] +**ConfigContract** | Pointer to **NullableString** | | [optional] +**InfoLink** | Pointer to **NullableString** | | [optional] +**Message** | Pointer to [**ProviderMessage**](ProviderMessage.md) | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] +**Presets** | Pointer to [**[]NotificationResource**](NotificationResource.md) | | [optional] +**Link** | Pointer to **NullableString** | | [optional] +**OnGrab** | Pointer to **bool** | | [optional] +**OnReleaseImport** | Pointer to **bool** | | [optional] +**OnUpgrade** | Pointer to **bool** | | [optional] +**OnRename** | Pointer to **bool** | | [optional] +**OnHealthIssue** | Pointer to **bool** | | [optional] +**OnDownloadFailure** | Pointer to **bool** | | [optional] +**OnImportFailure** | Pointer to **bool** | | [optional] +**OnTrackRetag** | Pointer to **bool** | | [optional] +**OnApplicationUpdate** | Pointer to **bool** | | [optional] +**SupportsOnGrab** | Pointer to **bool** | | [optional] +**SupportsOnReleaseImport** | Pointer to **bool** | | [optional] +**SupportsOnUpgrade** | Pointer to **bool** | | [optional] +**SupportsOnRename** | Pointer to **bool** | | [optional] +**SupportsOnHealthIssue** | Pointer to **bool** | | [optional] +**IncludeHealthWarnings** | Pointer to **bool** | | [optional] +**SupportsOnDownloadFailure** | Pointer to **bool** | | [optional] +**SupportsOnImportFailure** | Pointer to **bool** | | [optional] +**SupportsOnTrackRetag** | Pointer to **bool** | | [optional] +**SupportsOnApplicationUpdate** | Pointer to **bool** | | [optional] +**TestCommand** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewNotificationResource + +`func NewNotificationResource() *NotificationResource` + +NewNotificationResource instantiates a new NotificationResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewNotificationResourceWithDefaults + +`func NewNotificationResourceWithDefaults() *NotificationResource` + +NewNotificationResourceWithDefaults instantiates a new NotificationResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *NotificationResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *NotificationResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *NotificationResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *NotificationResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *NotificationResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NotificationResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *NotificationResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *NotificationResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *NotificationResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *NotificationResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetFields + +`func (o *NotificationResource) GetFields() []Field` + +GetFields returns the Fields field if non-nil, zero value otherwise. + +### GetFieldsOk + +`func (o *NotificationResource) GetFieldsOk() (*[]Field, bool)` + +GetFieldsOk returns a tuple with the Fields field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFields + +`func (o *NotificationResource) SetFields(v []Field)` + +SetFields sets Fields field to given value. + +### HasFields + +`func (o *NotificationResource) HasFields() bool` + +HasFields returns a boolean if a field has been set. + +### SetFieldsNil + +`func (o *NotificationResource) SetFieldsNil(b bool)` + + SetFieldsNil sets the value for Fields to be an explicit nil + +### UnsetFields +`func (o *NotificationResource) UnsetFields()` + +UnsetFields ensures that no value is present for Fields, not even an explicit nil +### GetImplementationName + +`func (o *NotificationResource) GetImplementationName() string` + +GetImplementationName returns the ImplementationName field if non-nil, zero value otherwise. + +### GetImplementationNameOk + +`func (o *NotificationResource) GetImplementationNameOk() (*string, bool)` + +GetImplementationNameOk returns a tuple with the ImplementationName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementationName + +`func (o *NotificationResource) SetImplementationName(v string)` + +SetImplementationName sets ImplementationName field to given value. + +### HasImplementationName + +`func (o *NotificationResource) HasImplementationName() bool` + +HasImplementationName returns a boolean if a field has been set. + +### SetImplementationNameNil + +`func (o *NotificationResource) SetImplementationNameNil(b bool)` + + SetImplementationNameNil sets the value for ImplementationName to be an explicit nil + +### UnsetImplementationName +`func (o *NotificationResource) UnsetImplementationName()` + +UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +### GetImplementation + +`func (o *NotificationResource) GetImplementation() string` + +GetImplementation returns the Implementation field if non-nil, zero value otherwise. + +### GetImplementationOk + +`func (o *NotificationResource) GetImplementationOk() (*string, bool)` + +GetImplementationOk returns a tuple with the Implementation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImplementation + +`func (o *NotificationResource) SetImplementation(v string)` + +SetImplementation sets Implementation field to given value. + +### HasImplementation + +`func (o *NotificationResource) HasImplementation() bool` + +HasImplementation returns a boolean if a field has been set. + +### SetImplementationNil + +`func (o *NotificationResource) SetImplementationNil(b bool)` + + SetImplementationNil sets the value for Implementation to be an explicit nil + +### UnsetImplementation +`func (o *NotificationResource) UnsetImplementation()` + +UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +### GetConfigContract + +`func (o *NotificationResource) GetConfigContract() string` + +GetConfigContract returns the ConfigContract field if non-nil, zero value otherwise. + +### GetConfigContractOk + +`func (o *NotificationResource) GetConfigContractOk() (*string, bool)` + +GetConfigContractOk returns a tuple with the ConfigContract field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigContract + +`func (o *NotificationResource) SetConfigContract(v string)` + +SetConfigContract sets ConfigContract field to given value. + +### HasConfigContract + +`func (o *NotificationResource) HasConfigContract() bool` + +HasConfigContract returns a boolean if a field has been set. + +### SetConfigContractNil + +`func (o *NotificationResource) SetConfigContractNil(b bool)` + + SetConfigContractNil sets the value for ConfigContract to be an explicit nil + +### UnsetConfigContract +`func (o *NotificationResource) UnsetConfigContract()` + +UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +### GetInfoLink + +`func (o *NotificationResource) GetInfoLink() string` + +GetInfoLink returns the InfoLink field if non-nil, zero value otherwise. + +### GetInfoLinkOk + +`func (o *NotificationResource) GetInfoLinkOk() (*string, bool)` + +GetInfoLinkOk returns a tuple with the InfoLink field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoLink + +`func (o *NotificationResource) SetInfoLink(v string)` + +SetInfoLink sets InfoLink field to given value. + +### HasInfoLink + +`func (o *NotificationResource) HasInfoLink() bool` + +HasInfoLink returns a boolean if a field has been set. + +### SetInfoLinkNil + +`func (o *NotificationResource) SetInfoLinkNil(b bool)` + + SetInfoLinkNil sets the value for InfoLink to be an explicit nil + +### UnsetInfoLink +`func (o *NotificationResource) UnsetInfoLink()` + +UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +### GetMessage + +`func (o *NotificationResource) GetMessage() ProviderMessage` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *NotificationResource) GetMessageOk() (*ProviderMessage, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *NotificationResource) SetMessage(v ProviderMessage)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *NotificationResource) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetTags + +`func (o *NotificationResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *NotificationResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *NotificationResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *NotificationResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *NotificationResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *NotificationResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetPresets + +`func (o *NotificationResource) GetPresets() []NotificationResource` + +GetPresets returns the Presets field if non-nil, zero value otherwise. + +### GetPresetsOk + +`func (o *NotificationResource) GetPresetsOk() (*[]NotificationResource, bool)` + +GetPresetsOk returns a tuple with the Presets field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPresets + +`func (o *NotificationResource) SetPresets(v []NotificationResource)` + +SetPresets sets Presets field to given value. + +### HasPresets + +`func (o *NotificationResource) HasPresets() bool` + +HasPresets returns a boolean if a field has been set. + +### SetPresetsNil + +`func (o *NotificationResource) SetPresetsNil(b bool)` + + SetPresetsNil sets the value for Presets to be an explicit nil + +### UnsetPresets +`func (o *NotificationResource) UnsetPresets()` + +UnsetPresets ensures that no value is present for Presets, not even an explicit nil +### GetLink + +`func (o *NotificationResource) GetLink() string` + +GetLink returns the Link field if non-nil, zero value otherwise. + +### GetLinkOk + +`func (o *NotificationResource) GetLinkOk() (*string, bool)` + +GetLinkOk returns a tuple with the Link field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLink + +`func (o *NotificationResource) SetLink(v string)` + +SetLink sets Link field to given value. + +### HasLink + +`func (o *NotificationResource) HasLink() bool` + +HasLink returns a boolean if a field has been set. + +### SetLinkNil + +`func (o *NotificationResource) SetLinkNil(b bool)` + + SetLinkNil sets the value for Link to be an explicit nil + +### UnsetLink +`func (o *NotificationResource) UnsetLink()` + +UnsetLink ensures that no value is present for Link, not even an explicit nil +### GetOnGrab + +`func (o *NotificationResource) GetOnGrab() bool` + +GetOnGrab returns the OnGrab field if non-nil, zero value otherwise. + +### GetOnGrabOk + +`func (o *NotificationResource) GetOnGrabOk() (*bool, bool)` + +GetOnGrabOk returns a tuple with the OnGrab field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnGrab + +`func (o *NotificationResource) SetOnGrab(v bool)` + +SetOnGrab sets OnGrab field to given value. + +### HasOnGrab + +`func (o *NotificationResource) HasOnGrab() bool` + +HasOnGrab returns a boolean if a field has been set. + +### GetOnReleaseImport + +`func (o *NotificationResource) GetOnReleaseImport() bool` + +GetOnReleaseImport returns the OnReleaseImport field if non-nil, zero value otherwise. + +### GetOnReleaseImportOk + +`func (o *NotificationResource) GetOnReleaseImportOk() (*bool, bool)` + +GetOnReleaseImportOk returns a tuple with the OnReleaseImport field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnReleaseImport + +`func (o *NotificationResource) SetOnReleaseImport(v bool)` + +SetOnReleaseImport sets OnReleaseImport field to given value. + +### HasOnReleaseImport + +`func (o *NotificationResource) HasOnReleaseImport() bool` + +HasOnReleaseImport returns a boolean if a field has been set. + +### GetOnUpgrade + +`func (o *NotificationResource) GetOnUpgrade() bool` + +GetOnUpgrade returns the OnUpgrade field if non-nil, zero value otherwise. + +### GetOnUpgradeOk + +`func (o *NotificationResource) GetOnUpgradeOk() (*bool, bool)` + +GetOnUpgradeOk returns a tuple with the OnUpgrade field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnUpgrade + +`func (o *NotificationResource) SetOnUpgrade(v bool)` + +SetOnUpgrade sets OnUpgrade field to given value. + +### HasOnUpgrade + +`func (o *NotificationResource) HasOnUpgrade() bool` + +HasOnUpgrade returns a boolean if a field has been set. + +### GetOnRename + +`func (o *NotificationResource) GetOnRename() bool` + +GetOnRename returns the OnRename field if non-nil, zero value otherwise. + +### GetOnRenameOk + +`func (o *NotificationResource) GetOnRenameOk() (*bool, bool)` + +GetOnRenameOk returns a tuple with the OnRename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnRename + +`func (o *NotificationResource) SetOnRename(v bool)` + +SetOnRename sets OnRename field to given value. + +### HasOnRename + +`func (o *NotificationResource) HasOnRename() bool` + +HasOnRename returns a boolean if a field has been set. + +### GetOnHealthIssue + +`func (o *NotificationResource) GetOnHealthIssue() bool` + +GetOnHealthIssue returns the OnHealthIssue field if non-nil, zero value otherwise. + +### GetOnHealthIssueOk + +`func (o *NotificationResource) GetOnHealthIssueOk() (*bool, bool)` + +GetOnHealthIssueOk returns a tuple with the OnHealthIssue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnHealthIssue + +`func (o *NotificationResource) SetOnHealthIssue(v bool)` + +SetOnHealthIssue sets OnHealthIssue field to given value. + +### HasOnHealthIssue + +`func (o *NotificationResource) HasOnHealthIssue() bool` + +HasOnHealthIssue returns a boolean if a field has been set. + +### GetOnDownloadFailure + +`func (o *NotificationResource) GetOnDownloadFailure() bool` + +GetOnDownloadFailure returns the OnDownloadFailure field if non-nil, zero value otherwise. + +### GetOnDownloadFailureOk + +`func (o *NotificationResource) GetOnDownloadFailureOk() (*bool, bool)` + +GetOnDownloadFailureOk returns a tuple with the OnDownloadFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnDownloadFailure + +`func (o *NotificationResource) SetOnDownloadFailure(v bool)` + +SetOnDownloadFailure sets OnDownloadFailure field to given value. + +### HasOnDownloadFailure + +`func (o *NotificationResource) HasOnDownloadFailure() bool` + +HasOnDownloadFailure returns a boolean if a field has been set. + +### GetOnImportFailure + +`func (o *NotificationResource) GetOnImportFailure() bool` + +GetOnImportFailure returns the OnImportFailure field if non-nil, zero value otherwise. + +### GetOnImportFailureOk + +`func (o *NotificationResource) GetOnImportFailureOk() (*bool, bool)` + +GetOnImportFailureOk returns a tuple with the OnImportFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnImportFailure + +`func (o *NotificationResource) SetOnImportFailure(v bool)` + +SetOnImportFailure sets OnImportFailure field to given value. + +### HasOnImportFailure + +`func (o *NotificationResource) HasOnImportFailure() bool` + +HasOnImportFailure returns a boolean if a field has been set. + +### GetOnTrackRetag + +`func (o *NotificationResource) GetOnTrackRetag() bool` + +GetOnTrackRetag returns the OnTrackRetag field if non-nil, zero value otherwise. + +### GetOnTrackRetagOk + +`func (o *NotificationResource) GetOnTrackRetagOk() (*bool, bool)` + +GetOnTrackRetagOk returns a tuple with the OnTrackRetag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnTrackRetag + +`func (o *NotificationResource) SetOnTrackRetag(v bool)` + +SetOnTrackRetag sets OnTrackRetag field to given value. + +### HasOnTrackRetag + +`func (o *NotificationResource) HasOnTrackRetag() bool` + +HasOnTrackRetag returns a boolean if a field has been set. + +### GetOnApplicationUpdate + +`func (o *NotificationResource) GetOnApplicationUpdate() bool` + +GetOnApplicationUpdate returns the OnApplicationUpdate field if non-nil, zero value otherwise. + +### GetOnApplicationUpdateOk + +`func (o *NotificationResource) GetOnApplicationUpdateOk() (*bool, bool)` + +GetOnApplicationUpdateOk returns a tuple with the OnApplicationUpdate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOnApplicationUpdate + +`func (o *NotificationResource) SetOnApplicationUpdate(v bool)` + +SetOnApplicationUpdate sets OnApplicationUpdate field to given value. + +### HasOnApplicationUpdate + +`func (o *NotificationResource) HasOnApplicationUpdate() bool` + +HasOnApplicationUpdate returns a boolean if a field has been set. + +### GetSupportsOnGrab + +`func (o *NotificationResource) GetSupportsOnGrab() bool` + +GetSupportsOnGrab returns the SupportsOnGrab field if non-nil, zero value otherwise. + +### GetSupportsOnGrabOk + +`func (o *NotificationResource) GetSupportsOnGrabOk() (*bool, bool)` + +GetSupportsOnGrabOk returns a tuple with the SupportsOnGrab field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnGrab + +`func (o *NotificationResource) SetSupportsOnGrab(v bool)` + +SetSupportsOnGrab sets SupportsOnGrab field to given value. + +### HasSupportsOnGrab + +`func (o *NotificationResource) HasSupportsOnGrab() bool` + +HasSupportsOnGrab returns a boolean if a field has been set. + +### GetSupportsOnReleaseImport + +`func (o *NotificationResource) GetSupportsOnReleaseImport() bool` + +GetSupportsOnReleaseImport returns the SupportsOnReleaseImport field if non-nil, zero value otherwise. + +### GetSupportsOnReleaseImportOk + +`func (o *NotificationResource) GetSupportsOnReleaseImportOk() (*bool, bool)` + +GetSupportsOnReleaseImportOk returns a tuple with the SupportsOnReleaseImport field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnReleaseImport + +`func (o *NotificationResource) SetSupportsOnReleaseImport(v bool)` + +SetSupportsOnReleaseImport sets SupportsOnReleaseImport field to given value. + +### HasSupportsOnReleaseImport + +`func (o *NotificationResource) HasSupportsOnReleaseImport() bool` + +HasSupportsOnReleaseImport returns a boolean if a field has been set. + +### GetSupportsOnUpgrade + +`func (o *NotificationResource) GetSupportsOnUpgrade() bool` + +GetSupportsOnUpgrade returns the SupportsOnUpgrade field if non-nil, zero value otherwise. + +### GetSupportsOnUpgradeOk + +`func (o *NotificationResource) GetSupportsOnUpgradeOk() (*bool, bool)` + +GetSupportsOnUpgradeOk returns a tuple with the SupportsOnUpgrade field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnUpgrade + +`func (o *NotificationResource) SetSupportsOnUpgrade(v bool)` + +SetSupportsOnUpgrade sets SupportsOnUpgrade field to given value. + +### HasSupportsOnUpgrade + +`func (o *NotificationResource) HasSupportsOnUpgrade() bool` + +HasSupportsOnUpgrade returns a boolean if a field has been set. + +### GetSupportsOnRename + +`func (o *NotificationResource) GetSupportsOnRename() bool` + +GetSupportsOnRename returns the SupportsOnRename field if non-nil, zero value otherwise. + +### GetSupportsOnRenameOk + +`func (o *NotificationResource) GetSupportsOnRenameOk() (*bool, bool)` + +GetSupportsOnRenameOk returns a tuple with the SupportsOnRename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnRename + +`func (o *NotificationResource) SetSupportsOnRename(v bool)` + +SetSupportsOnRename sets SupportsOnRename field to given value. + +### HasSupportsOnRename + +`func (o *NotificationResource) HasSupportsOnRename() bool` + +HasSupportsOnRename returns a boolean if a field has been set. + +### GetSupportsOnHealthIssue + +`func (o *NotificationResource) GetSupportsOnHealthIssue() bool` + +GetSupportsOnHealthIssue returns the SupportsOnHealthIssue field if non-nil, zero value otherwise. + +### GetSupportsOnHealthIssueOk + +`func (o *NotificationResource) GetSupportsOnHealthIssueOk() (*bool, bool)` + +GetSupportsOnHealthIssueOk returns a tuple with the SupportsOnHealthIssue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnHealthIssue + +`func (o *NotificationResource) SetSupportsOnHealthIssue(v bool)` + +SetSupportsOnHealthIssue sets SupportsOnHealthIssue field to given value. + +### HasSupportsOnHealthIssue + +`func (o *NotificationResource) HasSupportsOnHealthIssue() bool` + +HasSupportsOnHealthIssue returns a boolean if a field has been set. + +### GetIncludeHealthWarnings + +`func (o *NotificationResource) GetIncludeHealthWarnings() bool` + +GetIncludeHealthWarnings returns the IncludeHealthWarnings field if non-nil, zero value otherwise. + +### GetIncludeHealthWarningsOk + +`func (o *NotificationResource) GetIncludeHealthWarningsOk() (*bool, bool)` + +GetIncludeHealthWarningsOk returns a tuple with the IncludeHealthWarnings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludeHealthWarnings + +`func (o *NotificationResource) SetIncludeHealthWarnings(v bool)` + +SetIncludeHealthWarnings sets IncludeHealthWarnings field to given value. + +### HasIncludeHealthWarnings + +`func (o *NotificationResource) HasIncludeHealthWarnings() bool` + +HasIncludeHealthWarnings returns a boolean if a field has been set. + +### GetSupportsOnDownloadFailure + +`func (o *NotificationResource) GetSupportsOnDownloadFailure() bool` + +GetSupportsOnDownloadFailure returns the SupportsOnDownloadFailure field if non-nil, zero value otherwise. + +### GetSupportsOnDownloadFailureOk + +`func (o *NotificationResource) GetSupportsOnDownloadFailureOk() (*bool, bool)` + +GetSupportsOnDownloadFailureOk returns a tuple with the SupportsOnDownloadFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnDownloadFailure + +`func (o *NotificationResource) SetSupportsOnDownloadFailure(v bool)` + +SetSupportsOnDownloadFailure sets SupportsOnDownloadFailure field to given value. + +### HasSupportsOnDownloadFailure + +`func (o *NotificationResource) HasSupportsOnDownloadFailure() bool` + +HasSupportsOnDownloadFailure returns a boolean if a field has been set. + +### GetSupportsOnImportFailure + +`func (o *NotificationResource) GetSupportsOnImportFailure() bool` + +GetSupportsOnImportFailure returns the SupportsOnImportFailure field if non-nil, zero value otherwise. + +### GetSupportsOnImportFailureOk + +`func (o *NotificationResource) GetSupportsOnImportFailureOk() (*bool, bool)` + +GetSupportsOnImportFailureOk returns a tuple with the SupportsOnImportFailure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnImportFailure + +`func (o *NotificationResource) SetSupportsOnImportFailure(v bool)` + +SetSupportsOnImportFailure sets SupportsOnImportFailure field to given value. + +### HasSupportsOnImportFailure + +`func (o *NotificationResource) HasSupportsOnImportFailure() bool` + +HasSupportsOnImportFailure returns a boolean if a field has been set. + +### GetSupportsOnTrackRetag + +`func (o *NotificationResource) GetSupportsOnTrackRetag() bool` + +GetSupportsOnTrackRetag returns the SupportsOnTrackRetag field if non-nil, zero value otherwise. + +### GetSupportsOnTrackRetagOk + +`func (o *NotificationResource) GetSupportsOnTrackRetagOk() (*bool, bool)` + +GetSupportsOnTrackRetagOk returns a tuple with the SupportsOnTrackRetag field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnTrackRetag + +`func (o *NotificationResource) SetSupportsOnTrackRetag(v bool)` + +SetSupportsOnTrackRetag sets SupportsOnTrackRetag field to given value. + +### HasSupportsOnTrackRetag + +`func (o *NotificationResource) HasSupportsOnTrackRetag() bool` + +HasSupportsOnTrackRetag returns a boolean if a field has been set. + +### GetSupportsOnApplicationUpdate + +`func (o *NotificationResource) GetSupportsOnApplicationUpdate() bool` + +GetSupportsOnApplicationUpdate returns the SupportsOnApplicationUpdate field if non-nil, zero value otherwise. + +### GetSupportsOnApplicationUpdateOk + +`func (o *NotificationResource) GetSupportsOnApplicationUpdateOk() (*bool, bool)` + +GetSupportsOnApplicationUpdateOk returns a tuple with the SupportsOnApplicationUpdate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSupportsOnApplicationUpdate + +`func (o *NotificationResource) SetSupportsOnApplicationUpdate(v bool)` + +SetSupportsOnApplicationUpdate sets SupportsOnApplicationUpdate field to given value. + +### HasSupportsOnApplicationUpdate + +`func (o *NotificationResource) HasSupportsOnApplicationUpdate() bool` + +HasSupportsOnApplicationUpdate returns a boolean if a field has been set. + +### GetTestCommand + +`func (o *NotificationResource) GetTestCommand() string` + +GetTestCommand returns the TestCommand field if non-nil, zero value otherwise. + +### GetTestCommandOk + +`func (o *NotificationResource) GetTestCommandOk() (*string, bool)` + +GetTestCommandOk returns a tuple with the TestCommand field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTestCommand + +`func (o *NotificationResource) SetTestCommand(v string)` + +SetTestCommand sets TestCommand field to given value. + +### HasTestCommand + +`func (o *NotificationResource) HasTestCommand() bool` + +HasTestCommand returns a boolean if a field has been set. + +### SetTestCommandNil + +`func (o *NotificationResource) SetTestCommandNil(b bool)` + + SetTestCommandNil sets the value for TestCommand to be an explicit nil + +### UnsetTestCommand +`func (o *NotificationResource) UnsetTestCommand()` + +UnsetTestCommand ensures that no value is present for TestCommand, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/PagingResourceFilter.md b/lidarr/docs/PagingResourceFilter.md new file mode 100644 index 0000000..c34a012 --- /dev/null +++ b/lidarr/docs/PagingResourceFilter.md @@ -0,0 +1,102 @@ +# PagingResourceFilter + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | Pointer to **NullableString** | | [optional] +**Value** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewPagingResourceFilter + +`func NewPagingResourceFilter() *PagingResourceFilter` + +NewPagingResourceFilter instantiates a new PagingResourceFilter object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPagingResourceFilterWithDefaults + +`func NewPagingResourceFilterWithDefaults() *PagingResourceFilter` + +NewPagingResourceFilterWithDefaults instantiates a new PagingResourceFilter object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetKey + +`func (o *PagingResourceFilter) GetKey() string` + +GetKey returns the Key field if non-nil, zero value otherwise. + +### GetKeyOk + +`func (o *PagingResourceFilter) GetKeyOk() (*string, bool)` + +GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetKey + +`func (o *PagingResourceFilter) SetKey(v string)` + +SetKey sets Key field to given value. + +### HasKey + +`func (o *PagingResourceFilter) HasKey() bool` + +HasKey returns a boolean if a field has been set. + +### SetKeyNil + +`func (o *PagingResourceFilter) SetKeyNil(b bool)` + + SetKeyNil sets the value for Key to be an explicit nil + +### UnsetKey +`func (o *PagingResourceFilter) UnsetKey()` + +UnsetKey ensures that no value is present for Key, not even an explicit nil +### GetValue + +`func (o *PagingResourceFilter) GetValue() string` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *PagingResourceFilter) GetValueOk() (*string, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *PagingResourceFilter) SetValue(v string)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *PagingResourceFilter) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### SetValueNil + +`func (o *PagingResourceFilter) SetValueNil(b bool)` + + SetValueNil sets the value for Value to be an explicit nil + +### UnsetValue +`func (o *PagingResourceFilter) UnsetValue()` + +UnsetValue ensures that no value is present for Value, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ParseApi.md b/lidarr/docs/ParseApi.md new file mode 100644 index 0000000..ca7cbeb --- /dev/null +++ b/lidarr/docs/ParseApi.md @@ -0,0 +1,73 @@ +# \ParseApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1Parse**](ParseApi.md#GetApiV1Parse) | **Get** /api/v1/parse | + + + +## GetApiV1Parse + +> ParseResource GetApiV1Parse(ctx).Title(title).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + title := "title_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ParseApi.GetApiV1Parse(context.Background()).Title(title).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ParseApi.GetApiV1Parse``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1Parse`: ParseResource + fmt.Fprintf(os.Stdout, "Response from `ParseApi.GetApiV1Parse`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ParseRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **title** | **string** | | + +### Return type + +[**ParseResource**](ParseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ParseResource.md b/lidarr/docs/ParseResource.md new file mode 100644 index 0000000..2d02f03 --- /dev/null +++ b/lidarr/docs/ParseResource.md @@ -0,0 +1,180 @@ +# ParseResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**ParsedAlbumInfo** | Pointer to [**ParsedAlbumInfo**](ParsedAlbumInfo.md) | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Albums** | Pointer to [**[]AlbumResource**](AlbumResource.md) | | [optional] + +## Methods + +### NewParseResource + +`func NewParseResource() *ParseResource` + +NewParseResource instantiates a new ParseResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewParseResourceWithDefaults + +`func NewParseResourceWithDefaults() *ParseResource` + +NewParseResourceWithDefaults instantiates a new ParseResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ParseResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ParseResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ParseResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ParseResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetTitle + +`func (o *ParseResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *ParseResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *ParseResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *ParseResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *ParseResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *ParseResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetParsedAlbumInfo + +`func (o *ParseResource) GetParsedAlbumInfo() ParsedAlbumInfo` + +GetParsedAlbumInfo returns the ParsedAlbumInfo field if non-nil, zero value otherwise. + +### GetParsedAlbumInfoOk + +`func (o *ParseResource) GetParsedAlbumInfoOk() (*ParsedAlbumInfo, bool)` + +GetParsedAlbumInfoOk returns a tuple with the ParsedAlbumInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetParsedAlbumInfo + +`func (o *ParseResource) SetParsedAlbumInfo(v ParsedAlbumInfo)` + +SetParsedAlbumInfo sets ParsedAlbumInfo field to given value. + +### HasParsedAlbumInfo + +`func (o *ParseResource) HasParsedAlbumInfo() bool` + +HasParsedAlbumInfo returns a boolean if a field has been set. + +### GetArtist + +`func (o *ParseResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *ParseResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *ParseResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *ParseResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetAlbums + +`func (o *ParseResource) GetAlbums() []AlbumResource` + +GetAlbums returns the Albums field if non-nil, zero value otherwise. + +### GetAlbumsOk + +`func (o *ParseResource) GetAlbumsOk() (*[]AlbumResource, bool)` + +GetAlbumsOk returns a tuple with the Albums field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbums + +`func (o *ParseResource) SetAlbums(v []AlbumResource)` + +SetAlbums sets Albums field to given value. + +### HasAlbums + +`func (o *ParseResource) HasAlbums() bool` + +HasAlbums returns a boolean if a field has been set. + +### SetAlbumsNil + +`func (o *ParseResource) SetAlbumsNil(b bool)` + + SetAlbumsNil sets the value for Albums to be an explicit nil + +### UnsetAlbums +`func (o *ParseResource) UnsetAlbums()` + +UnsetAlbums ensures that no value is present for Albums, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ParsedAlbumInfo.md b/lidarr/docs/ParsedAlbumInfo.md new file mode 100644 index 0000000..b25b6f2 --- /dev/null +++ b/lidarr/docs/ParsedAlbumInfo.md @@ -0,0 +1,376 @@ +# ParsedAlbumInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AlbumTitle** | Pointer to **NullableString** | | [optional] +**ArtistName** | Pointer to **NullableString** | | [optional] +**ArtistTitleInfo** | Pointer to [**ArtistTitleInfo**](ArtistTitleInfo.md) | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**ReleaseDate** | Pointer to **NullableString** | | [optional] +**Discography** | Pointer to **bool** | | [optional] +**DiscographyStart** | Pointer to **int32** | | [optional] +**DiscographyEnd** | Pointer to **int32** | | [optional] +**ReleaseGroup** | Pointer to **NullableString** | | [optional] +**ReleaseHash** | Pointer to **NullableString** | | [optional] +**ReleaseVersion** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewParsedAlbumInfo + +`func NewParsedAlbumInfo() *ParsedAlbumInfo` + +NewParsedAlbumInfo instantiates a new ParsedAlbumInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewParsedAlbumInfoWithDefaults + +`func NewParsedAlbumInfoWithDefaults() *ParsedAlbumInfo` + +NewParsedAlbumInfoWithDefaults instantiates a new ParsedAlbumInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAlbumTitle + +`func (o *ParsedAlbumInfo) GetAlbumTitle() string` + +GetAlbumTitle returns the AlbumTitle field if non-nil, zero value otherwise. + +### GetAlbumTitleOk + +`func (o *ParsedAlbumInfo) GetAlbumTitleOk() (*string, bool)` + +GetAlbumTitleOk returns a tuple with the AlbumTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumTitle + +`func (o *ParsedAlbumInfo) SetAlbumTitle(v string)` + +SetAlbumTitle sets AlbumTitle field to given value. + +### HasAlbumTitle + +`func (o *ParsedAlbumInfo) HasAlbumTitle() bool` + +HasAlbumTitle returns a boolean if a field has been set. + +### SetAlbumTitleNil + +`func (o *ParsedAlbumInfo) SetAlbumTitleNil(b bool)` + + SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil + +### UnsetAlbumTitle +`func (o *ParsedAlbumInfo) UnsetAlbumTitle()` + +UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +### GetArtistName + +`func (o *ParsedAlbumInfo) GetArtistName() string` + +GetArtistName returns the ArtistName field if non-nil, zero value otherwise. + +### GetArtistNameOk + +`func (o *ParsedAlbumInfo) GetArtistNameOk() (*string, bool)` + +GetArtistNameOk returns a tuple with the ArtistName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistName + +`func (o *ParsedAlbumInfo) SetArtistName(v string)` + +SetArtistName sets ArtistName field to given value. + +### HasArtistName + +`func (o *ParsedAlbumInfo) HasArtistName() bool` + +HasArtistName returns a boolean if a field has been set. + +### SetArtistNameNil + +`func (o *ParsedAlbumInfo) SetArtistNameNil(b bool)` + + SetArtistNameNil sets the value for ArtistName to be an explicit nil + +### UnsetArtistName +`func (o *ParsedAlbumInfo) UnsetArtistName()` + +UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +### GetArtistTitleInfo + +`func (o *ParsedAlbumInfo) GetArtistTitleInfo() ArtistTitleInfo` + +GetArtistTitleInfo returns the ArtistTitleInfo field if non-nil, zero value otherwise. + +### GetArtistTitleInfoOk + +`func (o *ParsedAlbumInfo) GetArtistTitleInfoOk() (*ArtistTitleInfo, bool)` + +GetArtistTitleInfoOk returns a tuple with the ArtistTitleInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistTitleInfo + +`func (o *ParsedAlbumInfo) SetArtistTitleInfo(v ArtistTitleInfo)` + +SetArtistTitleInfo sets ArtistTitleInfo field to given value. + +### HasArtistTitleInfo + +`func (o *ParsedAlbumInfo) HasArtistTitleInfo() bool` + +HasArtistTitleInfo returns a boolean if a field has been set. + +### GetQuality + +`func (o *ParsedAlbumInfo) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *ParsedAlbumInfo) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *ParsedAlbumInfo) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *ParsedAlbumInfo) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetReleaseDate + +`func (o *ParsedAlbumInfo) GetReleaseDate() string` + +GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise. + +### GetReleaseDateOk + +`func (o *ParsedAlbumInfo) GetReleaseDateOk() (*string, bool)` + +GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseDate + +`func (o *ParsedAlbumInfo) SetReleaseDate(v string)` + +SetReleaseDate sets ReleaseDate field to given value. + +### HasReleaseDate + +`func (o *ParsedAlbumInfo) HasReleaseDate() bool` + +HasReleaseDate returns a boolean if a field has been set. + +### SetReleaseDateNil + +`func (o *ParsedAlbumInfo) SetReleaseDateNil(b bool)` + + SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil + +### UnsetReleaseDate +`func (o *ParsedAlbumInfo) UnsetReleaseDate()` + +UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +### GetDiscography + +`func (o *ParsedAlbumInfo) GetDiscography() bool` + +GetDiscography returns the Discography field if non-nil, zero value otherwise. + +### GetDiscographyOk + +`func (o *ParsedAlbumInfo) GetDiscographyOk() (*bool, bool)` + +GetDiscographyOk returns a tuple with the Discography field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscography + +`func (o *ParsedAlbumInfo) SetDiscography(v bool)` + +SetDiscography sets Discography field to given value. + +### HasDiscography + +`func (o *ParsedAlbumInfo) HasDiscography() bool` + +HasDiscography returns a boolean if a field has been set. + +### GetDiscographyStart + +`func (o *ParsedAlbumInfo) GetDiscographyStart() int32` + +GetDiscographyStart returns the DiscographyStart field if non-nil, zero value otherwise. + +### GetDiscographyStartOk + +`func (o *ParsedAlbumInfo) GetDiscographyStartOk() (*int32, bool)` + +GetDiscographyStartOk returns a tuple with the DiscographyStart field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscographyStart + +`func (o *ParsedAlbumInfo) SetDiscographyStart(v int32)` + +SetDiscographyStart sets DiscographyStart field to given value. + +### HasDiscographyStart + +`func (o *ParsedAlbumInfo) HasDiscographyStart() bool` + +HasDiscographyStart returns a boolean if a field has been set. + +### GetDiscographyEnd + +`func (o *ParsedAlbumInfo) GetDiscographyEnd() int32` + +GetDiscographyEnd returns the DiscographyEnd field if non-nil, zero value otherwise. + +### GetDiscographyEndOk + +`func (o *ParsedAlbumInfo) GetDiscographyEndOk() (*int32, bool)` + +GetDiscographyEndOk returns a tuple with the DiscographyEnd field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscographyEnd + +`func (o *ParsedAlbumInfo) SetDiscographyEnd(v int32)` + +SetDiscographyEnd sets DiscographyEnd field to given value. + +### HasDiscographyEnd + +`func (o *ParsedAlbumInfo) HasDiscographyEnd() bool` + +HasDiscographyEnd returns a boolean if a field has been set. + +### GetReleaseGroup + +`func (o *ParsedAlbumInfo) GetReleaseGroup() string` + +GetReleaseGroup returns the ReleaseGroup field if non-nil, zero value otherwise. + +### GetReleaseGroupOk + +`func (o *ParsedAlbumInfo) GetReleaseGroupOk() (*string, bool)` + +GetReleaseGroupOk returns a tuple with the ReleaseGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseGroup + +`func (o *ParsedAlbumInfo) SetReleaseGroup(v string)` + +SetReleaseGroup sets ReleaseGroup field to given value. + +### HasReleaseGroup + +`func (o *ParsedAlbumInfo) HasReleaseGroup() bool` + +HasReleaseGroup returns a boolean if a field has been set. + +### SetReleaseGroupNil + +`func (o *ParsedAlbumInfo) SetReleaseGroupNil(b bool)` + + SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil + +### UnsetReleaseGroup +`func (o *ParsedAlbumInfo) UnsetReleaseGroup()` + +UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +### GetReleaseHash + +`func (o *ParsedAlbumInfo) GetReleaseHash() string` + +GetReleaseHash returns the ReleaseHash field if non-nil, zero value otherwise. + +### GetReleaseHashOk + +`func (o *ParsedAlbumInfo) GetReleaseHashOk() (*string, bool)` + +GetReleaseHashOk returns a tuple with the ReleaseHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseHash + +`func (o *ParsedAlbumInfo) SetReleaseHash(v string)` + +SetReleaseHash sets ReleaseHash field to given value. + +### HasReleaseHash + +`func (o *ParsedAlbumInfo) HasReleaseHash() bool` + +HasReleaseHash returns a boolean if a field has been set. + +### SetReleaseHashNil + +`func (o *ParsedAlbumInfo) SetReleaseHashNil(b bool)` + + SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil + +### UnsetReleaseHash +`func (o *ParsedAlbumInfo) UnsetReleaseHash()` + +UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil +### GetReleaseVersion + +`func (o *ParsedAlbumInfo) GetReleaseVersion() string` + +GetReleaseVersion returns the ReleaseVersion field if non-nil, zero value otherwise. + +### GetReleaseVersionOk + +`func (o *ParsedAlbumInfo) GetReleaseVersionOk() (*string, bool)` + +GetReleaseVersionOk returns a tuple with the ReleaseVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseVersion + +`func (o *ParsedAlbumInfo) SetReleaseVersion(v string)` + +SetReleaseVersion sets ReleaseVersion field to given value. + +### HasReleaseVersion + +`func (o *ParsedAlbumInfo) HasReleaseVersion() bool` + +HasReleaseVersion returns a boolean if a field has been set. + +### SetReleaseVersionNil + +`func (o *ParsedAlbumInfo) SetReleaseVersionNil(b bool)` + + SetReleaseVersionNil sets the value for ReleaseVersion to be an explicit nil + +### UnsetReleaseVersion +`func (o *ParsedAlbumInfo) UnsetReleaseVersion()` + +UnsetReleaseVersion ensures that no value is present for ReleaseVersion, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ParsedTrackInfo.md b/lidarr/docs/ParsedTrackInfo.md new file mode 100644 index 0000000..cd0595b --- /dev/null +++ b/lidarr/docs/ParsedTrackInfo.md @@ -0,0 +1,778 @@ +# ParsedTrackInfo + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Title** | Pointer to **NullableString** | | [optional] +**CleanTitle** | Pointer to **NullableString** | | [optional] +**ArtistTitle** | Pointer to **NullableString** | | [optional] +**AlbumTitle** | Pointer to **NullableString** | | [optional] +**ArtistTitleInfo** | Pointer to [**ArtistTitleInfo**](ArtistTitleInfo.md) | | [optional] +**ArtistMBId** | Pointer to **NullableString** | | [optional] +**AlbumMBId** | Pointer to **NullableString** | | [optional] +**ReleaseMBId** | Pointer to **NullableString** | | [optional] +**RecordingMBId** | Pointer to **NullableString** | | [optional] +**TrackMBId** | Pointer to **NullableString** | | [optional] +**DiscNumber** | Pointer to **int32** | | [optional] +**DiscCount** | Pointer to **int32** | | [optional] +**Country** | Pointer to [**IsoCountry**](IsoCountry.md) | | [optional] +**Year** | Pointer to **int32** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] +**CatalogNumber** | Pointer to **NullableString** | | [optional] +**Disambiguation** | Pointer to **NullableString** | | [optional] +**Duration** | Pointer to [**TimeSpan**](TimeSpan.md) | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**MediaInfo** | Pointer to [**MediaInfoModel**](MediaInfoModel.md) | | [optional] +**TrackNumbers** | Pointer to **[]int32** | | [optional] +**ReleaseGroup** | Pointer to **NullableString** | | [optional] +**ReleaseHash** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewParsedTrackInfo + +`func NewParsedTrackInfo() *ParsedTrackInfo` + +NewParsedTrackInfo instantiates a new ParsedTrackInfo object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewParsedTrackInfoWithDefaults + +`func NewParsedTrackInfoWithDefaults() *ParsedTrackInfo` + +NewParsedTrackInfoWithDefaults instantiates a new ParsedTrackInfo object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTitle + +`func (o *ParsedTrackInfo) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *ParsedTrackInfo) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *ParsedTrackInfo) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *ParsedTrackInfo) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *ParsedTrackInfo) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *ParsedTrackInfo) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetCleanTitle + +`func (o *ParsedTrackInfo) GetCleanTitle() string` + +GetCleanTitle returns the CleanTitle field if non-nil, zero value otherwise. + +### GetCleanTitleOk + +`func (o *ParsedTrackInfo) GetCleanTitleOk() (*string, bool)` + +GetCleanTitleOk returns a tuple with the CleanTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCleanTitle + +`func (o *ParsedTrackInfo) SetCleanTitle(v string)` + +SetCleanTitle sets CleanTitle field to given value. + +### HasCleanTitle + +`func (o *ParsedTrackInfo) HasCleanTitle() bool` + +HasCleanTitle returns a boolean if a field has been set. + +### SetCleanTitleNil + +`func (o *ParsedTrackInfo) SetCleanTitleNil(b bool)` + + SetCleanTitleNil sets the value for CleanTitle to be an explicit nil + +### UnsetCleanTitle +`func (o *ParsedTrackInfo) UnsetCleanTitle()` + +UnsetCleanTitle ensures that no value is present for CleanTitle, not even an explicit nil +### GetArtistTitle + +`func (o *ParsedTrackInfo) GetArtistTitle() string` + +GetArtistTitle returns the ArtistTitle field if non-nil, zero value otherwise. + +### GetArtistTitleOk + +`func (o *ParsedTrackInfo) GetArtistTitleOk() (*string, bool)` + +GetArtistTitleOk returns a tuple with the ArtistTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistTitle + +`func (o *ParsedTrackInfo) SetArtistTitle(v string)` + +SetArtistTitle sets ArtistTitle field to given value. + +### HasArtistTitle + +`func (o *ParsedTrackInfo) HasArtistTitle() bool` + +HasArtistTitle returns a boolean if a field has been set. + +### SetArtistTitleNil + +`func (o *ParsedTrackInfo) SetArtistTitleNil(b bool)` + + SetArtistTitleNil sets the value for ArtistTitle to be an explicit nil + +### UnsetArtistTitle +`func (o *ParsedTrackInfo) UnsetArtistTitle()` + +UnsetArtistTitle ensures that no value is present for ArtistTitle, not even an explicit nil +### GetAlbumTitle + +`func (o *ParsedTrackInfo) GetAlbumTitle() string` + +GetAlbumTitle returns the AlbumTitle field if non-nil, zero value otherwise. + +### GetAlbumTitleOk + +`func (o *ParsedTrackInfo) GetAlbumTitleOk() (*string, bool)` + +GetAlbumTitleOk returns a tuple with the AlbumTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumTitle + +`func (o *ParsedTrackInfo) SetAlbumTitle(v string)` + +SetAlbumTitle sets AlbumTitle field to given value. + +### HasAlbumTitle + +`func (o *ParsedTrackInfo) HasAlbumTitle() bool` + +HasAlbumTitle returns a boolean if a field has been set. + +### SetAlbumTitleNil + +`func (o *ParsedTrackInfo) SetAlbumTitleNil(b bool)` + + SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil + +### UnsetAlbumTitle +`func (o *ParsedTrackInfo) UnsetAlbumTitle()` + +UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +### GetArtistTitleInfo + +`func (o *ParsedTrackInfo) GetArtistTitleInfo() ArtistTitleInfo` + +GetArtistTitleInfo returns the ArtistTitleInfo field if non-nil, zero value otherwise. + +### GetArtistTitleInfoOk + +`func (o *ParsedTrackInfo) GetArtistTitleInfoOk() (*ArtistTitleInfo, bool)` + +GetArtistTitleInfoOk returns a tuple with the ArtistTitleInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistTitleInfo + +`func (o *ParsedTrackInfo) SetArtistTitleInfo(v ArtistTitleInfo)` + +SetArtistTitleInfo sets ArtistTitleInfo field to given value. + +### HasArtistTitleInfo + +`func (o *ParsedTrackInfo) HasArtistTitleInfo() bool` + +HasArtistTitleInfo returns a boolean if a field has been set. + +### GetArtistMBId + +`func (o *ParsedTrackInfo) GetArtistMBId() string` + +GetArtistMBId returns the ArtistMBId field if non-nil, zero value otherwise. + +### GetArtistMBIdOk + +`func (o *ParsedTrackInfo) GetArtistMBIdOk() (*string, bool)` + +GetArtistMBIdOk returns a tuple with the ArtistMBId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMBId + +`func (o *ParsedTrackInfo) SetArtistMBId(v string)` + +SetArtistMBId sets ArtistMBId field to given value. + +### HasArtistMBId + +`func (o *ParsedTrackInfo) HasArtistMBId() bool` + +HasArtistMBId returns a boolean if a field has been set. + +### SetArtistMBIdNil + +`func (o *ParsedTrackInfo) SetArtistMBIdNil(b bool)` + + SetArtistMBIdNil sets the value for ArtistMBId to be an explicit nil + +### UnsetArtistMBId +`func (o *ParsedTrackInfo) UnsetArtistMBId()` + +UnsetArtistMBId ensures that no value is present for ArtistMBId, not even an explicit nil +### GetAlbumMBId + +`func (o *ParsedTrackInfo) GetAlbumMBId() string` + +GetAlbumMBId returns the AlbumMBId field if non-nil, zero value otherwise. + +### GetAlbumMBIdOk + +`func (o *ParsedTrackInfo) GetAlbumMBIdOk() (*string, bool)` + +GetAlbumMBIdOk returns a tuple with the AlbumMBId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumMBId + +`func (o *ParsedTrackInfo) SetAlbumMBId(v string)` + +SetAlbumMBId sets AlbumMBId field to given value. + +### HasAlbumMBId + +`func (o *ParsedTrackInfo) HasAlbumMBId() bool` + +HasAlbumMBId returns a boolean if a field has been set. + +### SetAlbumMBIdNil + +`func (o *ParsedTrackInfo) SetAlbumMBIdNil(b bool)` + + SetAlbumMBIdNil sets the value for AlbumMBId to be an explicit nil + +### UnsetAlbumMBId +`func (o *ParsedTrackInfo) UnsetAlbumMBId()` + +UnsetAlbumMBId ensures that no value is present for AlbumMBId, not even an explicit nil +### GetReleaseMBId + +`func (o *ParsedTrackInfo) GetReleaseMBId() string` + +GetReleaseMBId returns the ReleaseMBId field if non-nil, zero value otherwise. + +### GetReleaseMBIdOk + +`func (o *ParsedTrackInfo) GetReleaseMBIdOk() (*string, bool)` + +GetReleaseMBIdOk returns a tuple with the ReleaseMBId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseMBId + +`func (o *ParsedTrackInfo) SetReleaseMBId(v string)` + +SetReleaseMBId sets ReleaseMBId field to given value. + +### HasReleaseMBId + +`func (o *ParsedTrackInfo) HasReleaseMBId() bool` + +HasReleaseMBId returns a boolean if a field has been set. + +### SetReleaseMBIdNil + +`func (o *ParsedTrackInfo) SetReleaseMBIdNil(b bool)` + + SetReleaseMBIdNil sets the value for ReleaseMBId to be an explicit nil + +### UnsetReleaseMBId +`func (o *ParsedTrackInfo) UnsetReleaseMBId()` + +UnsetReleaseMBId ensures that no value is present for ReleaseMBId, not even an explicit nil +### GetRecordingMBId + +`func (o *ParsedTrackInfo) GetRecordingMBId() string` + +GetRecordingMBId returns the RecordingMBId field if non-nil, zero value otherwise. + +### GetRecordingMBIdOk + +`func (o *ParsedTrackInfo) GetRecordingMBIdOk() (*string, bool)` + +GetRecordingMBIdOk returns a tuple with the RecordingMBId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecordingMBId + +`func (o *ParsedTrackInfo) SetRecordingMBId(v string)` + +SetRecordingMBId sets RecordingMBId field to given value. + +### HasRecordingMBId + +`func (o *ParsedTrackInfo) HasRecordingMBId() bool` + +HasRecordingMBId returns a boolean if a field has been set. + +### SetRecordingMBIdNil + +`func (o *ParsedTrackInfo) SetRecordingMBIdNil(b bool)` + + SetRecordingMBIdNil sets the value for RecordingMBId to be an explicit nil + +### UnsetRecordingMBId +`func (o *ParsedTrackInfo) UnsetRecordingMBId()` + +UnsetRecordingMBId ensures that no value is present for RecordingMBId, not even an explicit nil +### GetTrackMBId + +`func (o *ParsedTrackInfo) GetTrackMBId() string` + +GetTrackMBId returns the TrackMBId field if non-nil, zero value otherwise. + +### GetTrackMBIdOk + +`func (o *ParsedTrackInfo) GetTrackMBIdOk() (*string, bool)` + +GetTrackMBIdOk returns a tuple with the TrackMBId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackMBId + +`func (o *ParsedTrackInfo) SetTrackMBId(v string)` + +SetTrackMBId sets TrackMBId field to given value. + +### HasTrackMBId + +`func (o *ParsedTrackInfo) HasTrackMBId() bool` + +HasTrackMBId returns a boolean if a field has been set. + +### SetTrackMBIdNil + +`func (o *ParsedTrackInfo) SetTrackMBIdNil(b bool)` + + SetTrackMBIdNil sets the value for TrackMBId to be an explicit nil + +### UnsetTrackMBId +`func (o *ParsedTrackInfo) UnsetTrackMBId()` + +UnsetTrackMBId ensures that no value is present for TrackMBId, not even an explicit nil +### GetDiscNumber + +`func (o *ParsedTrackInfo) GetDiscNumber() int32` + +GetDiscNumber returns the DiscNumber field if non-nil, zero value otherwise. + +### GetDiscNumberOk + +`func (o *ParsedTrackInfo) GetDiscNumberOk() (*int32, bool)` + +GetDiscNumberOk returns a tuple with the DiscNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscNumber + +`func (o *ParsedTrackInfo) SetDiscNumber(v int32)` + +SetDiscNumber sets DiscNumber field to given value. + +### HasDiscNumber + +`func (o *ParsedTrackInfo) HasDiscNumber() bool` + +HasDiscNumber returns a boolean if a field has been set. + +### GetDiscCount + +`func (o *ParsedTrackInfo) GetDiscCount() int32` + +GetDiscCount returns the DiscCount field if non-nil, zero value otherwise. + +### GetDiscCountOk + +`func (o *ParsedTrackInfo) GetDiscCountOk() (*int32, bool)` + +GetDiscCountOk returns a tuple with the DiscCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscCount + +`func (o *ParsedTrackInfo) SetDiscCount(v int32)` + +SetDiscCount sets DiscCount field to given value. + +### HasDiscCount + +`func (o *ParsedTrackInfo) HasDiscCount() bool` + +HasDiscCount returns a boolean if a field has been set. + +### GetCountry + +`func (o *ParsedTrackInfo) GetCountry() IsoCountry` + +GetCountry returns the Country field if non-nil, zero value otherwise. + +### GetCountryOk + +`func (o *ParsedTrackInfo) GetCountryOk() (*IsoCountry, bool)` + +GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountry + +`func (o *ParsedTrackInfo) SetCountry(v IsoCountry)` + +SetCountry sets Country field to given value. + +### HasCountry + +`func (o *ParsedTrackInfo) HasCountry() bool` + +HasCountry returns a boolean if a field has been set. + +### GetYear + +`func (o *ParsedTrackInfo) GetYear() int32` + +GetYear returns the Year field if non-nil, zero value otherwise. + +### GetYearOk + +`func (o *ParsedTrackInfo) GetYearOk() (*int32, bool)` + +GetYearOk returns a tuple with the Year field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetYear + +`func (o *ParsedTrackInfo) SetYear(v int32)` + +SetYear sets Year field to given value. + +### HasYear + +`func (o *ParsedTrackInfo) HasYear() bool` + +HasYear returns a boolean if a field has been set. + +### GetLabel + +`func (o *ParsedTrackInfo) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *ParsedTrackInfo) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *ParsedTrackInfo) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *ParsedTrackInfo) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *ParsedTrackInfo) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *ParsedTrackInfo) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetCatalogNumber + +`func (o *ParsedTrackInfo) GetCatalogNumber() string` + +GetCatalogNumber returns the CatalogNumber field if non-nil, zero value otherwise. + +### GetCatalogNumberOk + +`func (o *ParsedTrackInfo) GetCatalogNumberOk() (*string, bool)` + +GetCatalogNumberOk returns a tuple with the CatalogNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCatalogNumber + +`func (o *ParsedTrackInfo) SetCatalogNumber(v string)` + +SetCatalogNumber sets CatalogNumber field to given value. + +### HasCatalogNumber + +`func (o *ParsedTrackInfo) HasCatalogNumber() bool` + +HasCatalogNumber returns a boolean if a field has been set. + +### SetCatalogNumberNil + +`func (o *ParsedTrackInfo) SetCatalogNumberNil(b bool)` + + SetCatalogNumberNil sets the value for CatalogNumber to be an explicit nil + +### UnsetCatalogNumber +`func (o *ParsedTrackInfo) UnsetCatalogNumber()` + +UnsetCatalogNumber ensures that no value is present for CatalogNumber, not even an explicit nil +### GetDisambiguation + +`func (o *ParsedTrackInfo) GetDisambiguation() string` + +GetDisambiguation returns the Disambiguation field if non-nil, zero value otherwise. + +### GetDisambiguationOk + +`func (o *ParsedTrackInfo) GetDisambiguationOk() (*string, bool)` + +GetDisambiguationOk returns a tuple with the Disambiguation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisambiguation + +`func (o *ParsedTrackInfo) SetDisambiguation(v string)` + +SetDisambiguation sets Disambiguation field to given value. + +### HasDisambiguation + +`func (o *ParsedTrackInfo) HasDisambiguation() bool` + +HasDisambiguation returns a boolean if a field has been set. + +### SetDisambiguationNil + +`func (o *ParsedTrackInfo) SetDisambiguationNil(b bool)` + + SetDisambiguationNil sets the value for Disambiguation to be an explicit nil + +### UnsetDisambiguation +`func (o *ParsedTrackInfo) UnsetDisambiguation()` + +UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +### GetDuration + +`func (o *ParsedTrackInfo) GetDuration() TimeSpan` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *ParsedTrackInfo) GetDurationOk() (*TimeSpan, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *ParsedTrackInfo) SetDuration(v TimeSpan)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *ParsedTrackInfo) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetQuality + +`func (o *ParsedTrackInfo) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *ParsedTrackInfo) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *ParsedTrackInfo) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *ParsedTrackInfo) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetMediaInfo + +`func (o *ParsedTrackInfo) GetMediaInfo() MediaInfoModel` + +GetMediaInfo returns the MediaInfo field if non-nil, zero value otherwise. + +### GetMediaInfoOk + +`func (o *ParsedTrackInfo) GetMediaInfoOk() (*MediaInfoModel, bool)` + +GetMediaInfoOk returns a tuple with the MediaInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediaInfo + +`func (o *ParsedTrackInfo) SetMediaInfo(v MediaInfoModel)` + +SetMediaInfo sets MediaInfo field to given value. + +### HasMediaInfo + +`func (o *ParsedTrackInfo) HasMediaInfo() bool` + +HasMediaInfo returns a boolean if a field has been set. + +### GetTrackNumbers + +`func (o *ParsedTrackInfo) GetTrackNumbers() []int32` + +GetTrackNumbers returns the TrackNumbers field if non-nil, zero value otherwise. + +### GetTrackNumbersOk + +`func (o *ParsedTrackInfo) GetTrackNumbersOk() (*[]int32, bool)` + +GetTrackNumbersOk returns a tuple with the TrackNumbers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackNumbers + +`func (o *ParsedTrackInfo) SetTrackNumbers(v []int32)` + +SetTrackNumbers sets TrackNumbers field to given value. + +### HasTrackNumbers + +`func (o *ParsedTrackInfo) HasTrackNumbers() bool` + +HasTrackNumbers returns a boolean if a field has been set. + +### SetTrackNumbersNil + +`func (o *ParsedTrackInfo) SetTrackNumbersNil(b bool)` + + SetTrackNumbersNil sets the value for TrackNumbers to be an explicit nil + +### UnsetTrackNumbers +`func (o *ParsedTrackInfo) UnsetTrackNumbers()` + +UnsetTrackNumbers ensures that no value is present for TrackNumbers, not even an explicit nil +### GetReleaseGroup + +`func (o *ParsedTrackInfo) GetReleaseGroup() string` + +GetReleaseGroup returns the ReleaseGroup field if non-nil, zero value otherwise. + +### GetReleaseGroupOk + +`func (o *ParsedTrackInfo) GetReleaseGroupOk() (*string, bool)` + +GetReleaseGroupOk returns a tuple with the ReleaseGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseGroup + +`func (o *ParsedTrackInfo) SetReleaseGroup(v string)` + +SetReleaseGroup sets ReleaseGroup field to given value. + +### HasReleaseGroup + +`func (o *ParsedTrackInfo) HasReleaseGroup() bool` + +HasReleaseGroup returns a boolean if a field has been set. + +### SetReleaseGroupNil + +`func (o *ParsedTrackInfo) SetReleaseGroupNil(b bool)` + + SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil + +### UnsetReleaseGroup +`func (o *ParsedTrackInfo) UnsetReleaseGroup()` + +UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +### GetReleaseHash + +`func (o *ParsedTrackInfo) GetReleaseHash() string` + +GetReleaseHash returns the ReleaseHash field if non-nil, zero value otherwise. + +### GetReleaseHashOk + +`func (o *ParsedTrackInfo) GetReleaseHashOk() (*string, bool)` + +GetReleaseHashOk returns a tuple with the ReleaseHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseHash + +`func (o *ParsedTrackInfo) SetReleaseHash(v string)` + +SetReleaseHash sets ReleaseHash field to given value. + +### HasReleaseHash + +`func (o *ParsedTrackInfo) HasReleaseHash() bool` + +HasReleaseHash returns a boolean if a field has been set. + +### SetReleaseHashNil + +`func (o *ParsedTrackInfo) SetReleaseHashNil(b bool)` + + SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil + +### UnsetReleaseHash +`func (o *ParsedTrackInfo) UnsetReleaseHash()` + +UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/PrimaryAlbumType.md b/lidarr/docs/PrimaryAlbumType.md new file mode 100644 index 0000000..9b7e3cd --- /dev/null +++ b/lidarr/docs/PrimaryAlbumType.md @@ -0,0 +1,92 @@ +# PrimaryAlbumType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewPrimaryAlbumType + +`func NewPrimaryAlbumType() *PrimaryAlbumType` + +NewPrimaryAlbumType instantiates a new PrimaryAlbumType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPrimaryAlbumTypeWithDefaults + +`func NewPrimaryAlbumTypeWithDefaults() *PrimaryAlbumType` + +NewPrimaryAlbumTypeWithDefaults instantiates a new PrimaryAlbumType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *PrimaryAlbumType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PrimaryAlbumType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PrimaryAlbumType) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *PrimaryAlbumType) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *PrimaryAlbumType) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PrimaryAlbumType) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *PrimaryAlbumType) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PrimaryAlbumType) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *PrimaryAlbumType) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *PrimaryAlbumType) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfilePrimaryAlbumTypeItem.md b/lidarr/docs/ProfilePrimaryAlbumTypeItem.md new file mode 100644 index 0000000..3c29b78 --- /dev/null +++ b/lidarr/docs/ProfilePrimaryAlbumTypeItem.md @@ -0,0 +1,82 @@ +# ProfilePrimaryAlbumTypeItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PrimaryAlbumType** | Pointer to [**PrimaryAlbumType**](PrimaryAlbumType.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfilePrimaryAlbumTypeItem + +`func NewProfilePrimaryAlbumTypeItem() *ProfilePrimaryAlbumTypeItem` + +NewProfilePrimaryAlbumTypeItem instantiates a new ProfilePrimaryAlbumTypeItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfilePrimaryAlbumTypeItemWithDefaults + +`func NewProfilePrimaryAlbumTypeItemWithDefaults() *ProfilePrimaryAlbumTypeItem` + +NewProfilePrimaryAlbumTypeItemWithDefaults instantiates a new ProfilePrimaryAlbumTypeItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPrimaryAlbumType + +`func (o *ProfilePrimaryAlbumTypeItem) GetPrimaryAlbumType() PrimaryAlbumType` + +GetPrimaryAlbumType returns the PrimaryAlbumType field if non-nil, zero value otherwise. + +### GetPrimaryAlbumTypeOk + +`func (o *ProfilePrimaryAlbumTypeItem) GetPrimaryAlbumTypeOk() (*PrimaryAlbumType, bool)` + +GetPrimaryAlbumTypeOk returns a tuple with the PrimaryAlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrimaryAlbumType + +`func (o *ProfilePrimaryAlbumTypeItem) SetPrimaryAlbumType(v PrimaryAlbumType)` + +SetPrimaryAlbumType sets PrimaryAlbumType field to given value. + +### HasPrimaryAlbumType + +`func (o *ProfilePrimaryAlbumTypeItem) HasPrimaryAlbumType() bool` + +HasPrimaryAlbumType returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfilePrimaryAlbumTypeItem) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfilePrimaryAlbumTypeItem) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfilePrimaryAlbumTypeItem) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfilePrimaryAlbumTypeItem) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfilePrimaryAlbumTypeItemResource.md b/lidarr/docs/ProfilePrimaryAlbumTypeItemResource.md new file mode 100644 index 0000000..dabb493 --- /dev/null +++ b/lidarr/docs/ProfilePrimaryAlbumTypeItemResource.md @@ -0,0 +1,108 @@ +# ProfilePrimaryAlbumTypeItemResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AlbumType** | Pointer to [**PrimaryAlbumType**](PrimaryAlbumType.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfilePrimaryAlbumTypeItemResource + +`func NewProfilePrimaryAlbumTypeItemResource() *ProfilePrimaryAlbumTypeItemResource` + +NewProfilePrimaryAlbumTypeItemResource instantiates a new ProfilePrimaryAlbumTypeItemResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfilePrimaryAlbumTypeItemResourceWithDefaults + +`func NewProfilePrimaryAlbumTypeItemResourceWithDefaults() *ProfilePrimaryAlbumTypeItemResource` + +NewProfilePrimaryAlbumTypeItemResourceWithDefaults instantiates a new ProfilePrimaryAlbumTypeItemResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ProfilePrimaryAlbumTypeItemResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ProfilePrimaryAlbumTypeItemResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAlbumType + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetAlbumType() PrimaryAlbumType` + +GetAlbumType returns the AlbumType field if non-nil, zero value otherwise. + +### GetAlbumTypeOk + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetAlbumTypeOk() (*PrimaryAlbumType, bool)` + +GetAlbumTypeOk returns a tuple with the AlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumType + +`func (o *ProfilePrimaryAlbumTypeItemResource) SetAlbumType(v PrimaryAlbumType)` + +SetAlbumType sets AlbumType field to given value. + +### HasAlbumType + +`func (o *ProfilePrimaryAlbumTypeItemResource) HasAlbumType() bool` + +HasAlbumType returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfilePrimaryAlbumTypeItemResource) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfilePrimaryAlbumTypeItemResource) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfilePrimaryAlbumTypeItemResource) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfileReleaseStatusItem.md b/lidarr/docs/ProfileReleaseStatusItem.md new file mode 100644 index 0000000..5bc2dfe --- /dev/null +++ b/lidarr/docs/ProfileReleaseStatusItem.md @@ -0,0 +1,82 @@ +# ProfileReleaseStatusItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ReleaseStatus** | Pointer to [**ReleaseStatus**](ReleaseStatus.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfileReleaseStatusItem + +`func NewProfileReleaseStatusItem() *ProfileReleaseStatusItem` + +NewProfileReleaseStatusItem instantiates a new ProfileReleaseStatusItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfileReleaseStatusItemWithDefaults + +`func NewProfileReleaseStatusItemWithDefaults() *ProfileReleaseStatusItem` + +NewProfileReleaseStatusItemWithDefaults instantiates a new ProfileReleaseStatusItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetReleaseStatus + +`func (o *ProfileReleaseStatusItem) GetReleaseStatus() ReleaseStatus` + +GetReleaseStatus returns the ReleaseStatus field if non-nil, zero value otherwise. + +### GetReleaseStatusOk + +`func (o *ProfileReleaseStatusItem) GetReleaseStatusOk() (*ReleaseStatus, bool)` + +GetReleaseStatusOk returns a tuple with the ReleaseStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseStatus + +`func (o *ProfileReleaseStatusItem) SetReleaseStatus(v ReleaseStatus)` + +SetReleaseStatus sets ReleaseStatus field to given value. + +### HasReleaseStatus + +`func (o *ProfileReleaseStatusItem) HasReleaseStatus() bool` + +HasReleaseStatus returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfileReleaseStatusItem) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfileReleaseStatusItem) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfileReleaseStatusItem) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfileReleaseStatusItem) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfileReleaseStatusItemResource.md b/lidarr/docs/ProfileReleaseStatusItemResource.md new file mode 100644 index 0000000..f7ce18a --- /dev/null +++ b/lidarr/docs/ProfileReleaseStatusItemResource.md @@ -0,0 +1,108 @@ +# ProfileReleaseStatusItemResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ReleaseStatus** | Pointer to [**ReleaseStatus**](ReleaseStatus.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfileReleaseStatusItemResource + +`func NewProfileReleaseStatusItemResource() *ProfileReleaseStatusItemResource` + +NewProfileReleaseStatusItemResource instantiates a new ProfileReleaseStatusItemResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfileReleaseStatusItemResourceWithDefaults + +`func NewProfileReleaseStatusItemResourceWithDefaults() *ProfileReleaseStatusItemResource` + +NewProfileReleaseStatusItemResourceWithDefaults instantiates a new ProfileReleaseStatusItemResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ProfileReleaseStatusItemResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ProfileReleaseStatusItemResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ProfileReleaseStatusItemResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ProfileReleaseStatusItemResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetReleaseStatus + +`func (o *ProfileReleaseStatusItemResource) GetReleaseStatus() ReleaseStatus` + +GetReleaseStatus returns the ReleaseStatus field if non-nil, zero value otherwise. + +### GetReleaseStatusOk + +`func (o *ProfileReleaseStatusItemResource) GetReleaseStatusOk() (*ReleaseStatus, bool)` + +GetReleaseStatusOk returns a tuple with the ReleaseStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseStatus + +`func (o *ProfileReleaseStatusItemResource) SetReleaseStatus(v ReleaseStatus)` + +SetReleaseStatus sets ReleaseStatus field to given value. + +### HasReleaseStatus + +`func (o *ProfileReleaseStatusItemResource) HasReleaseStatus() bool` + +HasReleaseStatus returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfileReleaseStatusItemResource) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfileReleaseStatusItemResource) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfileReleaseStatusItemResource) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfileReleaseStatusItemResource) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfileSecondaryAlbumTypeItem.md b/lidarr/docs/ProfileSecondaryAlbumTypeItem.md new file mode 100644 index 0000000..e93aeb0 --- /dev/null +++ b/lidarr/docs/ProfileSecondaryAlbumTypeItem.md @@ -0,0 +1,82 @@ +# ProfileSecondaryAlbumTypeItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SecondaryAlbumType** | Pointer to [**SecondaryAlbumType**](SecondaryAlbumType.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfileSecondaryAlbumTypeItem + +`func NewProfileSecondaryAlbumTypeItem() *ProfileSecondaryAlbumTypeItem` + +NewProfileSecondaryAlbumTypeItem instantiates a new ProfileSecondaryAlbumTypeItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfileSecondaryAlbumTypeItemWithDefaults + +`func NewProfileSecondaryAlbumTypeItemWithDefaults() *ProfileSecondaryAlbumTypeItem` + +NewProfileSecondaryAlbumTypeItemWithDefaults instantiates a new ProfileSecondaryAlbumTypeItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetSecondaryAlbumType + +`func (o *ProfileSecondaryAlbumTypeItem) GetSecondaryAlbumType() SecondaryAlbumType` + +GetSecondaryAlbumType returns the SecondaryAlbumType field if non-nil, zero value otherwise. + +### GetSecondaryAlbumTypeOk + +`func (o *ProfileSecondaryAlbumTypeItem) GetSecondaryAlbumTypeOk() (*SecondaryAlbumType, bool)` + +GetSecondaryAlbumTypeOk returns a tuple with the SecondaryAlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecondaryAlbumType + +`func (o *ProfileSecondaryAlbumTypeItem) SetSecondaryAlbumType(v SecondaryAlbumType)` + +SetSecondaryAlbumType sets SecondaryAlbumType field to given value. + +### HasSecondaryAlbumType + +`func (o *ProfileSecondaryAlbumTypeItem) HasSecondaryAlbumType() bool` + +HasSecondaryAlbumType returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfileSecondaryAlbumTypeItem) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfileSecondaryAlbumTypeItem) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfileSecondaryAlbumTypeItem) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfileSecondaryAlbumTypeItem) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProfileSecondaryAlbumTypeItemResource.md b/lidarr/docs/ProfileSecondaryAlbumTypeItemResource.md new file mode 100644 index 0000000..4d6b9d6 --- /dev/null +++ b/lidarr/docs/ProfileSecondaryAlbumTypeItemResource.md @@ -0,0 +1,108 @@ +# ProfileSecondaryAlbumTypeItemResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**AlbumType** | Pointer to [**SecondaryAlbumType**](SecondaryAlbumType.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewProfileSecondaryAlbumTypeItemResource + +`func NewProfileSecondaryAlbumTypeItemResource() *ProfileSecondaryAlbumTypeItemResource` + +NewProfileSecondaryAlbumTypeItemResource instantiates a new ProfileSecondaryAlbumTypeItemResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProfileSecondaryAlbumTypeItemResourceWithDefaults + +`func NewProfileSecondaryAlbumTypeItemResourceWithDefaults() *ProfileSecondaryAlbumTypeItemResource` + +NewProfileSecondaryAlbumTypeItemResourceWithDefaults instantiates a new ProfileSecondaryAlbumTypeItemResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ProfileSecondaryAlbumTypeItemResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ProfileSecondaryAlbumTypeItemResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetAlbumType + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetAlbumType() SecondaryAlbumType` + +GetAlbumType returns the AlbumType field if non-nil, zero value otherwise. + +### GetAlbumTypeOk + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetAlbumTypeOk() (*SecondaryAlbumType, bool)` + +GetAlbumTypeOk returns a tuple with the AlbumType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumType + +`func (o *ProfileSecondaryAlbumTypeItemResource) SetAlbumType(v SecondaryAlbumType)` + +SetAlbumType sets AlbumType field to given value. + +### HasAlbumType + +`func (o *ProfileSecondaryAlbumTypeItemResource) HasAlbumType() bool` + +HasAlbumType returns a boolean if a field has been set. + +### GetAllowed + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *ProfileSecondaryAlbumTypeItemResource) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *ProfileSecondaryAlbumTypeItemResource) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *ProfileSecondaryAlbumTypeItemResource) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProperDownloadTypes.md b/lidarr/docs/ProperDownloadTypes.md new file mode 100644 index 0000000..8fbb9f0 --- /dev/null +++ b/lidarr/docs/ProperDownloadTypes.md @@ -0,0 +1,15 @@ +# ProperDownloadTypes + +## Enum + + +* `PREFER_AND_UPGRADE` (value: `"preferAndUpgrade"`) + +* `DO_NOT_UPGRADE` (value: `"doNotUpgrade"`) + +* `DO_NOT_PREFER` (value: `"doNotPrefer"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProviderMessage.md b/lidarr/docs/ProviderMessage.md new file mode 100644 index 0000000..c08f9dd --- /dev/null +++ b/lidarr/docs/ProviderMessage.md @@ -0,0 +1,92 @@ +# ProviderMessage + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | Pointer to **NullableString** | | [optional] +**Type** | Pointer to [**ProviderMessageType**](ProviderMessageType.md) | | [optional] + +## Methods + +### NewProviderMessage + +`func NewProviderMessage() *ProviderMessage` + +NewProviderMessage instantiates a new ProviderMessage object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewProviderMessageWithDefaults + +`func NewProviderMessageWithDefaults() *ProviderMessage` + +NewProviderMessageWithDefaults instantiates a new ProviderMessage object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMessage + +`func (o *ProviderMessage) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *ProviderMessage) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *ProviderMessage) SetMessage(v string)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *ProviderMessage) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### SetMessageNil + +`func (o *ProviderMessage) SetMessageNil(b bool)` + + SetMessageNil sets the value for Message to be an explicit nil + +### UnsetMessage +`func (o *ProviderMessage) UnsetMessage()` + +UnsetMessage ensures that no value is present for Message, not even an explicit nil +### GetType + +`func (o *ProviderMessage) GetType() ProviderMessageType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *ProviderMessage) GetTypeOk() (*ProviderMessageType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *ProviderMessage) SetType(v ProviderMessageType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *ProviderMessage) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProviderMessageType.md b/lidarr/docs/ProviderMessageType.md new file mode 100644 index 0000000..576b0e2 --- /dev/null +++ b/lidarr/docs/ProviderMessageType.md @@ -0,0 +1,15 @@ +# ProviderMessageType + +## Enum + + +* `INFO` (value: `"info"`) + +* `WARNING` (value: `"warning"`) + +* `ERROR` (value: `"error"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ProxyType.md b/lidarr/docs/ProxyType.md new file mode 100644 index 0000000..89a58fa --- /dev/null +++ b/lidarr/docs/ProxyType.md @@ -0,0 +1,15 @@ +# ProxyType + +## Enum + + +* `HTTP` (value: `"http"`) + +* `SOCKS4` (value: `"socks4"`) + +* `SOCKS5` (value: `"socks5"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Quality.md b/lidarr/docs/Quality.md new file mode 100644 index 0000000..81ca396 --- /dev/null +++ b/lidarr/docs/Quality.md @@ -0,0 +1,92 @@ +# Quality + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewQuality + +`func NewQuality() *Quality` + +NewQuality instantiates a new Quality object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityWithDefaults + +`func NewQualityWithDefaults() *Quality` + +NewQualityWithDefaults instantiates a new Quality object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Quality) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Quality) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Quality) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *Quality) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *Quality) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *Quality) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *Quality) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *Quality) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *Quality) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *Quality) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityDefinitionApi.md b/lidarr/docs/QualityDefinitionApi.md new file mode 100644 index 0000000..44b7cd4 --- /dev/null +++ b/lidarr/docs/QualityDefinitionApi.md @@ -0,0 +1,271 @@ +# \QualityDefinitionApi + +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 + +> QualityDefinitionResource GetApiV1QualitydefinitionById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QualitydefinitionById`: QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.GetApiV1QualitydefinitionById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QualitydefinitionByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**QualityDefinitionResource**](QualityDefinitionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Qualitydefinition + +> []QualityDefinitionResource ListApiV1Qualitydefinition(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Qualitydefinition`: []QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.ListApiV1Qualitydefinition`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1QualitydefinitionRequest struct via the builder pattern + + +### Return type + +[**[]QualityDefinitionResource**](QualityDefinitionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PutApiV1QualitydefinitionUpdate + +> PutApiV1QualitydefinitionUpdate(ctx).QualityDefinitionResource(qualityDefinitionResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + qualityDefinitionResource := []lidarrClient.QualityDefinitionResource{*lidarrClient.NewQualityDefinitionResource()} // []QualityDefinitionResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPutApiV1QualitydefinitionUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **qualityDefinitionResource** | [**[]QualityDefinitionResource**](QualityDefinitionResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Qualitydefinition + +> QualityDefinitionResource UpdateApiV1Qualitydefinition(ctx, id).QualityDefinitionResource(qualityDefinitionResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + qualityDefinitionResource := *lidarrClient.NewQualityDefinitionResource() // QualityDefinitionResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Qualitydefinition`: QualityDefinitionResource + fmt.Fprintf(os.Stdout, "Response from `QualityDefinitionApi.UpdateApiV1Qualitydefinition`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1QualitydefinitionRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **qualityDefinitionResource** | [**QualityDefinitionResource**](QualityDefinitionResource.md) | | + +### Return type + +[**QualityDefinitionResource**](QualityDefinitionResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QualityDefinitionResource.md b/lidarr/docs/QualityDefinitionResource.md new file mode 100644 index 0000000..93daaeb --- /dev/null +++ b/lidarr/docs/QualityDefinitionResource.md @@ -0,0 +1,216 @@ +# QualityDefinitionResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Quality** | Pointer to [**Quality**](Quality.md) | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Weight** | Pointer to **int32** | | [optional] +**MinSize** | Pointer to **NullableFloat64** | | [optional] +**MaxSize** | Pointer to **NullableFloat64** | | [optional] + +## Methods + +### NewQualityDefinitionResource + +`func NewQualityDefinitionResource() *QualityDefinitionResource` + +NewQualityDefinitionResource instantiates a new QualityDefinitionResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityDefinitionResourceWithDefaults + +`func NewQualityDefinitionResourceWithDefaults() *QualityDefinitionResource` + +NewQualityDefinitionResourceWithDefaults instantiates a new QualityDefinitionResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QualityDefinitionResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QualityDefinitionResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QualityDefinitionResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QualityDefinitionResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetQuality + +`func (o *QualityDefinitionResource) GetQuality() Quality` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *QualityDefinitionResource) GetQualityOk() (*Quality, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *QualityDefinitionResource) SetQuality(v Quality)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *QualityDefinitionResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetTitle + +`func (o *QualityDefinitionResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *QualityDefinitionResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *QualityDefinitionResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *QualityDefinitionResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *QualityDefinitionResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *QualityDefinitionResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetWeight + +`func (o *QualityDefinitionResource) GetWeight() int32` + +GetWeight returns the Weight field if non-nil, zero value otherwise. + +### GetWeightOk + +`func (o *QualityDefinitionResource) GetWeightOk() (*int32, bool)` + +GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWeight + +`func (o *QualityDefinitionResource) SetWeight(v int32)` + +SetWeight sets Weight field to given value. + +### HasWeight + +`func (o *QualityDefinitionResource) HasWeight() bool` + +HasWeight returns a boolean if a field has been set. + +### GetMinSize + +`func (o *QualityDefinitionResource) GetMinSize() float64` + +GetMinSize returns the MinSize field if non-nil, zero value otherwise. + +### GetMinSizeOk + +`func (o *QualityDefinitionResource) GetMinSizeOk() (*float64, bool)` + +GetMinSizeOk returns a tuple with the MinSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinSize + +`func (o *QualityDefinitionResource) SetMinSize(v float64)` + +SetMinSize sets MinSize field to given value. + +### HasMinSize + +`func (o *QualityDefinitionResource) HasMinSize() bool` + +HasMinSize returns a boolean if a field has been set. + +### SetMinSizeNil + +`func (o *QualityDefinitionResource) SetMinSizeNil(b bool)` + + SetMinSizeNil sets the value for MinSize to be an explicit nil + +### UnsetMinSize +`func (o *QualityDefinitionResource) UnsetMinSize()` + +UnsetMinSize ensures that no value is present for MinSize, not even an explicit nil +### GetMaxSize + +`func (o *QualityDefinitionResource) GetMaxSize() float64` + +GetMaxSize returns the MaxSize field if non-nil, zero value otherwise. + +### GetMaxSizeOk + +`func (o *QualityDefinitionResource) GetMaxSizeOk() (*float64, bool)` + +GetMaxSizeOk returns a tuple with the MaxSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxSize + +`func (o *QualityDefinitionResource) SetMaxSize(v float64)` + +SetMaxSize sets MaxSize field to given value. + +### HasMaxSize + +`func (o *QualityDefinitionResource) HasMaxSize() bool` + +HasMaxSize returns a boolean if a field has been set. + +### SetMaxSizeNil + +`func (o *QualityDefinitionResource) SetMaxSizeNil(b bool)` + + SetMaxSizeNil sets the value for MaxSize to be an explicit nil + +### UnsetMaxSize +`func (o *QualityDefinitionResource) UnsetMaxSize()` + +UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityModel.md b/lidarr/docs/QualityModel.md new file mode 100644 index 0000000..ae9776f --- /dev/null +++ b/lidarr/docs/QualityModel.md @@ -0,0 +1,82 @@ +# QualityModel + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Quality** | Pointer to [**Quality**](Quality.md) | | [optional] +**Revision** | Pointer to [**Revision**](Revision.md) | | [optional] + +## Methods + +### NewQualityModel + +`func NewQualityModel() *QualityModel` + +NewQualityModel instantiates a new QualityModel object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityModelWithDefaults + +`func NewQualityModelWithDefaults() *QualityModel` + +NewQualityModelWithDefaults instantiates a new QualityModel object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetQuality + +`func (o *QualityModel) GetQuality() Quality` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *QualityModel) GetQualityOk() (*Quality, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *QualityModel) SetQuality(v Quality)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *QualityModel) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetRevision + +`func (o *QualityModel) GetRevision() Revision` + +GetRevision returns the Revision field if non-nil, zero value otherwise. + +### GetRevisionOk + +`func (o *QualityModel) GetRevisionOk() (*Revision, bool)` + +GetRevisionOk returns a tuple with the Revision field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRevision + +`func (o *QualityModel) SetRevision(v Revision)` + +SetRevision sets Revision field to given value. + +### HasRevision + +`func (o *QualityModel) HasRevision() bool` + +HasRevision returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfile.md b/lidarr/docs/QualityProfile.md new file mode 100644 index 0000000..1605f9a --- /dev/null +++ b/lidarr/docs/QualityProfile.md @@ -0,0 +1,180 @@ +# QualityProfile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**UpgradeAllowed** | Pointer to **bool** | | [optional] +**Cutoff** | Pointer to **int32** | | [optional] +**Items** | Pointer to [**[]QualityProfileQualityItem**](QualityProfileQualityItem.md) | | [optional] + +## Methods + +### NewQualityProfile + +`func NewQualityProfile() *QualityProfile` + +NewQualityProfile instantiates a new QualityProfile object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityProfileWithDefaults + +`func NewQualityProfileWithDefaults() *QualityProfile` + +NewQualityProfileWithDefaults instantiates a new QualityProfile object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QualityProfile) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QualityProfile) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QualityProfile) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QualityProfile) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *QualityProfile) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *QualityProfile) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *QualityProfile) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *QualityProfile) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *QualityProfile) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *QualityProfile) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetUpgradeAllowed + +`func (o *QualityProfile) GetUpgradeAllowed() bool` + +GetUpgradeAllowed returns the UpgradeAllowed field if non-nil, zero value otherwise. + +### GetUpgradeAllowedOk + +`func (o *QualityProfile) GetUpgradeAllowedOk() (*bool, bool)` + +GetUpgradeAllowedOk returns a tuple with the UpgradeAllowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpgradeAllowed + +`func (o *QualityProfile) SetUpgradeAllowed(v bool)` + +SetUpgradeAllowed sets UpgradeAllowed field to given value. + +### HasUpgradeAllowed + +`func (o *QualityProfile) HasUpgradeAllowed() bool` + +HasUpgradeAllowed returns a boolean if a field has been set. + +### GetCutoff + +`func (o *QualityProfile) GetCutoff() int32` + +GetCutoff returns the Cutoff field if non-nil, zero value otherwise. + +### GetCutoffOk + +`func (o *QualityProfile) GetCutoffOk() (*int32, bool)` + +GetCutoffOk returns a tuple with the Cutoff field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCutoff + +`func (o *QualityProfile) SetCutoff(v int32)` + +SetCutoff sets Cutoff field to given value. + +### HasCutoff + +`func (o *QualityProfile) HasCutoff() bool` + +HasCutoff returns a boolean if a field has been set. + +### GetItems + +`func (o *QualityProfile) GetItems() []QualityProfileQualityItem` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *QualityProfile) GetItemsOk() (*[]QualityProfileQualityItem, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *QualityProfile) SetItems(v []QualityProfileQualityItem)` + +SetItems sets Items field to given value. + +### HasItems + +`func (o *QualityProfile) HasItems() bool` + +HasItems returns a boolean if a field has been set. + +### SetItemsNil + +`func (o *QualityProfile) SetItemsNil(b bool)` + + SetItemsNil sets the value for Items to be an explicit nil + +### UnsetItems +`func (o *QualityProfile) UnsetItems()` + +UnsetItems ensures that no value is present for Items, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfileApi.md b/lidarr/docs/QualityProfileApi.md new file mode 100644 index 0000000..a942322 --- /dev/null +++ b/lidarr/docs/QualityProfileApi.md @@ -0,0 +1,340 @@ +# \QualityProfileApi + +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 + +> QualityProfileResource CreateApiV1Qualityprofile(ctx).QualityProfileResource(qualityProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + qualityProfileResource := *lidarrClient.NewQualityProfileResource() // QualityProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Qualityprofile`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.CreateApiV1Qualityprofile`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1QualityprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **qualityProfileResource** | [**QualityProfileResource**](QualityProfileResource.md) | | + +### Return type + +[**QualityProfileResource**](QualityProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Qualityprofile + +> DeleteApiV1Qualityprofile(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1QualityprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1QualityprofileById + +> QualityProfileResource GetApiV1QualityprofileById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QualityprofileById`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.GetApiV1QualityprofileById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QualityprofileByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**QualityProfileResource**](QualityProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Qualityprofile + +> []QualityProfileResource ListApiV1Qualityprofile(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Qualityprofile`: []QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.ListApiV1Qualityprofile`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1QualityprofileRequest struct via the builder pattern + + +### Return type + +[**[]QualityProfileResource**](QualityProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Qualityprofile + +> QualityProfileResource UpdateApiV1Qualityprofile(ctx, id).QualityProfileResource(qualityProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + qualityProfileResource := *lidarrClient.NewQualityProfileResource() // QualityProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Qualityprofile`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileApi.UpdateApiV1Qualityprofile`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1QualityprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **qualityProfileResource** | [**QualityProfileResource**](QualityProfileResource.md) | | + +### Return type + +[**QualityProfileResource**](QualityProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QualityProfileLazyLoaded.md b/lidarr/docs/QualityProfileLazyLoaded.md new file mode 100644 index 0000000..adf6ff0 --- /dev/null +++ b/lidarr/docs/QualityProfileLazyLoaded.md @@ -0,0 +1,82 @@ +# QualityProfileLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**QualityProfile**](QualityProfile.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewQualityProfileLazyLoaded + +`func NewQualityProfileLazyLoaded() *QualityProfileLazyLoaded` + +NewQualityProfileLazyLoaded instantiates a new QualityProfileLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityProfileLazyLoadedWithDefaults + +`func NewQualityProfileLazyLoadedWithDefaults() *QualityProfileLazyLoaded` + +NewQualityProfileLazyLoadedWithDefaults instantiates a new QualityProfileLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *QualityProfileLazyLoaded) GetValue() QualityProfile` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *QualityProfileLazyLoaded) GetValueOk() (*QualityProfile, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *QualityProfileLazyLoaded) SetValue(v QualityProfile)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *QualityProfileLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *QualityProfileLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *QualityProfileLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *QualityProfileLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *QualityProfileLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfileQualityItem.md b/lidarr/docs/QualityProfileQualityItem.md new file mode 100644 index 0000000..ba6e1fb --- /dev/null +++ b/lidarr/docs/QualityProfileQualityItem.md @@ -0,0 +1,180 @@ +# QualityProfileQualityItem + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**Quality**](Quality.md) | | [optional] +**Items** | Pointer to [**[]QualityProfileQualityItem**](QualityProfileQualityItem.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewQualityProfileQualityItem + +`func NewQualityProfileQualityItem() *QualityProfileQualityItem` + +NewQualityProfileQualityItem instantiates a new QualityProfileQualityItem object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityProfileQualityItemWithDefaults + +`func NewQualityProfileQualityItemWithDefaults() *QualityProfileQualityItem` + +NewQualityProfileQualityItemWithDefaults instantiates a new QualityProfileQualityItem object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QualityProfileQualityItem) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QualityProfileQualityItem) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QualityProfileQualityItem) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QualityProfileQualityItem) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *QualityProfileQualityItem) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *QualityProfileQualityItem) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *QualityProfileQualityItem) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *QualityProfileQualityItem) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *QualityProfileQualityItem) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *QualityProfileQualityItem) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetQuality + +`func (o *QualityProfileQualityItem) GetQuality() Quality` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *QualityProfileQualityItem) GetQualityOk() (*Quality, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *QualityProfileQualityItem) SetQuality(v Quality)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *QualityProfileQualityItem) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetItems + +`func (o *QualityProfileQualityItem) GetItems() []QualityProfileQualityItem` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *QualityProfileQualityItem) GetItemsOk() (*[]QualityProfileQualityItem, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *QualityProfileQualityItem) SetItems(v []QualityProfileQualityItem)` + +SetItems sets Items field to given value. + +### HasItems + +`func (o *QualityProfileQualityItem) HasItems() bool` + +HasItems returns a boolean if a field has been set. + +### SetItemsNil + +`func (o *QualityProfileQualityItem) SetItemsNil(b bool)` + + SetItemsNil sets the value for Items to be an explicit nil + +### UnsetItems +`func (o *QualityProfileQualityItem) UnsetItems()` + +UnsetItems ensures that no value is present for Items, not even an explicit nil +### GetAllowed + +`func (o *QualityProfileQualityItem) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *QualityProfileQualityItem) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *QualityProfileQualityItem) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *QualityProfileQualityItem) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfileQualityItemResource.md b/lidarr/docs/QualityProfileQualityItemResource.md new file mode 100644 index 0000000..97f7eef --- /dev/null +++ b/lidarr/docs/QualityProfileQualityItemResource.md @@ -0,0 +1,180 @@ +# QualityProfileQualityItemResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**Quality**](Quality.md) | | [optional] +**Items** | Pointer to [**[]QualityProfileQualityItemResource**](QualityProfileQualityItemResource.md) | | [optional] +**Allowed** | Pointer to **bool** | | [optional] + +## Methods + +### NewQualityProfileQualityItemResource + +`func NewQualityProfileQualityItemResource() *QualityProfileQualityItemResource` + +NewQualityProfileQualityItemResource instantiates a new QualityProfileQualityItemResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityProfileQualityItemResourceWithDefaults + +`func NewQualityProfileQualityItemResourceWithDefaults() *QualityProfileQualityItemResource` + +NewQualityProfileQualityItemResourceWithDefaults instantiates a new QualityProfileQualityItemResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QualityProfileQualityItemResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QualityProfileQualityItemResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QualityProfileQualityItemResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QualityProfileQualityItemResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *QualityProfileQualityItemResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *QualityProfileQualityItemResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *QualityProfileQualityItemResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *QualityProfileQualityItemResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *QualityProfileQualityItemResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *QualityProfileQualityItemResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetQuality + +`func (o *QualityProfileQualityItemResource) GetQuality() Quality` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *QualityProfileQualityItemResource) GetQualityOk() (*Quality, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *QualityProfileQualityItemResource) SetQuality(v Quality)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *QualityProfileQualityItemResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetItems + +`func (o *QualityProfileQualityItemResource) GetItems() []QualityProfileQualityItemResource` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *QualityProfileQualityItemResource) GetItemsOk() (*[]QualityProfileQualityItemResource, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *QualityProfileQualityItemResource) SetItems(v []QualityProfileQualityItemResource)` + +SetItems sets Items field to given value. + +### HasItems + +`func (o *QualityProfileQualityItemResource) HasItems() bool` + +HasItems returns a boolean if a field has been set. + +### SetItemsNil + +`func (o *QualityProfileQualityItemResource) SetItemsNil(b bool)` + + SetItemsNil sets the value for Items to be an explicit nil + +### UnsetItems +`func (o *QualityProfileQualityItemResource) UnsetItems()` + +UnsetItems ensures that no value is present for Items, not even an explicit nil +### GetAllowed + +`func (o *QualityProfileQualityItemResource) GetAllowed() bool` + +GetAllowed returns the Allowed field if non-nil, zero value otherwise. + +### GetAllowedOk + +`func (o *QualityProfileQualityItemResource) GetAllowedOk() (*bool, bool)` + +GetAllowedOk returns a tuple with the Allowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAllowed + +`func (o *QualityProfileQualityItemResource) SetAllowed(v bool)` + +SetAllowed sets Allowed field to given value. + +### HasAllowed + +`func (o *QualityProfileQualityItemResource) HasAllowed() bool` + +HasAllowed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfileResource.md b/lidarr/docs/QualityProfileResource.md new file mode 100644 index 0000000..158e69d --- /dev/null +++ b/lidarr/docs/QualityProfileResource.md @@ -0,0 +1,180 @@ +# QualityProfileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**UpgradeAllowed** | Pointer to **bool** | | [optional] +**Cutoff** | Pointer to **int32** | | [optional] +**Items** | Pointer to [**[]QualityProfileQualityItemResource**](QualityProfileQualityItemResource.md) | | [optional] + +## Methods + +### NewQualityProfileResource + +`func NewQualityProfileResource() *QualityProfileResource` + +NewQualityProfileResource instantiates a new QualityProfileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQualityProfileResourceWithDefaults + +`func NewQualityProfileResourceWithDefaults() *QualityProfileResource` + +NewQualityProfileResourceWithDefaults instantiates a new QualityProfileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QualityProfileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QualityProfileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QualityProfileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QualityProfileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *QualityProfileResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *QualityProfileResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *QualityProfileResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *QualityProfileResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *QualityProfileResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *QualityProfileResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetUpgradeAllowed + +`func (o *QualityProfileResource) GetUpgradeAllowed() bool` + +GetUpgradeAllowed returns the UpgradeAllowed field if non-nil, zero value otherwise. + +### GetUpgradeAllowedOk + +`func (o *QualityProfileResource) GetUpgradeAllowedOk() (*bool, bool)` + +GetUpgradeAllowedOk returns a tuple with the UpgradeAllowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpgradeAllowed + +`func (o *QualityProfileResource) SetUpgradeAllowed(v bool)` + +SetUpgradeAllowed sets UpgradeAllowed field to given value. + +### HasUpgradeAllowed + +`func (o *QualityProfileResource) HasUpgradeAllowed() bool` + +HasUpgradeAllowed returns a boolean if a field has been set. + +### GetCutoff + +`func (o *QualityProfileResource) GetCutoff() int32` + +GetCutoff returns the Cutoff field if non-nil, zero value otherwise. + +### GetCutoffOk + +`func (o *QualityProfileResource) GetCutoffOk() (*int32, bool)` + +GetCutoffOk returns a tuple with the Cutoff field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCutoff + +`func (o *QualityProfileResource) SetCutoff(v int32)` + +SetCutoff sets Cutoff field to given value. + +### HasCutoff + +`func (o *QualityProfileResource) HasCutoff() bool` + +HasCutoff returns a boolean if a field has been set. + +### GetItems + +`func (o *QualityProfileResource) GetItems() []QualityProfileQualityItemResource` + +GetItems returns the Items field if non-nil, zero value otherwise. + +### GetItemsOk + +`func (o *QualityProfileResource) GetItemsOk() (*[]QualityProfileQualityItemResource, bool)` + +GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetItems + +`func (o *QualityProfileResource) SetItems(v []QualityProfileQualityItemResource)` + +SetItems sets Items field to given value. + +### HasItems + +`func (o *QualityProfileResource) HasItems() bool` + +HasItems returns a boolean if a field has been set. + +### SetItemsNil + +`func (o *QualityProfileResource) SetItemsNil(b bool)` + + SetItemsNil sets the value for Items to be an explicit nil + +### UnsetItems +`func (o *QualityProfileResource) UnsetItems()` + +UnsetItems ensures that no value is present for Items, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QualityProfileSchemaApi.md b/lidarr/docs/QualityProfileSchemaApi.md new file mode 100644 index 0000000..a1dee6f --- /dev/null +++ b/lidarr/docs/QualityProfileSchemaApi.md @@ -0,0 +1,68 @@ +# \QualityProfileSchemaApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1QualityprofileSchema**](QualityProfileSchemaApi.md#GetApiV1QualityprofileSchema) | **Get** /api/v1/qualityprofile/schema | + + + +## GetApiV1QualityprofileSchema + +> QualityProfileResource GetApiV1QualityprofileSchema(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QualityProfileSchemaApi.GetApiV1QualityprofileSchema(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QualityProfileSchemaApi.GetApiV1QualityprofileSchema``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QualityprofileSchema`: QualityProfileResource + fmt.Fprintf(os.Stdout, "Response from `QualityProfileSchemaApi.GetApiV1QualityprofileSchema`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QualityprofileSchemaRequest struct via the builder pattern + + +### Return type + +[**QualityProfileResource**](QualityProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QueueActionApi.md b/lidarr/docs/QueueActionApi.md new file mode 100644 index 0000000..81d77b1 --- /dev/null +++ b/lidarr/docs/QueueActionApi.md @@ -0,0 +1,138 @@ +# \QueueActionApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1QueueGrabBulk**](QueueActionApi.md#CreateApiV1QueueGrabBulk) | **Post** /api/v1/queue/grab/bulk | +[**CreateApiV1QueueGrabById**](QueueActionApi.md#CreateApiV1QueueGrabById) | **Post** /api/v1/queue/grab/{id} | + + + +## CreateApiV1QueueGrabBulk + +> CreateApiV1QueueGrabBulk(ctx).QueueBulkResource(queueBulkResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + queueBulkResource := *lidarrClient.NewQueueBulkResource() // QueueBulkResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueActionApi.CreateApiV1QueueGrabBulk(context.Background()).QueueBulkResource(queueBulkResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueActionApi.CreateApiV1QueueGrabBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1QueueGrabBulkRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **queueBulkResource** | [**QueueBulkResource**](QueueBulkResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1QueueGrabById + +> CreateApiV1QueueGrabById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueActionApi.CreateApiV1QueueGrabById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueActionApi.CreateApiV1QueueGrabById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1QueueGrabByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QueueApi.md b/lidarr/docs/QueueApi.md new file mode 100644 index 0000000..e201357 --- /dev/null +++ b/lidarr/docs/QueueApi.md @@ -0,0 +1,288 @@ +# \QueueApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**DeleteApiV1Queue**](QueueApi.md#DeleteApiV1Queue) | **Delete** /api/v1/queue/{id} | +[**DeleteApiV1QueueBulk**](QueueApi.md#DeleteApiV1QueueBulk) | **Delete** /api/v1/queue/bulk | +[**GetApiV1Queue**](QueueApi.md#GetApiV1Queue) | **Get** /api/v1/queue | +[**GetApiV1QueueById**](QueueApi.md#GetApiV1QueueById) | **Get** /api/v1/queue/{id} | + + + +## DeleteApiV1Queue + +> DeleteApiV1Queue(ctx, id).RemoveFromClient(removeFromClient).Blocklist(blocklist).SkipReDownload(skipReDownload).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + removeFromClient := true // bool | (optional) (default to true) + blocklist := true // bool | (optional) (default to false) + skipReDownload := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueApi.DeleteApiV1Queue(context.Background(), id).RemoveFromClient(removeFromClient).Blocklist(blocklist).SkipReDownload(skipReDownload).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.DeleteApiV1Queue``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1QueueRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **removeFromClient** | **bool** | | [default to true] + **blocklist** | **bool** | | [default to false] + **skipReDownload** | **bool** | | [default to false] + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1QueueBulk + +> DeleteApiV1QueueBulk(ctx).RemoveFromClient(removeFromClient).Blocklist(blocklist).SkipReDownload(skipReDownload).QueueBulkResource(queueBulkResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + removeFromClient := true // bool | (optional) (default to true) + blocklist := true // bool | (optional) (default to false) + skipReDownload := true // bool | (optional) (default to false) + queueBulkResource := *lidarrClient.NewQueueBulkResource() // QueueBulkResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueApi.DeleteApiV1QueueBulk(context.Background()).RemoveFromClient(removeFromClient).Blocklist(blocklist).SkipReDownload(skipReDownload).QueueBulkResource(queueBulkResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.DeleteApiV1QueueBulk``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1QueueBulkRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **removeFromClient** | **bool** | | [default to true] + **blocklist** | **bool** | | [default to false] + **skipReDownload** | **bool** | | [default to false] + **queueBulkResource** | [**QueueBulkResource**](QueueBulkResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1Queue + +> QueueResourcePagingResource GetApiV1Queue(ctx).IncludeUnknownArtistItems(includeUnknownArtistItems).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + includeUnknownArtistItems := true // bool | (optional) (default to false) + includeArtist := true // bool | (optional) (default to false) + includeAlbum := true // bool | (optional) (default to false) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueApi.GetApiV1Queue(context.Background()).IncludeUnknownArtistItems(includeUnknownArtistItems).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.GetApiV1Queue``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1Queue`: QueueResourcePagingResource + fmt.Fprintf(os.Stdout, "Response from `QueueApi.GetApiV1Queue`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QueueRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **includeUnknownArtistItems** | **bool** | | [default to false] + **includeArtist** | **bool** | | [default to false] + **includeAlbum** | **bool** | | [default to false] + +### Return type + +[**QueueResourcePagingResource**](QueueResourcePagingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1QueueById + +> QueueResource GetApiV1QueueById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueApi.GetApiV1QueueById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueApi.GetApiV1QueueById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QueueById`: QueueResource + fmt.Fprintf(os.Stdout, "Response from `QueueApi.GetApiV1QueueById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QueueByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**QueueResource**](QueueResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QueueBulkResource.md b/lidarr/docs/QueueBulkResource.md new file mode 100644 index 0000000..85da9f9 --- /dev/null +++ b/lidarr/docs/QueueBulkResource.md @@ -0,0 +1,66 @@ +# QueueBulkResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ids** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewQueueBulkResource + +`func NewQueueBulkResource() *QueueBulkResource` + +NewQueueBulkResource instantiates a new QueueBulkResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQueueBulkResourceWithDefaults + +`func NewQueueBulkResourceWithDefaults() *QueueBulkResource` + +NewQueueBulkResourceWithDefaults instantiates a new QueueBulkResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIds + +`func (o *QueueBulkResource) GetIds() []int32` + +GetIds returns the Ids field if non-nil, zero value otherwise. + +### GetIdsOk + +`func (o *QueueBulkResource) GetIdsOk() (*[]int32, bool)` + +GetIdsOk returns a tuple with the Ids field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIds + +`func (o *QueueBulkResource) SetIds(v []int32)` + +SetIds sets Ids field to given value. + +### HasIds + +`func (o *QueueBulkResource) HasIds() bool` + +HasIds returns a boolean if a field has been set. + +### SetIdsNil + +`func (o *QueueBulkResource) SetIdsNil(b bool)` + + SetIdsNil sets the value for Ids to be an explicit nil + +### UnsetIds +`func (o *QueueBulkResource) UnsetIds()` + +UnsetIds ensures that no value is present for Ids, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QueueDetailsApi.md b/lidarr/docs/QueueDetailsApi.md new file mode 100644 index 0000000..b93b265 --- /dev/null +++ b/lidarr/docs/QueueDetailsApi.md @@ -0,0 +1,148 @@ +# \QueueDetailsApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1QueueDetailsById**](QueueDetailsApi.md#GetApiV1QueueDetailsById) | **Get** /api/v1/queue/details/{id} | +[**ListApiV1QueueDetails**](QueueDetailsApi.md#ListApiV1QueueDetails) | **Get** /api/v1/queue/details | + + + +## GetApiV1QueueDetailsById + +> QueueResource GetApiV1QueueDetailsById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueDetailsApi.GetApiV1QueueDetailsById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsApi.GetApiV1QueueDetailsById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QueueDetailsById`: QueueResource + fmt.Fprintf(os.Stdout, "Response from `QueueDetailsApi.GetApiV1QueueDetailsById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QueueDetailsByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**QueueResource**](QueueResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1QueueDetails + +> []QueueResource ListApiV1QueueDetails(ctx).ArtistId(artistId).AlbumIds(albumIds).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumIds := []int32{int32(123)} // []int32 | (optional) + includeArtist := true // bool | (optional) (default to false) + includeAlbum := true // bool | (optional) (default to true) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueDetailsApi.ListApiV1QueueDetails(context.Background()).ArtistId(artistId).AlbumIds(albumIds).IncludeArtist(includeArtist).IncludeAlbum(includeAlbum).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueDetailsApi.ListApiV1QueueDetails``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1QueueDetails`: []QueueResource + fmt.Fprintf(os.Stdout, "Response from `QueueDetailsApi.ListApiV1QueueDetails`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1QueueDetailsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumIds** | **[]int32** | | + **includeArtist** | **bool** | | [default to false] + **includeAlbum** | **bool** | | [default to true] + +### Return type + +[**[]QueueResource**](QueueResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QueueResource.md b/lidarr/docs/QueueResource.md new file mode 100644 index 0000000..1defa95 --- /dev/null +++ b/lidarr/docs/QueueResource.md @@ -0,0 +1,712 @@ +# QueueResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **NullableInt32** | | [optional] +**AlbumId** | Pointer to **NullableInt32** | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Album** | Pointer to [**AlbumResource**](AlbumResource.md) | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**Size** | Pointer to **float64** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Sizeleft** | Pointer to **float64** | | [optional] +**Timeleft** | Pointer to [**TimeSpan**](TimeSpan.md) | | [optional] +**EstimatedCompletionTime** | Pointer to **NullableTime** | | [optional] +**Status** | Pointer to **NullableString** | | [optional] +**TrackedDownloadStatus** | Pointer to [**TrackedDownloadStatus**](TrackedDownloadStatus.md) | | [optional] +**TrackedDownloadState** | Pointer to [**TrackedDownloadState**](TrackedDownloadState.md) | | [optional] +**StatusMessages** | Pointer to [**[]TrackedDownloadStatusMessage**](TrackedDownloadStatusMessage.md) | | [optional] +**ErrorMessage** | Pointer to **NullableString** | | [optional] +**DownloadId** | Pointer to **NullableString** | | [optional] +**Protocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**DownloadClient** | Pointer to **NullableString** | | [optional] +**Indexer** | Pointer to **NullableString** | | [optional] +**OutputPath** | Pointer to **NullableString** | | [optional] +**DownloadForced** | Pointer to **bool** | | [optional] + +## Methods + +### NewQueueResource + +`func NewQueueResource() *QueueResource` + +NewQueueResource instantiates a new QueueResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQueueResourceWithDefaults + +`func NewQueueResourceWithDefaults() *QueueResource` + +NewQueueResourceWithDefaults instantiates a new QueueResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QueueResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QueueResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QueueResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QueueResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *QueueResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *QueueResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *QueueResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *QueueResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### SetArtistIdNil + +`func (o *QueueResource) SetArtistIdNil(b bool)` + + SetArtistIdNil sets the value for ArtistId to be an explicit nil + +### UnsetArtistId +`func (o *QueueResource) UnsetArtistId()` + +UnsetArtistId ensures that no value is present for ArtistId, not even an explicit nil +### GetAlbumId + +`func (o *QueueResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *QueueResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *QueueResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *QueueResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### SetAlbumIdNil + +`func (o *QueueResource) SetAlbumIdNil(b bool)` + + SetAlbumIdNil sets the value for AlbumId to be an explicit nil + +### UnsetAlbumId +`func (o *QueueResource) UnsetAlbumId()` + +UnsetAlbumId ensures that no value is present for AlbumId, not even an explicit nil +### GetArtist + +`func (o *QueueResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *QueueResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *QueueResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *QueueResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetAlbum + +`func (o *QueueResource) GetAlbum() AlbumResource` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *QueueResource) GetAlbumOk() (*AlbumResource, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *QueueResource) SetAlbum(v AlbumResource)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *QueueResource) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + +### GetQuality + +`func (o *QueueResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *QueueResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *QueueResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *QueueResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetSize + +`func (o *QueueResource) GetSize() float64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *QueueResource) GetSizeOk() (*float64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *QueueResource) SetSize(v float64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *QueueResource) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetTitle + +`func (o *QueueResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *QueueResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *QueueResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *QueueResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *QueueResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *QueueResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetSizeleft + +`func (o *QueueResource) GetSizeleft() float64` + +GetSizeleft returns the Sizeleft field if non-nil, zero value otherwise. + +### GetSizeleftOk + +`func (o *QueueResource) GetSizeleftOk() (*float64, bool)` + +GetSizeleftOk returns a tuple with the Sizeleft field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSizeleft + +`func (o *QueueResource) SetSizeleft(v float64)` + +SetSizeleft sets Sizeleft field to given value. + +### HasSizeleft + +`func (o *QueueResource) HasSizeleft() bool` + +HasSizeleft returns a boolean if a field has been set. + +### GetTimeleft + +`func (o *QueueResource) GetTimeleft() TimeSpan` + +GetTimeleft returns the Timeleft field if non-nil, zero value otherwise. + +### GetTimeleftOk + +`func (o *QueueResource) GetTimeleftOk() (*TimeSpan, bool)` + +GetTimeleftOk returns a tuple with the Timeleft field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeleft + +`func (o *QueueResource) SetTimeleft(v TimeSpan)` + +SetTimeleft sets Timeleft field to given value. + +### HasTimeleft + +`func (o *QueueResource) HasTimeleft() bool` + +HasTimeleft returns a boolean if a field has been set. + +### GetEstimatedCompletionTime + +`func (o *QueueResource) GetEstimatedCompletionTime() time.Time` + +GetEstimatedCompletionTime returns the EstimatedCompletionTime field if non-nil, zero value otherwise. + +### GetEstimatedCompletionTimeOk + +`func (o *QueueResource) GetEstimatedCompletionTimeOk() (*time.Time, bool)` + +GetEstimatedCompletionTimeOk returns a tuple with the EstimatedCompletionTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEstimatedCompletionTime + +`func (o *QueueResource) SetEstimatedCompletionTime(v time.Time)` + +SetEstimatedCompletionTime sets EstimatedCompletionTime field to given value. + +### HasEstimatedCompletionTime + +`func (o *QueueResource) HasEstimatedCompletionTime() bool` + +HasEstimatedCompletionTime returns a boolean if a field has been set. + +### SetEstimatedCompletionTimeNil + +`func (o *QueueResource) SetEstimatedCompletionTimeNil(b bool)` + + SetEstimatedCompletionTimeNil sets the value for EstimatedCompletionTime to be an explicit nil + +### UnsetEstimatedCompletionTime +`func (o *QueueResource) UnsetEstimatedCompletionTime()` + +UnsetEstimatedCompletionTime ensures that no value is present for EstimatedCompletionTime, not even an explicit nil +### GetStatus + +`func (o *QueueResource) GetStatus() string` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *QueueResource) GetStatusOk() (*string, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *QueueResource) SetStatus(v string)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *QueueResource) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### SetStatusNil + +`func (o *QueueResource) SetStatusNil(b bool)` + + SetStatusNil sets the value for Status to be an explicit nil + +### UnsetStatus +`func (o *QueueResource) UnsetStatus()` + +UnsetStatus ensures that no value is present for Status, not even an explicit nil +### GetTrackedDownloadStatus + +`func (o *QueueResource) GetTrackedDownloadStatus() TrackedDownloadStatus` + +GetTrackedDownloadStatus returns the TrackedDownloadStatus field if non-nil, zero value otherwise. + +### GetTrackedDownloadStatusOk + +`func (o *QueueResource) GetTrackedDownloadStatusOk() (*TrackedDownloadStatus, bool)` + +GetTrackedDownloadStatusOk returns a tuple with the TrackedDownloadStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackedDownloadStatus + +`func (o *QueueResource) SetTrackedDownloadStatus(v TrackedDownloadStatus)` + +SetTrackedDownloadStatus sets TrackedDownloadStatus field to given value. + +### HasTrackedDownloadStatus + +`func (o *QueueResource) HasTrackedDownloadStatus() bool` + +HasTrackedDownloadStatus returns a boolean if a field has been set. + +### GetTrackedDownloadState + +`func (o *QueueResource) GetTrackedDownloadState() TrackedDownloadState` + +GetTrackedDownloadState returns the TrackedDownloadState field if non-nil, zero value otherwise. + +### GetTrackedDownloadStateOk + +`func (o *QueueResource) GetTrackedDownloadStateOk() (*TrackedDownloadState, bool)` + +GetTrackedDownloadStateOk returns a tuple with the TrackedDownloadState field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackedDownloadState + +`func (o *QueueResource) SetTrackedDownloadState(v TrackedDownloadState)` + +SetTrackedDownloadState sets TrackedDownloadState field to given value. + +### HasTrackedDownloadState + +`func (o *QueueResource) HasTrackedDownloadState() bool` + +HasTrackedDownloadState returns a boolean if a field has been set. + +### GetStatusMessages + +`func (o *QueueResource) GetStatusMessages() []TrackedDownloadStatusMessage` + +GetStatusMessages returns the StatusMessages field if non-nil, zero value otherwise. + +### GetStatusMessagesOk + +`func (o *QueueResource) GetStatusMessagesOk() (*[]TrackedDownloadStatusMessage, bool)` + +GetStatusMessagesOk returns a tuple with the StatusMessages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusMessages + +`func (o *QueueResource) SetStatusMessages(v []TrackedDownloadStatusMessage)` + +SetStatusMessages sets StatusMessages field to given value. + +### HasStatusMessages + +`func (o *QueueResource) HasStatusMessages() bool` + +HasStatusMessages returns a boolean if a field has been set. + +### SetStatusMessagesNil + +`func (o *QueueResource) SetStatusMessagesNil(b bool)` + + SetStatusMessagesNil sets the value for StatusMessages to be an explicit nil + +### UnsetStatusMessages +`func (o *QueueResource) UnsetStatusMessages()` + +UnsetStatusMessages ensures that no value is present for StatusMessages, not even an explicit nil +### GetErrorMessage + +`func (o *QueueResource) GetErrorMessage() string` + +GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise. + +### GetErrorMessageOk + +`func (o *QueueResource) GetErrorMessageOk() (*string, bool)` + +GetErrorMessageOk returns a tuple with the ErrorMessage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorMessage + +`func (o *QueueResource) SetErrorMessage(v string)` + +SetErrorMessage sets ErrorMessage field to given value. + +### HasErrorMessage + +`func (o *QueueResource) HasErrorMessage() bool` + +HasErrorMessage returns a boolean if a field has been set. + +### SetErrorMessageNil + +`func (o *QueueResource) SetErrorMessageNil(b bool)` + + SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil + +### UnsetErrorMessage +`func (o *QueueResource) UnsetErrorMessage()` + +UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil +### GetDownloadId + +`func (o *QueueResource) GetDownloadId() string` + +GetDownloadId returns the DownloadId field if non-nil, zero value otherwise. + +### GetDownloadIdOk + +`func (o *QueueResource) GetDownloadIdOk() (*string, bool)` + +GetDownloadIdOk returns a tuple with the DownloadId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadId + +`func (o *QueueResource) SetDownloadId(v string)` + +SetDownloadId sets DownloadId field to given value. + +### HasDownloadId + +`func (o *QueueResource) HasDownloadId() bool` + +HasDownloadId returns a boolean if a field has been set. + +### SetDownloadIdNil + +`func (o *QueueResource) SetDownloadIdNil(b bool)` + + SetDownloadIdNil sets the value for DownloadId to be an explicit nil + +### UnsetDownloadId +`func (o *QueueResource) UnsetDownloadId()` + +UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +### GetProtocol + +`func (o *QueueResource) GetProtocol() DownloadProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *QueueResource) GetProtocolOk() (*DownloadProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *QueueResource) SetProtocol(v DownloadProtocol)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *QueueResource) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + +### GetDownloadClient + +`func (o *QueueResource) GetDownloadClient() string` + +GetDownloadClient returns the DownloadClient field if non-nil, zero value otherwise. + +### GetDownloadClientOk + +`func (o *QueueResource) GetDownloadClientOk() (*string, bool)` + +GetDownloadClientOk returns a tuple with the DownloadClient field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadClient + +`func (o *QueueResource) SetDownloadClient(v string)` + +SetDownloadClient sets DownloadClient field to given value. + +### HasDownloadClient + +`func (o *QueueResource) HasDownloadClient() bool` + +HasDownloadClient returns a boolean if a field has been set. + +### SetDownloadClientNil + +`func (o *QueueResource) SetDownloadClientNil(b bool)` + + SetDownloadClientNil sets the value for DownloadClient to be an explicit nil + +### UnsetDownloadClient +`func (o *QueueResource) UnsetDownloadClient()` + +UnsetDownloadClient ensures that no value is present for DownloadClient, not even an explicit nil +### GetIndexer + +`func (o *QueueResource) GetIndexer() string` + +GetIndexer returns the Indexer field if non-nil, zero value otherwise. + +### GetIndexerOk + +`func (o *QueueResource) GetIndexerOk() (*string, bool)` + +GetIndexerOk returns a tuple with the Indexer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexer + +`func (o *QueueResource) SetIndexer(v string)` + +SetIndexer sets Indexer field to given value. + +### HasIndexer + +`func (o *QueueResource) HasIndexer() bool` + +HasIndexer returns a boolean if a field has been set. + +### SetIndexerNil + +`func (o *QueueResource) SetIndexerNil(b bool)` + + SetIndexerNil sets the value for Indexer to be an explicit nil + +### UnsetIndexer +`func (o *QueueResource) UnsetIndexer()` + +UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +### GetOutputPath + +`func (o *QueueResource) GetOutputPath() string` + +GetOutputPath returns the OutputPath field if non-nil, zero value otherwise. + +### GetOutputPathOk + +`func (o *QueueResource) GetOutputPathOk() (*string, bool)` + +GetOutputPathOk returns a tuple with the OutputPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutputPath + +`func (o *QueueResource) SetOutputPath(v string)` + +SetOutputPath sets OutputPath field to given value. + +### HasOutputPath + +`func (o *QueueResource) HasOutputPath() bool` + +HasOutputPath returns a boolean if a field has been set. + +### SetOutputPathNil + +`func (o *QueueResource) SetOutputPathNil(b bool)` + + SetOutputPathNil sets the value for OutputPath to be an explicit nil + +### UnsetOutputPath +`func (o *QueueResource) UnsetOutputPath()` + +UnsetOutputPath ensures that no value is present for OutputPath, not even an explicit nil +### GetDownloadForced + +`func (o *QueueResource) GetDownloadForced() bool` + +GetDownloadForced returns the DownloadForced field if non-nil, zero value otherwise. + +### GetDownloadForcedOk + +`func (o *QueueResource) GetDownloadForcedOk() (*bool, bool)` + +GetDownloadForcedOk returns a tuple with the DownloadForced field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadForced + +`func (o *QueueResource) SetDownloadForced(v bool)` + +SetDownloadForced sets DownloadForced field to given value. + +### HasDownloadForced + +`func (o *QueueResource) HasDownloadForced() bool` + +HasDownloadForced returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QueueResourcePagingResource.md b/lidarr/docs/QueueResourcePagingResource.md new file mode 100644 index 0000000..317cf5f --- /dev/null +++ b/lidarr/docs/QueueResourcePagingResource.md @@ -0,0 +1,242 @@ +# QueueResourcePagingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Page** | Pointer to **int32** | | [optional] +**PageSize** | Pointer to **int32** | | [optional] +**SortKey** | Pointer to **NullableString** | | [optional] +**SortDirection** | Pointer to [**SortDirection**](SortDirection.md) | | [optional] +**Filters** | Pointer to [**[]PagingResourceFilter**](PagingResourceFilter.md) | | [optional] +**TotalRecords** | Pointer to **int32** | | [optional] +**Records** | Pointer to [**[]QueueResource**](QueueResource.md) | | [optional] + +## Methods + +### NewQueueResourcePagingResource + +`func NewQueueResourcePagingResource() *QueueResourcePagingResource` + +NewQueueResourcePagingResource instantiates a new QueueResourcePagingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQueueResourcePagingResourceWithDefaults + +`func NewQueueResourcePagingResourceWithDefaults() *QueueResourcePagingResource` + +NewQueueResourcePagingResourceWithDefaults instantiates a new QueueResourcePagingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPage + +`func (o *QueueResourcePagingResource) GetPage() int32` + +GetPage returns the Page field if non-nil, zero value otherwise. + +### GetPageOk + +`func (o *QueueResourcePagingResource) GetPageOk() (*int32, bool)` + +GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPage + +`func (o *QueueResourcePagingResource) SetPage(v int32)` + +SetPage sets Page field to given value. + +### HasPage + +`func (o *QueueResourcePagingResource) HasPage() bool` + +HasPage returns a boolean if a field has been set. + +### GetPageSize + +`func (o *QueueResourcePagingResource) GetPageSize() int32` + +GetPageSize returns the PageSize field if non-nil, zero value otherwise. + +### GetPageSizeOk + +`func (o *QueueResourcePagingResource) GetPageSizeOk() (*int32, bool)` + +GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPageSize + +`func (o *QueueResourcePagingResource) SetPageSize(v int32)` + +SetPageSize sets PageSize field to given value. + +### HasPageSize + +`func (o *QueueResourcePagingResource) HasPageSize() bool` + +HasPageSize returns a boolean if a field has been set. + +### GetSortKey + +`func (o *QueueResourcePagingResource) GetSortKey() string` + +GetSortKey returns the SortKey field if non-nil, zero value otherwise. + +### GetSortKeyOk + +`func (o *QueueResourcePagingResource) GetSortKeyOk() (*string, bool)` + +GetSortKeyOk returns a tuple with the SortKey field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortKey + +`func (o *QueueResourcePagingResource) SetSortKey(v string)` + +SetSortKey sets SortKey field to given value. + +### HasSortKey + +`func (o *QueueResourcePagingResource) HasSortKey() bool` + +HasSortKey returns a boolean if a field has been set. + +### SetSortKeyNil + +`func (o *QueueResourcePagingResource) SetSortKeyNil(b bool)` + + SetSortKeyNil sets the value for SortKey to be an explicit nil + +### UnsetSortKey +`func (o *QueueResourcePagingResource) UnsetSortKey()` + +UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +### GetSortDirection + +`func (o *QueueResourcePagingResource) GetSortDirection() SortDirection` + +GetSortDirection returns the SortDirection field if non-nil, zero value otherwise. + +### GetSortDirectionOk + +`func (o *QueueResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool)` + +GetSortDirectionOk returns a tuple with the SortDirection field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSortDirection + +`func (o *QueueResourcePagingResource) SetSortDirection(v SortDirection)` + +SetSortDirection sets SortDirection field to given value. + +### HasSortDirection + +`func (o *QueueResourcePagingResource) HasSortDirection() bool` + +HasSortDirection returns a boolean if a field has been set. + +### GetFilters + +`func (o *QueueResourcePagingResource) GetFilters() []PagingResourceFilter` + +GetFilters returns the Filters field if non-nil, zero value otherwise. + +### GetFiltersOk + +`func (o *QueueResourcePagingResource) GetFiltersOk() (*[]PagingResourceFilter, bool)` + +GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilters + +`func (o *QueueResourcePagingResource) SetFilters(v []PagingResourceFilter)` + +SetFilters sets Filters field to given value. + +### HasFilters + +`func (o *QueueResourcePagingResource) HasFilters() bool` + +HasFilters returns a boolean if a field has been set. + +### SetFiltersNil + +`func (o *QueueResourcePagingResource) SetFiltersNil(b bool)` + + SetFiltersNil sets the value for Filters to be an explicit nil + +### UnsetFilters +`func (o *QueueResourcePagingResource) UnsetFilters()` + +UnsetFilters ensures that no value is present for Filters, not even an explicit nil +### GetTotalRecords + +`func (o *QueueResourcePagingResource) GetTotalRecords() int32` + +GetTotalRecords returns the TotalRecords field if non-nil, zero value otherwise. + +### GetTotalRecordsOk + +`func (o *QueueResourcePagingResource) GetTotalRecordsOk() (*int32, bool)` + +GetTotalRecordsOk returns a tuple with the TotalRecords field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalRecords + +`func (o *QueueResourcePagingResource) SetTotalRecords(v int32)` + +SetTotalRecords sets TotalRecords field to given value. + +### HasTotalRecords + +`func (o *QueueResourcePagingResource) HasTotalRecords() bool` + +HasTotalRecords returns a boolean if a field has been set. + +### GetRecords + +`func (o *QueueResourcePagingResource) GetRecords() []QueueResource` + +GetRecords returns the Records field if non-nil, zero value otherwise. + +### GetRecordsOk + +`func (o *QueueResourcePagingResource) GetRecordsOk() (*[]QueueResource, bool)` + +GetRecordsOk returns a tuple with the Records field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRecords + +`func (o *QueueResourcePagingResource) SetRecords(v []QueueResource)` + +SetRecords sets Records field to given value. + +### HasRecords + +`func (o *QueueResourcePagingResource) HasRecords() bool` + +HasRecords returns a boolean if a field has been set. + +### SetRecordsNil + +`func (o *QueueResourcePagingResource) SetRecordsNil(b bool)` + + SetRecordsNil sets the value for Records to be an explicit nil + +### UnsetRecords +`func (o *QueueResourcePagingResource) UnsetRecords()` + +UnsetRecords ensures that no value is present for Records, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/QueueStatusApi.md b/lidarr/docs/QueueStatusApi.md new file mode 100644 index 0000000..01b0723 --- /dev/null +++ b/lidarr/docs/QueueStatusApi.md @@ -0,0 +1,137 @@ +# \QueueStatusApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1QueueStatus**](QueueStatusApi.md#GetApiV1QueueStatus) | **Get** /api/v1/queue/status | +[**GetApiV1QueueStatusById**](QueueStatusApi.md#GetApiV1QueueStatusById) | **Get** /api/v1/queue/status/{id} | + + + +## GetApiV1QueueStatus + +> QueueStatusResource GetApiV1QueueStatus(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueStatusApi.GetApiV1QueueStatus(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusApi.GetApiV1QueueStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QueueStatus`: QueueStatusResource + fmt.Fprintf(os.Stdout, "Response from `QueueStatusApi.GetApiV1QueueStatus`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QueueStatusRequest struct via the builder pattern + + +### Return type + +[**QueueStatusResource**](QueueStatusResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1QueueStatusById + +> QueueStatusResource GetApiV1QueueStatusById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.QueueStatusApi.GetApiV1QueueStatusById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `QueueStatusApi.GetApiV1QueueStatusById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1QueueStatusById`: QueueStatusResource + fmt.Fprintf(os.Stdout, "Response from `QueueStatusApi.GetApiV1QueueStatusById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1QueueStatusByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**QueueStatusResource**](QueueStatusResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/QueueStatusResource.md b/lidarr/docs/QueueStatusResource.md new file mode 100644 index 0000000..d4b4958 --- /dev/null +++ b/lidarr/docs/QueueStatusResource.md @@ -0,0 +1,238 @@ +# QueueStatusResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**TotalCount** | Pointer to **int32** | | [optional] +**Count** | Pointer to **int32** | | [optional] +**UnknownCount** | Pointer to **int32** | | [optional] +**Errors** | Pointer to **bool** | | [optional] +**Warnings** | Pointer to **bool** | | [optional] +**UnknownErrors** | Pointer to **bool** | | [optional] +**UnknownWarnings** | Pointer to **bool** | | [optional] + +## Methods + +### NewQueueStatusResource + +`func NewQueueStatusResource() *QueueStatusResource` + +NewQueueStatusResource instantiates a new QueueStatusResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewQueueStatusResourceWithDefaults + +`func NewQueueStatusResourceWithDefaults() *QueueStatusResource` + +NewQueueStatusResourceWithDefaults instantiates a new QueueStatusResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *QueueStatusResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *QueueStatusResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *QueueStatusResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *QueueStatusResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetTotalCount + +`func (o *QueueStatusResource) GetTotalCount() int32` + +GetTotalCount returns the TotalCount field if non-nil, zero value otherwise. + +### GetTotalCountOk + +`func (o *QueueStatusResource) GetTotalCountOk() (*int32, bool)` + +GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalCount + +`func (o *QueueStatusResource) SetTotalCount(v int32)` + +SetTotalCount sets TotalCount field to given value. + +### HasTotalCount + +`func (o *QueueStatusResource) HasTotalCount() bool` + +HasTotalCount returns a boolean if a field has been set. + +### GetCount + +`func (o *QueueStatusResource) GetCount() int32` + +GetCount returns the Count field if non-nil, zero value otherwise. + +### GetCountOk + +`func (o *QueueStatusResource) GetCountOk() (*int32, bool)` + +GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCount + +`func (o *QueueStatusResource) SetCount(v int32)` + +SetCount sets Count field to given value. + +### HasCount + +`func (o *QueueStatusResource) HasCount() bool` + +HasCount returns a boolean if a field has been set. + +### GetUnknownCount + +`func (o *QueueStatusResource) GetUnknownCount() int32` + +GetUnknownCount returns the UnknownCount field if non-nil, zero value otherwise. + +### GetUnknownCountOk + +`func (o *QueueStatusResource) GetUnknownCountOk() (*int32, bool)` + +GetUnknownCountOk returns a tuple with the UnknownCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnknownCount + +`func (o *QueueStatusResource) SetUnknownCount(v int32)` + +SetUnknownCount sets UnknownCount field to given value. + +### HasUnknownCount + +`func (o *QueueStatusResource) HasUnknownCount() bool` + +HasUnknownCount returns a boolean if a field has been set. + +### GetErrors + +`func (o *QueueStatusResource) GetErrors() bool` + +GetErrors returns the Errors field if non-nil, zero value otherwise. + +### GetErrorsOk + +`func (o *QueueStatusResource) GetErrorsOk() (*bool, bool)` + +GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrors + +`func (o *QueueStatusResource) SetErrors(v bool)` + +SetErrors sets Errors field to given value. + +### HasErrors + +`func (o *QueueStatusResource) HasErrors() bool` + +HasErrors returns a boolean if a field has been set. + +### GetWarnings + +`func (o *QueueStatusResource) GetWarnings() bool` + +GetWarnings returns the Warnings field if non-nil, zero value otherwise. + +### GetWarningsOk + +`func (o *QueueStatusResource) GetWarningsOk() (*bool, bool)` + +GetWarningsOk returns a tuple with the Warnings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWarnings + +`func (o *QueueStatusResource) SetWarnings(v bool)` + +SetWarnings sets Warnings field to given value. + +### HasWarnings + +`func (o *QueueStatusResource) HasWarnings() bool` + +HasWarnings returns a boolean if a field has been set. + +### GetUnknownErrors + +`func (o *QueueStatusResource) GetUnknownErrors() bool` + +GetUnknownErrors returns the UnknownErrors field if non-nil, zero value otherwise. + +### GetUnknownErrorsOk + +`func (o *QueueStatusResource) GetUnknownErrorsOk() (*bool, bool)` + +GetUnknownErrorsOk returns a tuple with the UnknownErrors field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnknownErrors + +`func (o *QueueStatusResource) SetUnknownErrors(v bool)` + +SetUnknownErrors sets UnknownErrors field to given value. + +### HasUnknownErrors + +`func (o *QueueStatusResource) HasUnknownErrors() bool` + +HasUnknownErrors returns a boolean if a field has been set. + +### GetUnknownWarnings + +`func (o *QueueStatusResource) GetUnknownWarnings() bool` + +GetUnknownWarnings returns the UnknownWarnings field if non-nil, zero value otherwise. + +### GetUnknownWarningsOk + +`func (o *QueueStatusResource) GetUnknownWarningsOk() (*bool, bool)` + +GetUnknownWarningsOk returns a tuple with the UnknownWarnings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnknownWarnings + +`func (o *QueueStatusResource) SetUnknownWarnings(v bool)` + +SetUnknownWarnings sets UnknownWarnings field to given value. + +### HasUnknownWarnings + +`func (o *QueueStatusResource) HasUnknownWarnings() bool` + +HasUnknownWarnings returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Ratings.md b/lidarr/docs/Ratings.md new file mode 100644 index 0000000..48e8dba --- /dev/null +++ b/lidarr/docs/Ratings.md @@ -0,0 +1,82 @@ +# Ratings + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Votes** | Pointer to **int32** | | [optional] +**Value** | Pointer to **float64** | | [optional] + +## Methods + +### NewRatings + +`func NewRatings() *Ratings` + +NewRatings instantiates a new Ratings object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRatingsWithDefaults + +`func NewRatingsWithDefaults() *Ratings` + +NewRatingsWithDefaults instantiates a new Ratings object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetVotes + +`func (o *Ratings) GetVotes() int32` + +GetVotes returns the Votes field if non-nil, zero value otherwise. + +### GetVotesOk + +`func (o *Ratings) GetVotesOk() (*int32, bool)` + +GetVotesOk returns a tuple with the Votes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVotes + +`func (o *Ratings) SetVotes(v int32)` + +SetVotes sets Votes field to given value. + +### HasVotes + +`func (o *Ratings) HasVotes() bool` + +HasVotes returns a boolean if a field has been set. + +### GetValue + +`func (o *Ratings) GetValue() float64` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *Ratings) GetValueOk() (*float64, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *Ratings) SetValue(v float64)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *Ratings) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Rejection.md b/lidarr/docs/Rejection.md new file mode 100644 index 0000000..47fede0 --- /dev/null +++ b/lidarr/docs/Rejection.md @@ -0,0 +1,92 @@ +# Rejection + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Reason** | Pointer to **NullableString** | | [optional] +**Type** | Pointer to [**RejectionType**](RejectionType.md) | | [optional] + +## Methods + +### NewRejection + +`func NewRejection() *Rejection` + +NewRejection instantiates a new Rejection object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRejectionWithDefaults + +`func NewRejectionWithDefaults() *Rejection` + +NewRejectionWithDefaults instantiates a new Rejection object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetReason + +`func (o *Rejection) GetReason() string` + +GetReason returns the Reason field if non-nil, zero value otherwise. + +### GetReasonOk + +`func (o *Rejection) GetReasonOk() (*string, bool)` + +GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReason + +`func (o *Rejection) SetReason(v string)` + +SetReason sets Reason field to given value. + +### HasReason + +`func (o *Rejection) HasReason() bool` + +HasReason returns a boolean if a field has been set. + +### SetReasonNil + +`func (o *Rejection) SetReasonNil(b bool)` + + SetReasonNil sets the value for Reason to be an explicit nil + +### UnsetReason +`func (o *Rejection) UnsetReason()` + +UnsetReason ensures that no value is present for Reason, not even an explicit nil +### GetType + +`func (o *Rejection) GetType() RejectionType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *Rejection) GetTypeOk() (*RejectionType, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *Rejection) SetType(v RejectionType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *Rejection) HasType() bool` + +HasType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RejectionType.md b/lidarr/docs/RejectionType.md new file mode 100644 index 0000000..1cba490 --- /dev/null +++ b/lidarr/docs/RejectionType.md @@ -0,0 +1,13 @@ +# RejectionType + +## Enum + + +* `PERMANENT` (value: `"permanent"`) + +* `TEMPORARY` (value: `"temporary"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ReleaseApi.md b/lidarr/docs/ReleaseApi.md new file mode 100644 index 0000000..e6b2a5f --- /dev/null +++ b/lidarr/docs/ReleaseApi.md @@ -0,0 +1,209 @@ +# \ReleaseApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Release**](ReleaseApi.md#CreateApiV1Release) | **Post** /api/v1/release | +[**GetApiV1ReleaseById**](ReleaseApi.md#GetApiV1ReleaseById) | **Get** /api/v1/release/{id} | +[**ListApiV1Release**](ReleaseApi.md#ListApiV1Release) | **Get** /api/v1/release | + + + +## CreateApiV1Release + +> ReleaseResource CreateApiV1Release(ctx).ReleaseResource(releaseResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + releaseResource := *lidarrClient.NewReleaseResource() // ReleaseResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ReleaseApi.CreateApiV1Release(context.Background()).ReleaseResource(releaseResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.CreateApiV1Release``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Release`: ReleaseResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseApi.CreateApiV1Release`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ReleaseRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **releaseResource** | [**ReleaseResource**](ReleaseResource.md) | | + +### Return type + +[**ReleaseResource**](ReleaseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ReleaseById + +> ReleaseResource GetApiV1ReleaseById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ReleaseApi.GetApiV1ReleaseById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.GetApiV1ReleaseById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ReleaseById`: ReleaseResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseApi.GetApiV1ReleaseById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ReleaseByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ReleaseResource**](ReleaseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Release + +> []ReleaseResource ListApiV1Release(ctx).AlbumId(albumId).ArtistId(artistId).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + albumId := int32(56) // int32 | (optional) + artistId := int32(56) // int32 | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ReleaseApi.ListApiV1Release(context.Background()).AlbumId(albumId).ArtistId(artistId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReleaseApi.ListApiV1Release``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Release`: []ReleaseResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseApi.ListApiV1Release`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ReleaseRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **albumId** | **int32** | | + **artistId** | **int32** | | + +### Return type + +[**[]ReleaseResource**](ReleaseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ReleaseProfileApi.md b/lidarr/docs/ReleaseProfileApi.md new file mode 100644 index 0000000..fb03a65 --- /dev/null +++ b/lidarr/docs/ReleaseProfileApi.md @@ -0,0 +1,340 @@ +# \ReleaseProfileApi + +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 + +> ReleaseProfileResource CreateApiV1Releaseprofile(ctx).ReleaseProfileResource(releaseProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + releaseProfileResource := *lidarrClient.NewReleaseProfileResource() // ReleaseProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Releaseprofile`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.CreateApiV1Releaseprofile`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ReleaseprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **releaseProfileResource** | [**ReleaseProfileResource**](ReleaseProfileResource.md) | | + +### Return type + +[**ReleaseProfileResource**](ReleaseProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Releaseprofile + +> DeleteApiV1Releaseprofile(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1ReleaseprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ReleaseprofileById + +> ReleaseProfileResource GetApiV1ReleaseprofileById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ReleaseprofileById`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.GetApiV1ReleaseprofileById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ReleaseprofileByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ReleaseProfileResource**](ReleaseProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Releaseprofile + +> []ReleaseProfileResource ListApiV1Releaseprofile(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Releaseprofile`: []ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.ListApiV1Releaseprofile`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1ReleaseprofileRequest struct via the builder pattern + + +### Return type + +[**[]ReleaseProfileResource**](ReleaseProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Releaseprofile + +> ReleaseProfileResource UpdateApiV1Releaseprofile(ctx, id).ReleaseProfileResource(releaseProfileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + releaseProfileResource := *lidarrClient.NewReleaseProfileResource() // ReleaseProfileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Releaseprofile`: ReleaseProfileResource + fmt.Fprintf(os.Stdout, "Response from `ReleaseProfileApi.UpdateApiV1Releaseprofile`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ReleaseprofileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **releaseProfileResource** | [**ReleaseProfileResource**](ReleaseProfileResource.md) | | + +### Return type + +[**ReleaseProfileResource**](ReleaseProfileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ReleaseProfileResource.md b/lidarr/docs/ReleaseProfileResource.md new file mode 100644 index 0000000..e568b89 --- /dev/null +++ b/lidarr/docs/ReleaseProfileResource.md @@ -0,0 +1,278 @@ +# ReleaseProfileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Enabled** | Pointer to **bool** | | [optional] +**Required** | Pointer to **NullableString** | | [optional] +**Ignored** | Pointer to **NullableString** | | [optional] +**Preferred** | Pointer to [**[]StringInt32KeyValuePair**](StringInt32KeyValuePair.md) | | [optional] +**IncludePreferredWhenRenaming** | Pointer to **bool** | | [optional] +**IndexerId** | Pointer to **int32** | | [optional] +**Tags** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewReleaseProfileResource + +`func NewReleaseProfileResource() *ReleaseProfileResource` + +NewReleaseProfileResource instantiates a new ReleaseProfileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReleaseProfileResourceWithDefaults + +`func NewReleaseProfileResourceWithDefaults() *ReleaseProfileResource` + +NewReleaseProfileResourceWithDefaults instantiates a new ReleaseProfileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ReleaseProfileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ReleaseProfileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ReleaseProfileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ReleaseProfileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetEnabled + +`func (o *ReleaseProfileResource) GetEnabled() bool` + +GetEnabled returns the Enabled field if non-nil, zero value otherwise. + +### GetEnabledOk + +`func (o *ReleaseProfileResource) GetEnabledOk() (*bool, bool)` + +GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnabled + +`func (o *ReleaseProfileResource) SetEnabled(v bool)` + +SetEnabled sets Enabled field to given value. + +### HasEnabled + +`func (o *ReleaseProfileResource) HasEnabled() bool` + +HasEnabled returns a boolean if a field has been set. + +### GetRequired + +`func (o *ReleaseProfileResource) GetRequired() string` + +GetRequired returns the Required field if non-nil, zero value otherwise. + +### GetRequiredOk + +`func (o *ReleaseProfileResource) GetRequiredOk() (*string, bool)` + +GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequired + +`func (o *ReleaseProfileResource) SetRequired(v string)` + +SetRequired sets Required field to given value. + +### HasRequired + +`func (o *ReleaseProfileResource) HasRequired() bool` + +HasRequired returns a boolean if a field has been set. + +### SetRequiredNil + +`func (o *ReleaseProfileResource) SetRequiredNil(b bool)` + + SetRequiredNil sets the value for Required to be an explicit nil + +### UnsetRequired +`func (o *ReleaseProfileResource) UnsetRequired()` + +UnsetRequired ensures that no value is present for Required, not even an explicit nil +### GetIgnored + +`func (o *ReleaseProfileResource) GetIgnored() string` + +GetIgnored returns the Ignored field if non-nil, zero value otherwise. + +### GetIgnoredOk + +`func (o *ReleaseProfileResource) GetIgnoredOk() (*string, bool)` + +GetIgnoredOk returns a tuple with the Ignored field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIgnored + +`func (o *ReleaseProfileResource) SetIgnored(v string)` + +SetIgnored sets Ignored field to given value. + +### HasIgnored + +`func (o *ReleaseProfileResource) HasIgnored() bool` + +HasIgnored returns a boolean if a field has been set. + +### SetIgnoredNil + +`func (o *ReleaseProfileResource) SetIgnoredNil(b bool)` + + SetIgnoredNil sets the value for Ignored to be an explicit nil + +### UnsetIgnored +`func (o *ReleaseProfileResource) UnsetIgnored()` + +UnsetIgnored ensures that no value is present for Ignored, not even an explicit nil +### GetPreferred + +`func (o *ReleaseProfileResource) GetPreferred() []StringInt32KeyValuePair` + +GetPreferred returns the Preferred field if non-nil, zero value otherwise. + +### GetPreferredOk + +`func (o *ReleaseProfileResource) GetPreferredOk() (*[]StringInt32KeyValuePair, bool)` + +GetPreferredOk returns a tuple with the Preferred field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreferred + +`func (o *ReleaseProfileResource) SetPreferred(v []StringInt32KeyValuePair)` + +SetPreferred sets Preferred field to given value. + +### HasPreferred + +`func (o *ReleaseProfileResource) HasPreferred() bool` + +HasPreferred returns a boolean if a field has been set. + +### SetPreferredNil + +`func (o *ReleaseProfileResource) SetPreferredNil(b bool)` + + SetPreferredNil sets the value for Preferred to be an explicit nil + +### UnsetPreferred +`func (o *ReleaseProfileResource) UnsetPreferred()` + +UnsetPreferred ensures that no value is present for Preferred, not even an explicit nil +### GetIncludePreferredWhenRenaming + +`func (o *ReleaseProfileResource) GetIncludePreferredWhenRenaming() bool` + +GetIncludePreferredWhenRenaming returns the IncludePreferredWhenRenaming field if non-nil, zero value otherwise. + +### GetIncludePreferredWhenRenamingOk + +`func (o *ReleaseProfileResource) GetIncludePreferredWhenRenamingOk() (*bool, bool)` + +GetIncludePreferredWhenRenamingOk returns a tuple with the IncludePreferredWhenRenaming field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIncludePreferredWhenRenaming + +`func (o *ReleaseProfileResource) SetIncludePreferredWhenRenaming(v bool)` + +SetIncludePreferredWhenRenaming sets IncludePreferredWhenRenaming field to given value. + +### HasIncludePreferredWhenRenaming + +`func (o *ReleaseProfileResource) HasIncludePreferredWhenRenaming() bool` + +HasIncludePreferredWhenRenaming returns a boolean if a field has been set. + +### GetIndexerId + +`func (o *ReleaseProfileResource) GetIndexerId() int32` + +GetIndexerId returns the IndexerId field if non-nil, zero value otherwise. + +### GetIndexerIdOk + +`func (o *ReleaseProfileResource) GetIndexerIdOk() (*int32, bool)` + +GetIndexerIdOk returns a tuple with the IndexerId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexerId + +`func (o *ReleaseProfileResource) SetIndexerId(v int32)` + +SetIndexerId sets IndexerId field to given value. + +### HasIndexerId + +`func (o *ReleaseProfileResource) HasIndexerId() bool` + +HasIndexerId returns a boolean if a field has been set. + +### GetTags + +`func (o *ReleaseProfileResource) GetTags() []int32` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ReleaseProfileResource) GetTagsOk() (*[]int32, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *ReleaseProfileResource) SetTags(v []int32)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ReleaseProfileResource) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *ReleaseProfileResource) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ReleaseProfileResource) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ReleasePushApi.md b/lidarr/docs/ReleasePushApi.md new file mode 100644 index 0000000..e324366 --- /dev/null +++ b/lidarr/docs/ReleasePushApi.md @@ -0,0 +1,142 @@ +# \ReleasePushApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1ReleasePush**](ReleasePushApi.md#CreateApiV1ReleasePush) | **Post** /api/v1/release/push | +[**GetApiV1ReleasePushById**](ReleasePushApi.md#GetApiV1ReleasePushById) | **Get** /api/v1/release/push/{id} | + + + +## CreateApiV1ReleasePush + +> ReleaseResource CreateApiV1ReleasePush(ctx).ReleaseResource(releaseResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + releaseResource := *lidarrClient.NewReleaseResource() // ReleaseResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ReleasePushApi.CreateApiV1ReleasePush(context.Background()).ReleaseResource(releaseResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushApi.CreateApiV1ReleasePush``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1ReleasePush`: ReleaseResource + fmt.Fprintf(os.Stdout, "Response from `ReleasePushApi.CreateApiV1ReleasePush`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1ReleasePushRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **releaseResource** | [**ReleaseResource**](ReleaseResource.md) | | + +### Return type + +[**ReleaseResource**](ReleaseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ReleasePushById + +> ReleaseResource GetApiV1ReleasePushById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.ReleasePushApi.GetApiV1ReleasePushById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReleasePushApi.GetApiV1ReleasePushById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ReleasePushById`: ReleaseResource + fmt.Fprintf(os.Stdout, "Response from `ReleasePushApi.GetApiV1ReleasePushById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ReleasePushByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**ReleaseResource**](ReleaseResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/ReleaseResource.md b/lidarr/docs/ReleaseResource.md new file mode 100644 index 0000000..8fdd42c --- /dev/null +++ b/lidarr/docs/ReleaseResource.md @@ -0,0 +1,1182 @@ +# ReleaseResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Guid** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**QualityWeight** | Pointer to **int32** | | [optional] +**Age** | Pointer to **int32** | | [optional] +**AgeHours** | Pointer to **float64** | | [optional] +**AgeMinutes** | Pointer to **float64** | | [optional] +**Size** | Pointer to **int64** | | [optional] +**IndexerId** | Pointer to **int32** | | [optional] +**Indexer** | Pointer to **NullableString** | | [optional] +**ReleaseGroup** | Pointer to **NullableString** | | [optional] +**SubGroup** | Pointer to **NullableString** | | [optional] +**ReleaseHash** | Pointer to **NullableString** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Discography** | Pointer to **bool** | | [optional] +**SceneSource** | Pointer to **bool** | | [optional] +**AirDate** | Pointer to **NullableString** | | [optional] +**ArtistName** | Pointer to **NullableString** | | [optional] +**AlbumTitle** | Pointer to **NullableString** | | [optional] +**Approved** | Pointer to **bool** | | [optional] +**TemporarilyRejected** | Pointer to **bool** | | [optional] +**Rejected** | Pointer to **bool** | | [optional] +**Rejections** | Pointer to **[]string** | | [optional] +**PublishDate** | Pointer to **time.Time** | | [optional] +**CommentUrl** | Pointer to **NullableString** | | [optional] +**DownloadUrl** | Pointer to **NullableString** | | [optional] +**InfoUrl** | Pointer to **NullableString** | | [optional] +**DownloadAllowed** | Pointer to **bool** | | [optional] +**ReleaseWeight** | Pointer to **int32** | | [optional] +**PreferredWordScore** | Pointer to **int32** | | [optional] +**MagnetUrl** | Pointer to **NullableString** | | [optional] +**InfoHash** | Pointer to **NullableString** | | [optional] +**Seeders** | Pointer to **NullableInt32** | | [optional] +**Leechers** | Pointer to **NullableInt32** | | [optional] +**Protocol** | Pointer to [**DownloadProtocol**](DownloadProtocol.md) | | [optional] +**ArtistId** | Pointer to **NullableInt32** | | [optional] +**AlbumId** | Pointer to **NullableInt32** | | [optional] + +## Methods + +### NewReleaseResource + +`func NewReleaseResource() *ReleaseResource` + +NewReleaseResource instantiates a new ReleaseResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReleaseResourceWithDefaults + +`func NewReleaseResourceWithDefaults() *ReleaseResource` + +NewReleaseResourceWithDefaults instantiates a new ReleaseResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ReleaseResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ReleaseResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ReleaseResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ReleaseResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetGuid + +`func (o *ReleaseResource) GetGuid() string` + +GetGuid returns the Guid field if non-nil, zero value otherwise. + +### GetGuidOk + +`func (o *ReleaseResource) GetGuidOk() (*string, bool)` + +GetGuidOk returns a tuple with the Guid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGuid + +`func (o *ReleaseResource) SetGuid(v string)` + +SetGuid sets Guid field to given value. + +### HasGuid + +`func (o *ReleaseResource) HasGuid() bool` + +HasGuid returns a boolean if a field has been set. + +### SetGuidNil + +`func (o *ReleaseResource) SetGuidNil(b bool)` + + SetGuidNil sets the value for Guid to be an explicit nil + +### UnsetGuid +`func (o *ReleaseResource) UnsetGuid()` + +UnsetGuid ensures that no value is present for Guid, not even an explicit nil +### GetQuality + +`func (o *ReleaseResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *ReleaseResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *ReleaseResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *ReleaseResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetQualityWeight + +`func (o *ReleaseResource) GetQualityWeight() int32` + +GetQualityWeight returns the QualityWeight field if non-nil, zero value otherwise. + +### GetQualityWeightOk + +`func (o *ReleaseResource) GetQualityWeightOk() (*int32, bool)` + +GetQualityWeightOk returns a tuple with the QualityWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityWeight + +`func (o *ReleaseResource) SetQualityWeight(v int32)` + +SetQualityWeight sets QualityWeight field to given value. + +### HasQualityWeight + +`func (o *ReleaseResource) HasQualityWeight() bool` + +HasQualityWeight returns a boolean if a field has been set. + +### GetAge + +`func (o *ReleaseResource) GetAge() int32` + +GetAge returns the Age field if non-nil, zero value otherwise. + +### GetAgeOk + +`func (o *ReleaseResource) GetAgeOk() (*int32, bool)` + +GetAgeOk returns a tuple with the Age field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAge + +`func (o *ReleaseResource) SetAge(v int32)` + +SetAge sets Age field to given value. + +### HasAge + +`func (o *ReleaseResource) HasAge() bool` + +HasAge returns a boolean if a field has been set. + +### GetAgeHours + +`func (o *ReleaseResource) GetAgeHours() float64` + +GetAgeHours returns the AgeHours field if non-nil, zero value otherwise. + +### GetAgeHoursOk + +`func (o *ReleaseResource) GetAgeHoursOk() (*float64, bool)` + +GetAgeHoursOk returns a tuple with the AgeHours field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAgeHours + +`func (o *ReleaseResource) SetAgeHours(v float64)` + +SetAgeHours sets AgeHours field to given value. + +### HasAgeHours + +`func (o *ReleaseResource) HasAgeHours() bool` + +HasAgeHours returns a boolean if a field has been set. + +### GetAgeMinutes + +`func (o *ReleaseResource) GetAgeMinutes() float64` + +GetAgeMinutes returns the AgeMinutes field if non-nil, zero value otherwise. + +### GetAgeMinutesOk + +`func (o *ReleaseResource) GetAgeMinutesOk() (*float64, bool)` + +GetAgeMinutesOk returns a tuple with the AgeMinutes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAgeMinutes + +`func (o *ReleaseResource) SetAgeMinutes(v float64)` + +SetAgeMinutes sets AgeMinutes field to given value. + +### HasAgeMinutes + +`func (o *ReleaseResource) HasAgeMinutes() bool` + +HasAgeMinutes returns a boolean if a field has been set. + +### GetSize + +`func (o *ReleaseResource) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ReleaseResource) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ReleaseResource) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *ReleaseResource) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetIndexerId + +`func (o *ReleaseResource) GetIndexerId() int32` + +GetIndexerId returns the IndexerId field if non-nil, zero value otherwise. + +### GetIndexerIdOk + +`func (o *ReleaseResource) GetIndexerIdOk() (*int32, bool)` + +GetIndexerIdOk returns a tuple with the IndexerId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexerId + +`func (o *ReleaseResource) SetIndexerId(v int32)` + +SetIndexerId sets IndexerId field to given value. + +### HasIndexerId + +`func (o *ReleaseResource) HasIndexerId() bool` + +HasIndexerId returns a boolean if a field has been set. + +### GetIndexer + +`func (o *ReleaseResource) GetIndexer() string` + +GetIndexer returns the Indexer field if non-nil, zero value otherwise. + +### GetIndexerOk + +`func (o *ReleaseResource) GetIndexerOk() (*string, bool)` + +GetIndexerOk returns a tuple with the Indexer field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexer + +`func (o *ReleaseResource) SetIndexer(v string)` + +SetIndexer sets Indexer field to given value. + +### HasIndexer + +`func (o *ReleaseResource) HasIndexer() bool` + +HasIndexer returns a boolean if a field has been set. + +### SetIndexerNil + +`func (o *ReleaseResource) SetIndexerNil(b bool)` + + SetIndexerNil sets the value for Indexer to be an explicit nil + +### UnsetIndexer +`func (o *ReleaseResource) UnsetIndexer()` + +UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +### GetReleaseGroup + +`func (o *ReleaseResource) GetReleaseGroup() string` + +GetReleaseGroup returns the ReleaseGroup field if non-nil, zero value otherwise. + +### GetReleaseGroupOk + +`func (o *ReleaseResource) GetReleaseGroupOk() (*string, bool)` + +GetReleaseGroupOk returns a tuple with the ReleaseGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseGroup + +`func (o *ReleaseResource) SetReleaseGroup(v string)` + +SetReleaseGroup sets ReleaseGroup field to given value. + +### HasReleaseGroup + +`func (o *ReleaseResource) HasReleaseGroup() bool` + +HasReleaseGroup returns a boolean if a field has been set. + +### SetReleaseGroupNil + +`func (o *ReleaseResource) SetReleaseGroupNil(b bool)` + + SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil + +### UnsetReleaseGroup +`func (o *ReleaseResource) UnsetReleaseGroup()` + +UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +### GetSubGroup + +`func (o *ReleaseResource) GetSubGroup() string` + +GetSubGroup returns the SubGroup field if non-nil, zero value otherwise. + +### GetSubGroupOk + +`func (o *ReleaseResource) GetSubGroupOk() (*string, bool)` + +GetSubGroupOk returns a tuple with the SubGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubGroup + +`func (o *ReleaseResource) SetSubGroup(v string)` + +SetSubGroup sets SubGroup field to given value. + +### HasSubGroup + +`func (o *ReleaseResource) HasSubGroup() bool` + +HasSubGroup returns a boolean if a field has been set. + +### SetSubGroupNil + +`func (o *ReleaseResource) SetSubGroupNil(b bool)` + + SetSubGroupNil sets the value for SubGroup to be an explicit nil + +### UnsetSubGroup +`func (o *ReleaseResource) UnsetSubGroup()` + +UnsetSubGroup ensures that no value is present for SubGroup, not even an explicit nil +### GetReleaseHash + +`func (o *ReleaseResource) GetReleaseHash() string` + +GetReleaseHash returns the ReleaseHash field if non-nil, zero value otherwise. + +### GetReleaseHashOk + +`func (o *ReleaseResource) GetReleaseHashOk() (*string, bool)` + +GetReleaseHashOk returns a tuple with the ReleaseHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseHash + +`func (o *ReleaseResource) SetReleaseHash(v string)` + +SetReleaseHash sets ReleaseHash field to given value. + +### HasReleaseHash + +`func (o *ReleaseResource) HasReleaseHash() bool` + +HasReleaseHash returns a boolean if a field has been set. + +### SetReleaseHashNil + +`func (o *ReleaseResource) SetReleaseHashNil(b bool)` + + SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil + +### UnsetReleaseHash +`func (o *ReleaseResource) UnsetReleaseHash()` + +UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil +### GetTitle + +`func (o *ReleaseResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *ReleaseResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *ReleaseResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *ReleaseResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *ReleaseResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *ReleaseResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetDiscography + +`func (o *ReleaseResource) GetDiscography() bool` + +GetDiscography returns the Discography field if non-nil, zero value otherwise. + +### GetDiscographyOk + +`func (o *ReleaseResource) GetDiscographyOk() (*bool, bool)` + +GetDiscographyOk returns a tuple with the Discography field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDiscography + +`func (o *ReleaseResource) SetDiscography(v bool)` + +SetDiscography sets Discography field to given value. + +### HasDiscography + +`func (o *ReleaseResource) HasDiscography() bool` + +HasDiscography returns a boolean if a field has been set. + +### GetSceneSource + +`func (o *ReleaseResource) GetSceneSource() bool` + +GetSceneSource returns the SceneSource field if non-nil, zero value otherwise. + +### GetSceneSourceOk + +`func (o *ReleaseResource) GetSceneSourceOk() (*bool, bool)` + +GetSceneSourceOk returns a tuple with the SceneSource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSceneSource + +`func (o *ReleaseResource) SetSceneSource(v bool)` + +SetSceneSource sets SceneSource field to given value. + +### HasSceneSource + +`func (o *ReleaseResource) HasSceneSource() bool` + +HasSceneSource returns a boolean if a field has been set. + +### GetAirDate + +`func (o *ReleaseResource) GetAirDate() string` + +GetAirDate returns the AirDate field if non-nil, zero value otherwise. + +### GetAirDateOk + +`func (o *ReleaseResource) GetAirDateOk() (*string, bool)` + +GetAirDateOk returns a tuple with the AirDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAirDate + +`func (o *ReleaseResource) SetAirDate(v string)` + +SetAirDate sets AirDate field to given value. + +### HasAirDate + +`func (o *ReleaseResource) HasAirDate() bool` + +HasAirDate returns a boolean if a field has been set. + +### SetAirDateNil + +`func (o *ReleaseResource) SetAirDateNil(b bool)` + + SetAirDateNil sets the value for AirDate to be an explicit nil + +### UnsetAirDate +`func (o *ReleaseResource) UnsetAirDate()` + +UnsetAirDate ensures that no value is present for AirDate, not even an explicit nil +### GetArtistName + +`func (o *ReleaseResource) GetArtistName() string` + +GetArtistName returns the ArtistName field if non-nil, zero value otherwise. + +### GetArtistNameOk + +`func (o *ReleaseResource) GetArtistNameOk() (*string, bool)` + +GetArtistNameOk returns a tuple with the ArtistName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistName + +`func (o *ReleaseResource) SetArtistName(v string)` + +SetArtistName sets ArtistName field to given value. + +### HasArtistName + +`func (o *ReleaseResource) HasArtistName() bool` + +HasArtistName returns a boolean if a field has been set. + +### SetArtistNameNil + +`func (o *ReleaseResource) SetArtistNameNil(b bool)` + + SetArtistNameNil sets the value for ArtistName to be an explicit nil + +### UnsetArtistName +`func (o *ReleaseResource) UnsetArtistName()` + +UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +### GetAlbumTitle + +`func (o *ReleaseResource) GetAlbumTitle() string` + +GetAlbumTitle returns the AlbumTitle field if non-nil, zero value otherwise. + +### GetAlbumTitleOk + +`func (o *ReleaseResource) GetAlbumTitleOk() (*string, bool)` + +GetAlbumTitleOk returns a tuple with the AlbumTitle field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumTitle + +`func (o *ReleaseResource) SetAlbumTitle(v string)` + +SetAlbumTitle sets AlbumTitle field to given value. + +### HasAlbumTitle + +`func (o *ReleaseResource) HasAlbumTitle() bool` + +HasAlbumTitle returns a boolean if a field has been set. + +### SetAlbumTitleNil + +`func (o *ReleaseResource) SetAlbumTitleNil(b bool)` + + SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil + +### UnsetAlbumTitle +`func (o *ReleaseResource) UnsetAlbumTitle()` + +UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +### GetApproved + +`func (o *ReleaseResource) GetApproved() bool` + +GetApproved returns the Approved field if non-nil, zero value otherwise. + +### GetApprovedOk + +`func (o *ReleaseResource) GetApprovedOk() (*bool, bool)` + +GetApprovedOk returns a tuple with the Approved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApproved + +`func (o *ReleaseResource) SetApproved(v bool)` + +SetApproved sets Approved field to given value. + +### HasApproved + +`func (o *ReleaseResource) HasApproved() bool` + +HasApproved returns a boolean if a field has been set. + +### GetTemporarilyRejected + +`func (o *ReleaseResource) GetTemporarilyRejected() bool` + +GetTemporarilyRejected returns the TemporarilyRejected field if non-nil, zero value otherwise. + +### GetTemporarilyRejectedOk + +`func (o *ReleaseResource) GetTemporarilyRejectedOk() (*bool, bool)` + +GetTemporarilyRejectedOk returns a tuple with the TemporarilyRejected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTemporarilyRejected + +`func (o *ReleaseResource) SetTemporarilyRejected(v bool)` + +SetTemporarilyRejected sets TemporarilyRejected field to given value. + +### HasTemporarilyRejected + +`func (o *ReleaseResource) HasTemporarilyRejected() bool` + +HasTemporarilyRejected returns a boolean if a field has been set. + +### GetRejected + +`func (o *ReleaseResource) GetRejected() bool` + +GetRejected returns the Rejected field if non-nil, zero value otherwise. + +### GetRejectedOk + +`func (o *ReleaseResource) GetRejectedOk() (*bool, bool)` + +GetRejectedOk returns a tuple with the Rejected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRejected + +`func (o *ReleaseResource) SetRejected(v bool)` + +SetRejected sets Rejected field to given value. + +### HasRejected + +`func (o *ReleaseResource) HasRejected() bool` + +HasRejected returns a boolean if a field has been set. + +### GetRejections + +`func (o *ReleaseResource) GetRejections() []string` + +GetRejections returns the Rejections field if non-nil, zero value otherwise. + +### GetRejectionsOk + +`func (o *ReleaseResource) GetRejectionsOk() (*[]string, bool)` + +GetRejectionsOk returns a tuple with the Rejections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRejections + +`func (o *ReleaseResource) SetRejections(v []string)` + +SetRejections sets Rejections field to given value. + +### HasRejections + +`func (o *ReleaseResource) HasRejections() bool` + +HasRejections returns a boolean if a field has been set. + +### SetRejectionsNil + +`func (o *ReleaseResource) SetRejectionsNil(b bool)` + + SetRejectionsNil sets the value for Rejections to be an explicit nil + +### UnsetRejections +`func (o *ReleaseResource) UnsetRejections()` + +UnsetRejections ensures that no value is present for Rejections, not even an explicit nil +### GetPublishDate + +`func (o *ReleaseResource) GetPublishDate() time.Time` + +GetPublishDate returns the PublishDate field if non-nil, zero value otherwise. + +### GetPublishDateOk + +`func (o *ReleaseResource) GetPublishDateOk() (*time.Time, bool)` + +GetPublishDateOk returns a tuple with the PublishDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublishDate + +`func (o *ReleaseResource) SetPublishDate(v time.Time)` + +SetPublishDate sets PublishDate field to given value. + +### HasPublishDate + +`func (o *ReleaseResource) HasPublishDate() bool` + +HasPublishDate returns a boolean if a field has been set. + +### GetCommentUrl + +`func (o *ReleaseResource) GetCommentUrl() string` + +GetCommentUrl returns the CommentUrl field if non-nil, zero value otherwise. + +### GetCommentUrlOk + +`func (o *ReleaseResource) GetCommentUrlOk() (*string, bool)` + +GetCommentUrlOk returns a tuple with the CommentUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCommentUrl + +`func (o *ReleaseResource) SetCommentUrl(v string)` + +SetCommentUrl sets CommentUrl field to given value. + +### HasCommentUrl + +`func (o *ReleaseResource) HasCommentUrl() bool` + +HasCommentUrl returns a boolean if a field has been set. + +### SetCommentUrlNil + +`func (o *ReleaseResource) SetCommentUrlNil(b bool)` + + SetCommentUrlNil sets the value for CommentUrl to be an explicit nil + +### UnsetCommentUrl +`func (o *ReleaseResource) UnsetCommentUrl()` + +UnsetCommentUrl ensures that no value is present for CommentUrl, not even an explicit nil +### GetDownloadUrl + +`func (o *ReleaseResource) GetDownloadUrl() string` + +GetDownloadUrl returns the DownloadUrl field if non-nil, zero value otherwise. + +### GetDownloadUrlOk + +`func (o *ReleaseResource) GetDownloadUrlOk() (*string, bool)` + +GetDownloadUrlOk returns a tuple with the DownloadUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadUrl + +`func (o *ReleaseResource) SetDownloadUrl(v string)` + +SetDownloadUrl sets DownloadUrl field to given value. + +### HasDownloadUrl + +`func (o *ReleaseResource) HasDownloadUrl() bool` + +HasDownloadUrl returns a boolean if a field has been set. + +### SetDownloadUrlNil + +`func (o *ReleaseResource) SetDownloadUrlNil(b bool)` + + SetDownloadUrlNil sets the value for DownloadUrl to be an explicit nil + +### UnsetDownloadUrl +`func (o *ReleaseResource) UnsetDownloadUrl()` + +UnsetDownloadUrl ensures that no value is present for DownloadUrl, not even an explicit nil +### GetInfoUrl + +`func (o *ReleaseResource) GetInfoUrl() string` + +GetInfoUrl returns the InfoUrl field if non-nil, zero value otherwise. + +### GetInfoUrlOk + +`func (o *ReleaseResource) GetInfoUrlOk() (*string, bool)` + +GetInfoUrlOk returns a tuple with the InfoUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoUrl + +`func (o *ReleaseResource) SetInfoUrl(v string)` + +SetInfoUrl sets InfoUrl field to given value. + +### HasInfoUrl + +`func (o *ReleaseResource) HasInfoUrl() bool` + +HasInfoUrl returns a boolean if a field has been set. + +### SetInfoUrlNil + +`func (o *ReleaseResource) SetInfoUrlNil(b bool)` + + SetInfoUrlNil sets the value for InfoUrl to be an explicit nil + +### UnsetInfoUrl +`func (o *ReleaseResource) UnsetInfoUrl()` + +UnsetInfoUrl ensures that no value is present for InfoUrl, not even an explicit nil +### GetDownloadAllowed + +`func (o *ReleaseResource) GetDownloadAllowed() bool` + +GetDownloadAllowed returns the DownloadAllowed field if non-nil, zero value otherwise. + +### GetDownloadAllowedOk + +`func (o *ReleaseResource) GetDownloadAllowedOk() (*bool, bool)` + +GetDownloadAllowedOk returns a tuple with the DownloadAllowed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloadAllowed + +`func (o *ReleaseResource) SetDownloadAllowed(v bool)` + +SetDownloadAllowed sets DownloadAllowed field to given value. + +### HasDownloadAllowed + +`func (o *ReleaseResource) HasDownloadAllowed() bool` + +HasDownloadAllowed returns a boolean if a field has been set. + +### GetReleaseWeight + +`func (o *ReleaseResource) GetReleaseWeight() int32` + +GetReleaseWeight returns the ReleaseWeight field if non-nil, zero value otherwise. + +### GetReleaseWeightOk + +`func (o *ReleaseResource) GetReleaseWeightOk() (*int32, bool)` + +GetReleaseWeightOk returns a tuple with the ReleaseWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseWeight + +`func (o *ReleaseResource) SetReleaseWeight(v int32)` + +SetReleaseWeight sets ReleaseWeight field to given value. + +### HasReleaseWeight + +`func (o *ReleaseResource) HasReleaseWeight() bool` + +HasReleaseWeight returns a boolean if a field has been set. + +### GetPreferredWordScore + +`func (o *ReleaseResource) GetPreferredWordScore() int32` + +GetPreferredWordScore returns the PreferredWordScore field if non-nil, zero value otherwise. + +### GetPreferredWordScoreOk + +`func (o *ReleaseResource) GetPreferredWordScoreOk() (*int32, bool)` + +GetPreferredWordScoreOk returns a tuple with the PreferredWordScore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreferredWordScore + +`func (o *ReleaseResource) SetPreferredWordScore(v int32)` + +SetPreferredWordScore sets PreferredWordScore field to given value. + +### HasPreferredWordScore + +`func (o *ReleaseResource) HasPreferredWordScore() bool` + +HasPreferredWordScore returns a boolean if a field has been set. + +### GetMagnetUrl + +`func (o *ReleaseResource) GetMagnetUrl() string` + +GetMagnetUrl returns the MagnetUrl field if non-nil, zero value otherwise. + +### GetMagnetUrlOk + +`func (o *ReleaseResource) GetMagnetUrlOk() (*string, bool)` + +GetMagnetUrlOk returns a tuple with the MagnetUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMagnetUrl + +`func (o *ReleaseResource) SetMagnetUrl(v string)` + +SetMagnetUrl sets MagnetUrl field to given value. + +### HasMagnetUrl + +`func (o *ReleaseResource) HasMagnetUrl() bool` + +HasMagnetUrl returns a boolean if a field has been set. + +### SetMagnetUrlNil + +`func (o *ReleaseResource) SetMagnetUrlNil(b bool)` + + SetMagnetUrlNil sets the value for MagnetUrl to be an explicit nil + +### UnsetMagnetUrl +`func (o *ReleaseResource) UnsetMagnetUrl()` + +UnsetMagnetUrl ensures that no value is present for MagnetUrl, not even an explicit nil +### GetInfoHash + +`func (o *ReleaseResource) GetInfoHash() string` + +GetInfoHash returns the InfoHash field if non-nil, zero value otherwise. + +### GetInfoHashOk + +`func (o *ReleaseResource) GetInfoHashOk() (*string, bool)` + +GetInfoHashOk returns a tuple with the InfoHash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInfoHash + +`func (o *ReleaseResource) SetInfoHash(v string)` + +SetInfoHash sets InfoHash field to given value. + +### HasInfoHash + +`func (o *ReleaseResource) HasInfoHash() bool` + +HasInfoHash returns a boolean if a field has been set. + +### SetInfoHashNil + +`func (o *ReleaseResource) SetInfoHashNil(b bool)` + + SetInfoHashNil sets the value for InfoHash to be an explicit nil + +### UnsetInfoHash +`func (o *ReleaseResource) UnsetInfoHash()` + +UnsetInfoHash ensures that no value is present for InfoHash, not even an explicit nil +### GetSeeders + +`func (o *ReleaseResource) GetSeeders() int32` + +GetSeeders returns the Seeders field if non-nil, zero value otherwise. + +### GetSeedersOk + +`func (o *ReleaseResource) GetSeedersOk() (*int32, bool)` + +GetSeedersOk returns a tuple with the Seeders field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSeeders + +`func (o *ReleaseResource) SetSeeders(v int32)` + +SetSeeders sets Seeders field to given value. + +### HasSeeders + +`func (o *ReleaseResource) HasSeeders() bool` + +HasSeeders returns a boolean if a field has been set. + +### SetSeedersNil + +`func (o *ReleaseResource) SetSeedersNil(b bool)` + + SetSeedersNil sets the value for Seeders to be an explicit nil + +### UnsetSeeders +`func (o *ReleaseResource) UnsetSeeders()` + +UnsetSeeders ensures that no value is present for Seeders, not even an explicit nil +### GetLeechers + +`func (o *ReleaseResource) GetLeechers() int32` + +GetLeechers returns the Leechers field if non-nil, zero value otherwise. + +### GetLeechersOk + +`func (o *ReleaseResource) GetLeechersOk() (*int32, bool)` + +GetLeechersOk returns a tuple with the Leechers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLeechers + +`func (o *ReleaseResource) SetLeechers(v int32)` + +SetLeechers sets Leechers field to given value. + +### HasLeechers + +`func (o *ReleaseResource) HasLeechers() bool` + +HasLeechers returns a boolean if a field has been set. + +### SetLeechersNil + +`func (o *ReleaseResource) SetLeechersNil(b bool)` + + SetLeechersNil sets the value for Leechers to be an explicit nil + +### UnsetLeechers +`func (o *ReleaseResource) UnsetLeechers()` + +UnsetLeechers ensures that no value is present for Leechers, not even an explicit nil +### GetProtocol + +`func (o *ReleaseResource) GetProtocol() DownloadProtocol` + +GetProtocol returns the Protocol field if non-nil, zero value otherwise. + +### GetProtocolOk + +`func (o *ReleaseResource) GetProtocolOk() (*DownloadProtocol, bool)` + +GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProtocol + +`func (o *ReleaseResource) SetProtocol(v DownloadProtocol)` + +SetProtocol sets Protocol field to given value. + +### HasProtocol + +`func (o *ReleaseResource) HasProtocol() bool` + +HasProtocol returns a boolean if a field has been set. + +### GetArtistId + +`func (o *ReleaseResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *ReleaseResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *ReleaseResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *ReleaseResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### SetArtistIdNil + +`func (o *ReleaseResource) SetArtistIdNil(b bool)` + + SetArtistIdNil sets the value for ArtistId to be an explicit nil + +### UnsetArtistId +`func (o *ReleaseResource) UnsetArtistId()` + +UnsetArtistId ensures that no value is present for ArtistId, not even an explicit nil +### GetAlbumId + +`func (o *ReleaseResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *ReleaseResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *ReleaseResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *ReleaseResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### SetAlbumIdNil + +`func (o *ReleaseResource) SetAlbumIdNil(b bool)` + + SetAlbumIdNil sets the value for AlbumId to be an explicit nil + +### UnsetAlbumId +`func (o *ReleaseResource) UnsetAlbumId()` + +UnsetAlbumId ensures that no value is present for AlbumId, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/ReleaseStatus.md b/lidarr/docs/ReleaseStatus.md new file mode 100644 index 0000000..849d19c --- /dev/null +++ b/lidarr/docs/ReleaseStatus.md @@ -0,0 +1,92 @@ +# ReleaseStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewReleaseStatus + +`func NewReleaseStatus() *ReleaseStatus` + +NewReleaseStatus instantiates a new ReleaseStatus object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewReleaseStatusWithDefaults + +`func NewReleaseStatusWithDefaults() *ReleaseStatus` + +NewReleaseStatusWithDefaults instantiates a new ReleaseStatus object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *ReleaseStatus) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *ReleaseStatus) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *ReleaseStatus) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *ReleaseStatus) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *ReleaseStatus) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ReleaseStatus) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *ReleaseStatus) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ReleaseStatus) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *ReleaseStatus) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ReleaseStatus) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RemotePathMappingApi.md b/lidarr/docs/RemotePathMappingApi.md new file mode 100644 index 0000000..7ca38bf --- /dev/null +++ b/lidarr/docs/RemotePathMappingApi.md @@ -0,0 +1,340 @@ +# \RemotePathMappingApi + +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 + +> RemotePathMappingResource CreateApiV1Remotepathmapping(ctx).RemotePathMappingResource(remotePathMappingResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + remotePathMappingResource := *lidarrClient.NewRemotePathMappingResource() // RemotePathMappingResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Remotepathmapping`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.CreateApiV1Remotepathmapping`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1RemotepathmappingRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **remotePathMappingResource** | [**RemotePathMappingResource**](RemotePathMappingResource.md) | | + +### Return type + +[**RemotePathMappingResource**](RemotePathMappingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Remotepathmapping + +> DeleteApiV1Remotepathmapping(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1RemotepathmappingRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1RemotepathmappingById + +> RemotePathMappingResource GetApiV1RemotepathmappingById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1RemotepathmappingById`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.GetApiV1RemotepathmappingById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1RemotepathmappingByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**RemotePathMappingResource**](RemotePathMappingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Remotepathmapping + +> []RemotePathMappingResource ListApiV1Remotepathmapping(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Remotepathmapping`: []RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.ListApiV1Remotepathmapping`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1RemotepathmappingRequest struct via the builder pattern + + +### Return type + +[**[]RemotePathMappingResource**](RemotePathMappingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Remotepathmapping + +> RemotePathMappingResource UpdateApiV1Remotepathmapping(ctx, id).RemotePathMappingResource(remotePathMappingResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + remotePathMappingResource := *lidarrClient.NewRemotePathMappingResource() // RemotePathMappingResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Remotepathmapping`: RemotePathMappingResource + fmt.Fprintf(os.Stdout, "Response from `RemotePathMappingApi.UpdateApiV1Remotepathmapping`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1RemotepathmappingRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **remotePathMappingResource** | [**RemotePathMappingResource**](RemotePathMappingResource.md) | | + +### Return type + +[**RemotePathMappingResource**](RemotePathMappingResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/RemotePathMappingResource.md b/lidarr/docs/RemotePathMappingResource.md new file mode 100644 index 0000000..114d142 --- /dev/null +++ b/lidarr/docs/RemotePathMappingResource.md @@ -0,0 +1,164 @@ +# RemotePathMappingResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Host** | Pointer to **NullableString** | | [optional] +**RemotePath** | Pointer to **NullableString** | | [optional] +**LocalPath** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewRemotePathMappingResource + +`func NewRemotePathMappingResource() *RemotePathMappingResource` + +NewRemotePathMappingResource instantiates a new RemotePathMappingResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRemotePathMappingResourceWithDefaults + +`func NewRemotePathMappingResourceWithDefaults() *RemotePathMappingResource` + +NewRemotePathMappingResourceWithDefaults instantiates a new RemotePathMappingResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *RemotePathMappingResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RemotePathMappingResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *RemotePathMappingResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RemotePathMappingResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetHost + +`func (o *RemotePathMappingResource) GetHost() string` + +GetHost returns the Host field if non-nil, zero value otherwise. + +### GetHostOk + +`func (o *RemotePathMappingResource) GetHostOk() (*string, bool)` + +GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHost + +`func (o *RemotePathMappingResource) SetHost(v string)` + +SetHost sets Host field to given value. + +### HasHost + +`func (o *RemotePathMappingResource) HasHost() bool` + +HasHost returns a boolean if a field has been set. + +### SetHostNil + +`func (o *RemotePathMappingResource) SetHostNil(b bool)` + + SetHostNil sets the value for Host to be an explicit nil + +### UnsetHost +`func (o *RemotePathMappingResource) UnsetHost()` + +UnsetHost ensures that no value is present for Host, not even an explicit nil +### GetRemotePath + +`func (o *RemotePathMappingResource) GetRemotePath() string` + +GetRemotePath returns the RemotePath field if non-nil, zero value otherwise. + +### GetRemotePathOk + +`func (o *RemotePathMappingResource) GetRemotePathOk() (*string, bool)` + +GetRemotePathOk returns a tuple with the RemotePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemotePath + +`func (o *RemotePathMappingResource) SetRemotePath(v string)` + +SetRemotePath sets RemotePath field to given value. + +### HasRemotePath + +`func (o *RemotePathMappingResource) HasRemotePath() bool` + +HasRemotePath returns a boolean if a field has been set. + +### SetRemotePathNil + +`func (o *RemotePathMappingResource) SetRemotePathNil(b bool)` + + SetRemotePathNil sets the value for RemotePath to be an explicit nil + +### UnsetRemotePath +`func (o *RemotePathMappingResource) UnsetRemotePath()` + +UnsetRemotePath ensures that no value is present for RemotePath, not even an explicit nil +### GetLocalPath + +`func (o *RemotePathMappingResource) GetLocalPath() string` + +GetLocalPath returns the LocalPath field if non-nil, zero value otherwise. + +### GetLocalPathOk + +`func (o *RemotePathMappingResource) GetLocalPathOk() (*string, bool)` + +GetLocalPathOk returns a tuple with the LocalPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocalPath + +`func (o *RemotePathMappingResource) SetLocalPath(v string)` + +SetLocalPath sets LocalPath field to given value. + +### HasLocalPath + +`func (o *RemotePathMappingResource) HasLocalPath() bool` + +HasLocalPath returns a boolean if a field has been set. + +### SetLocalPathNil + +`func (o *RemotePathMappingResource) SetLocalPathNil(b bool)` + + SetLocalPathNil sets the value for LocalPath to be an explicit nil + +### UnsetLocalPath +`func (o *RemotePathMappingResource) UnsetLocalPath()` + +UnsetLocalPath ensures that no value is present for LocalPath, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RenameTrackApi.md b/lidarr/docs/RenameTrackApi.md new file mode 100644 index 0000000..a98628e --- /dev/null +++ b/lidarr/docs/RenameTrackApi.md @@ -0,0 +1,75 @@ +# \RenameTrackApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ListApiV1Rename**](RenameTrackApi.md#ListApiV1Rename) | **Get** /api/v1/rename | + + + +## ListApiV1Rename + +> []RenameTrackResource ListApiV1Rename(ctx).ArtistId(artistId).AlbumId(albumId).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumId := int32(56) // int32 | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.RenameTrackApi.ListApiV1Rename(context.Background()).ArtistId(artistId).AlbumId(albumId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `RenameTrackApi.ListApiV1Rename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Rename`: []RenameTrackResource + fmt.Fprintf(os.Stdout, "Response from `RenameTrackApi.ListApiV1Rename`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1RenameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumId** | **int32** | | + +### Return type + +[**[]RenameTrackResource**](RenameTrackResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/RenameTrackResource.md b/lidarr/docs/RenameTrackResource.md new file mode 100644 index 0000000..bf2461b --- /dev/null +++ b/lidarr/docs/RenameTrackResource.md @@ -0,0 +1,242 @@ +# RenameTrackResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**TrackNumbers** | Pointer to **[]int32** | | [optional] +**TrackFileId** | Pointer to **int32** | | [optional] +**ExistingPath** | Pointer to **NullableString** | | [optional] +**NewPath** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewRenameTrackResource + +`func NewRenameTrackResource() *RenameTrackResource` + +NewRenameTrackResource instantiates a new RenameTrackResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRenameTrackResourceWithDefaults + +`func NewRenameTrackResourceWithDefaults() *RenameTrackResource` + +NewRenameTrackResourceWithDefaults instantiates a new RenameTrackResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *RenameTrackResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RenameTrackResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *RenameTrackResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RenameTrackResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *RenameTrackResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *RenameTrackResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *RenameTrackResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *RenameTrackResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *RenameTrackResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *RenameTrackResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *RenameTrackResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *RenameTrackResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetTrackNumbers + +`func (o *RenameTrackResource) GetTrackNumbers() []int32` + +GetTrackNumbers returns the TrackNumbers field if non-nil, zero value otherwise. + +### GetTrackNumbersOk + +`func (o *RenameTrackResource) GetTrackNumbersOk() (*[]int32, bool)` + +GetTrackNumbersOk returns a tuple with the TrackNumbers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackNumbers + +`func (o *RenameTrackResource) SetTrackNumbers(v []int32)` + +SetTrackNumbers sets TrackNumbers field to given value. + +### HasTrackNumbers + +`func (o *RenameTrackResource) HasTrackNumbers() bool` + +HasTrackNumbers returns a boolean if a field has been set. + +### SetTrackNumbersNil + +`func (o *RenameTrackResource) SetTrackNumbersNil(b bool)` + + SetTrackNumbersNil sets the value for TrackNumbers to be an explicit nil + +### UnsetTrackNumbers +`func (o *RenameTrackResource) UnsetTrackNumbers()` + +UnsetTrackNumbers ensures that no value is present for TrackNumbers, not even an explicit nil +### GetTrackFileId + +`func (o *RenameTrackResource) GetTrackFileId() int32` + +GetTrackFileId returns the TrackFileId field if non-nil, zero value otherwise. + +### GetTrackFileIdOk + +`func (o *RenameTrackResource) GetTrackFileIdOk() (*int32, bool)` + +GetTrackFileIdOk returns a tuple with the TrackFileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileId + +`func (o *RenameTrackResource) SetTrackFileId(v int32)` + +SetTrackFileId sets TrackFileId field to given value. + +### HasTrackFileId + +`func (o *RenameTrackResource) HasTrackFileId() bool` + +HasTrackFileId returns a boolean if a field has been set. + +### GetExistingPath + +`func (o *RenameTrackResource) GetExistingPath() string` + +GetExistingPath returns the ExistingPath field if non-nil, zero value otherwise. + +### GetExistingPathOk + +`func (o *RenameTrackResource) GetExistingPathOk() (*string, bool)` + +GetExistingPathOk returns a tuple with the ExistingPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExistingPath + +`func (o *RenameTrackResource) SetExistingPath(v string)` + +SetExistingPath sets ExistingPath field to given value. + +### HasExistingPath + +`func (o *RenameTrackResource) HasExistingPath() bool` + +HasExistingPath returns a boolean if a field has been set. + +### SetExistingPathNil + +`func (o *RenameTrackResource) SetExistingPathNil(b bool)` + + SetExistingPathNil sets the value for ExistingPath to be an explicit nil + +### UnsetExistingPath +`func (o *RenameTrackResource) UnsetExistingPath()` + +UnsetExistingPath ensures that no value is present for ExistingPath, not even an explicit nil +### GetNewPath + +`func (o *RenameTrackResource) GetNewPath() string` + +GetNewPath returns the NewPath field if non-nil, zero value otherwise. + +### GetNewPathOk + +`func (o *RenameTrackResource) GetNewPathOk() (*string, bool)` + +GetNewPathOk returns a tuple with the NewPath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNewPath + +`func (o *RenameTrackResource) SetNewPath(v string)` + +SetNewPath sets NewPath field to given value. + +### HasNewPath + +`func (o *RenameTrackResource) HasNewPath() bool` + +HasNewPath returns a boolean if a field has been set. + +### SetNewPathNil + +`func (o *RenameTrackResource) SetNewPathNil(b bool)` + + SetNewPathNil sets the value for NewPath to be an explicit nil + +### UnsetNewPath +`func (o *RenameTrackResource) UnsetNewPath()` + +UnsetNewPath ensures that no value is present for NewPath, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RescanAfterRefreshType.md b/lidarr/docs/RescanAfterRefreshType.md new file mode 100644 index 0000000..e2fd0c6 --- /dev/null +++ b/lidarr/docs/RescanAfterRefreshType.md @@ -0,0 +1,15 @@ +# RescanAfterRefreshType + +## Enum + + +* `ALWAYS` (value: `"always"`) + +* `AFTER_MANUAL` (value: `"afterManual"`) + +* `NEVER` (value: `"never"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RetagTrackApi.md b/lidarr/docs/RetagTrackApi.md new file mode 100644 index 0000000..7a87198 --- /dev/null +++ b/lidarr/docs/RetagTrackApi.md @@ -0,0 +1,75 @@ +# \RetagTrackApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ListApiV1Retag**](RetagTrackApi.md#ListApiV1Retag) | **Get** /api/v1/retag | + + + +## ListApiV1Retag + +> []RetagTrackResource ListApiV1Retag(ctx).ArtistId(artistId).AlbumId(albumId).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumId := int32(56) // int32 | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.RetagTrackApi.ListApiV1Retag(context.Background()).ArtistId(artistId).AlbumId(albumId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `RetagTrackApi.ListApiV1Retag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Retag`: []RetagTrackResource + fmt.Fprintf(os.Stdout, "Response from `RetagTrackApi.ListApiV1Retag`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1RetagRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumId** | **int32** | | + +### Return type + +[**[]RetagTrackResource**](RetagTrackResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/RetagTrackResource.md b/lidarr/docs/RetagTrackResource.md new file mode 100644 index 0000000..001bde1 --- /dev/null +++ b/lidarr/docs/RetagTrackResource.md @@ -0,0 +1,242 @@ +# RetagTrackResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**TrackNumbers** | Pointer to **[]int32** | | [optional] +**TrackFileId** | Pointer to **int32** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Changes** | Pointer to [**[]TagDifference**](TagDifference.md) | | [optional] + +## Methods + +### NewRetagTrackResource + +`func NewRetagTrackResource() *RetagTrackResource` + +NewRetagTrackResource instantiates a new RetagTrackResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRetagTrackResourceWithDefaults + +`func NewRetagTrackResourceWithDefaults() *RetagTrackResource` + +NewRetagTrackResourceWithDefaults instantiates a new RetagTrackResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *RetagTrackResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RetagTrackResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *RetagTrackResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RetagTrackResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *RetagTrackResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *RetagTrackResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *RetagTrackResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *RetagTrackResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *RetagTrackResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *RetagTrackResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *RetagTrackResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *RetagTrackResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetTrackNumbers + +`func (o *RetagTrackResource) GetTrackNumbers() []int32` + +GetTrackNumbers returns the TrackNumbers field if non-nil, zero value otherwise. + +### GetTrackNumbersOk + +`func (o *RetagTrackResource) GetTrackNumbersOk() (*[]int32, bool)` + +GetTrackNumbersOk returns a tuple with the TrackNumbers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackNumbers + +`func (o *RetagTrackResource) SetTrackNumbers(v []int32)` + +SetTrackNumbers sets TrackNumbers field to given value. + +### HasTrackNumbers + +`func (o *RetagTrackResource) HasTrackNumbers() bool` + +HasTrackNumbers returns a boolean if a field has been set. + +### SetTrackNumbersNil + +`func (o *RetagTrackResource) SetTrackNumbersNil(b bool)` + + SetTrackNumbersNil sets the value for TrackNumbers to be an explicit nil + +### UnsetTrackNumbers +`func (o *RetagTrackResource) UnsetTrackNumbers()` + +UnsetTrackNumbers ensures that no value is present for TrackNumbers, not even an explicit nil +### GetTrackFileId + +`func (o *RetagTrackResource) GetTrackFileId() int32` + +GetTrackFileId returns the TrackFileId field if non-nil, zero value otherwise. + +### GetTrackFileIdOk + +`func (o *RetagTrackResource) GetTrackFileIdOk() (*int32, bool)` + +GetTrackFileIdOk returns a tuple with the TrackFileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileId + +`func (o *RetagTrackResource) SetTrackFileId(v int32)` + +SetTrackFileId sets TrackFileId field to given value. + +### HasTrackFileId + +`func (o *RetagTrackResource) HasTrackFileId() bool` + +HasTrackFileId returns a boolean if a field has been set. + +### GetPath + +`func (o *RetagTrackResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *RetagTrackResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *RetagTrackResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *RetagTrackResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *RetagTrackResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *RetagTrackResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetChanges + +`func (o *RetagTrackResource) GetChanges() []TagDifference` + +GetChanges returns the Changes field if non-nil, zero value otherwise. + +### GetChangesOk + +`func (o *RetagTrackResource) GetChangesOk() (*[]TagDifference, bool)` + +GetChangesOk returns a tuple with the Changes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChanges + +`func (o *RetagTrackResource) SetChanges(v []TagDifference)` + +SetChanges sets Changes field to given value. + +### HasChanges + +`func (o *RetagTrackResource) HasChanges() bool` + +HasChanges returns a boolean if a field has been set. + +### SetChangesNil + +`func (o *RetagTrackResource) SetChangesNil(b bool)` + + SetChangesNil sets the value for Changes to be an explicit nil + +### UnsetChanges +`func (o *RetagTrackResource) UnsetChanges()` + +UnsetChanges ensures that no value is present for Changes, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Revision.md b/lidarr/docs/Revision.md new file mode 100644 index 0000000..f847ca5 --- /dev/null +++ b/lidarr/docs/Revision.md @@ -0,0 +1,108 @@ +# Revision + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Version** | Pointer to **int32** | | [optional] +**Real** | Pointer to **int32** | | [optional] +**IsRepack** | Pointer to **bool** | | [optional] + +## Methods + +### NewRevision + +`func NewRevision() *Revision` + +NewRevision instantiates a new Revision object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRevisionWithDefaults + +`func NewRevisionWithDefaults() *Revision` + +NewRevisionWithDefaults instantiates a new Revision object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetVersion + +`func (o *Revision) GetVersion() int32` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *Revision) GetVersionOk() (*int32, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *Revision) SetVersion(v int32)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *Revision) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetReal + +`func (o *Revision) GetReal() int32` + +GetReal returns the Real field if non-nil, zero value otherwise. + +### GetRealOk + +`func (o *Revision) GetRealOk() (*int32, bool)` + +GetRealOk returns a tuple with the Real field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReal + +`func (o *Revision) SetReal(v int32)` + +SetReal sets Real field to given value. + +### HasReal + +`func (o *Revision) HasReal() bool` + +HasReal returns a boolean if a field has been set. + +### GetIsRepack + +`func (o *Revision) GetIsRepack() bool` + +GetIsRepack returns the IsRepack field if non-nil, zero value otherwise. + +### GetIsRepackOk + +`func (o *Revision) GetIsRepackOk() (*bool, bool)` + +GetIsRepackOk returns a tuple with the IsRepack field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsRepack + +`func (o *Revision) SetIsRepack(v bool)` + +SetIsRepack sets IsRepack field to given value. + +### HasIsRepack + +`func (o *Revision) HasIsRepack() bool` + +HasIsRepack returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/RootFolderApi.md b/lidarr/docs/RootFolderApi.md new file mode 100644 index 0000000..3a6bf54 --- /dev/null +++ b/lidarr/docs/RootFolderApi.md @@ -0,0 +1,340 @@ +# \RootFolderApi + +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 + +> RootFolderResource CreateApiV1Rootfolder(ctx).RootFolderResource(rootFolderResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + rootFolderResource := *lidarrClient.NewRootFolderResource() // RootFolderResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Rootfolder`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.CreateApiV1Rootfolder`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1RootfolderRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **rootFolderResource** | [**RootFolderResource**](RootFolderResource.md) | | + +### Return type + +[**RootFolderResource**](RootFolderResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Rootfolder + +> DeleteApiV1Rootfolder(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1RootfolderRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1RootfolderById + +> RootFolderResource GetApiV1RootfolderById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1RootfolderById`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.GetApiV1RootfolderById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1RootfolderByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**RootFolderResource**](RootFolderResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Rootfolder + +> []RootFolderResource ListApiV1Rootfolder(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Rootfolder`: []RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.ListApiV1Rootfolder`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1RootfolderRequest struct via the builder pattern + + +### Return type + +[**[]RootFolderResource**](RootFolderResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Rootfolder + +> RootFolderResource UpdateApiV1Rootfolder(ctx, id).RootFolderResource(rootFolderResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + rootFolderResource := *lidarrClient.NewRootFolderResource() // RootFolderResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Rootfolder`: RootFolderResource + fmt.Fprintf(os.Stdout, "Response from `RootFolderApi.UpdateApiV1Rootfolder`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1RootfolderRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **rootFolderResource** | [**RootFolderResource**](RootFolderResource.md) | | + +### Return type + +[**RootFolderResource**](RootFolderResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/RootFolderResource.md b/lidarr/docs/RootFolderResource.md new file mode 100644 index 0000000..b7b5741 --- /dev/null +++ b/lidarr/docs/RootFolderResource.md @@ -0,0 +1,366 @@ +# RootFolderResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**DefaultMetadataProfileId** | Pointer to **int32** | | [optional] +**DefaultQualityProfileId** | Pointer to **int32** | | [optional] +**DefaultMonitorOption** | Pointer to [**MonitorTypes**](MonitorTypes.md) | | [optional] +**DefaultNewItemMonitorOption** | Pointer to [**NewItemMonitorTypes**](NewItemMonitorTypes.md) | | [optional] +**DefaultTags** | Pointer to **[]int32** | | [optional] +**Accessible** | Pointer to **bool** | | [optional] +**FreeSpace** | Pointer to **NullableInt64** | | [optional] +**TotalSpace** | Pointer to **NullableInt64** | | [optional] + +## Methods + +### NewRootFolderResource + +`func NewRootFolderResource() *RootFolderResource` + +NewRootFolderResource instantiates a new RootFolderResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewRootFolderResourceWithDefaults + +`func NewRootFolderResourceWithDefaults() *RootFolderResource` + +NewRootFolderResourceWithDefaults instantiates a new RootFolderResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *RootFolderResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *RootFolderResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *RootFolderResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *RootFolderResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *RootFolderResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RootFolderResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *RootFolderResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *RootFolderResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *RootFolderResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *RootFolderResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetPath + +`func (o *RootFolderResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *RootFolderResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *RootFolderResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *RootFolderResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *RootFolderResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *RootFolderResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetDefaultMetadataProfileId + +`func (o *RootFolderResource) GetDefaultMetadataProfileId() int32` + +GetDefaultMetadataProfileId returns the DefaultMetadataProfileId field if non-nil, zero value otherwise. + +### GetDefaultMetadataProfileIdOk + +`func (o *RootFolderResource) GetDefaultMetadataProfileIdOk() (*int32, bool)` + +GetDefaultMetadataProfileIdOk returns a tuple with the DefaultMetadataProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultMetadataProfileId + +`func (o *RootFolderResource) SetDefaultMetadataProfileId(v int32)` + +SetDefaultMetadataProfileId sets DefaultMetadataProfileId field to given value. + +### HasDefaultMetadataProfileId + +`func (o *RootFolderResource) HasDefaultMetadataProfileId() bool` + +HasDefaultMetadataProfileId returns a boolean if a field has been set. + +### GetDefaultQualityProfileId + +`func (o *RootFolderResource) GetDefaultQualityProfileId() int32` + +GetDefaultQualityProfileId returns the DefaultQualityProfileId field if non-nil, zero value otherwise. + +### GetDefaultQualityProfileIdOk + +`func (o *RootFolderResource) GetDefaultQualityProfileIdOk() (*int32, bool)` + +GetDefaultQualityProfileIdOk returns a tuple with the DefaultQualityProfileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultQualityProfileId + +`func (o *RootFolderResource) SetDefaultQualityProfileId(v int32)` + +SetDefaultQualityProfileId sets DefaultQualityProfileId field to given value. + +### HasDefaultQualityProfileId + +`func (o *RootFolderResource) HasDefaultQualityProfileId() bool` + +HasDefaultQualityProfileId returns a boolean if a field has been set. + +### GetDefaultMonitorOption + +`func (o *RootFolderResource) GetDefaultMonitorOption() MonitorTypes` + +GetDefaultMonitorOption returns the DefaultMonitorOption field if non-nil, zero value otherwise. + +### GetDefaultMonitorOptionOk + +`func (o *RootFolderResource) GetDefaultMonitorOptionOk() (*MonitorTypes, bool)` + +GetDefaultMonitorOptionOk returns a tuple with the DefaultMonitorOption field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultMonitorOption + +`func (o *RootFolderResource) SetDefaultMonitorOption(v MonitorTypes)` + +SetDefaultMonitorOption sets DefaultMonitorOption field to given value. + +### HasDefaultMonitorOption + +`func (o *RootFolderResource) HasDefaultMonitorOption() bool` + +HasDefaultMonitorOption returns a boolean if a field has been set. + +### GetDefaultNewItemMonitorOption + +`func (o *RootFolderResource) GetDefaultNewItemMonitorOption() NewItemMonitorTypes` + +GetDefaultNewItemMonitorOption returns the DefaultNewItemMonitorOption field if non-nil, zero value otherwise. + +### GetDefaultNewItemMonitorOptionOk + +`func (o *RootFolderResource) GetDefaultNewItemMonitorOptionOk() (*NewItemMonitorTypes, bool)` + +GetDefaultNewItemMonitorOptionOk returns a tuple with the DefaultNewItemMonitorOption field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultNewItemMonitorOption + +`func (o *RootFolderResource) SetDefaultNewItemMonitorOption(v NewItemMonitorTypes)` + +SetDefaultNewItemMonitorOption sets DefaultNewItemMonitorOption field to given value. + +### HasDefaultNewItemMonitorOption + +`func (o *RootFolderResource) HasDefaultNewItemMonitorOption() bool` + +HasDefaultNewItemMonitorOption returns a boolean if a field has been set. + +### GetDefaultTags + +`func (o *RootFolderResource) GetDefaultTags() []int32` + +GetDefaultTags returns the DefaultTags field if non-nil, zero value otherwise. + +### GetDefaultTagsOk + +`func (o *RootFolderResource) GetDefaultTagsOk() (*[]int32, bool)` + +GetDefaultTagsOk returns a tuple with the DefaultTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefaultTags + +`func (o *RootFolderResource) SetDefaultTags(v []int32)` + +SetDefaultTags sets DefaultTags field to given value. + +### HasDefaultTags + +`func (o *RootFolderResource) HasDefaultTags() bool` + +HasDefaultTags returns a boolean if a field has been set. + +### SetDefaultTagsNil + +`func (o *RootFolderResource) SetDefaultTagsNil(b bool)` + + SetDefaultTagsNil sets the value for DefaultTags to be an explicit nil + +### UnsetDefaultTags +`func (o *RootFolderResource) UnsetDefaultTags()` + +UnsetDefaultTags ensures that no value is present for DefaultTags, not even an explicit nil +### GetAccessible + +`func (o *RootFolderResource) GetAccessible() bool` + +GetAccessible returns the Accessible field if non-nil, zero value otherwise. + +### GetAccessibleOk + +`func (o *RootFolderResource) GetAccessibleOk() (*bool, bool)` + +GetAccessibleOk returns a tuple with the Accessible field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccessible + +`func (o *RootFolderResource) SetAccessible(v bool)` + +SetAccessible sets Accessible field to given value. + +### HasAccessible + +`func (o *RootFolderResource) HasAccessible() bool` + +HasAccessible returns a boolean if a field has been set. + +### GetFreeSpace + +`func (o *RootFolderResource) GetFreeSpace() int64` + +GetFreeSpace returns the FreeSpace field if non-nil, zero value otherwise. + +### GetFreeSpaceOk + +`func (o *RootFolderResource) GetFreeSpaceOk() (*int64, bool)` + +GetFreeSpaceOk returns a tuple with the FreeSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreeSpace + +`func (o *RootFolderResource) SetFreeSpace(v int64)` + +SetFreeSpace sets FreeSpace field to given value. + +### HasFreeSpace + +`func (o *RootFolderResource) HasFreeSpace() bool` + +HasFreeSpace returns a boolean if a field has been set. + +### SetFreeSpaceNil + +`func (o *RootFolderResource) SetFreeSpaceNil(b bool)` + + SetFreeSpaceNil sets the value for FreeSpace to be an explicit nil + +### UnsetFreeSpace +`func (o *RootFolderResource) UnsetFreeSpace()` + +UnsetFreeSpace ensures that no value is present for FreeSpace, not even an explicit nil +### GetTotalSpace + +`func (o *RootFolderResource) GetTotalSpace() int64` + +GetTotalSpace returns the TotalSpace field if non-nil, zero value otherwise. + +### GetTotalSpaceOk + +`func (o *RootFolderResource) GetTotalSpaceOk() (*int64, bool)` + +GetTotalSpaceOk returns a tuple with the TotalSpace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalSpace + +`func (o *RootFolderResource) SetTotalSpace(v int64)` + +SetTotalSpace sets TotalSpace field to given value. + +### HasTotalSpace + +`func (o *RootFolderResource) HasTotalSpace() bool` + +HasTotalSpace returns a boolean if a field has been set. + +### SetTotalSpaceNil + +`func (o *RootFolderResource) SetTotalSpaceNil(b bool)` + + SetTotalSpaceNil sets the value for TotalSpace to be an explicit nil + +### UnsetTotalSpace +`func (o *RootFolderResource) UnsetTotalSpace()` + +UnsetTotalSpace ensures that no value is present for TotalSpace, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/SearchApi.md b/lidarr/docs/SearchApi.md new file mode 100644 index 0000000..116d251 --- /dev/null +++ b/lidarr/docs/SearchApi.md @@ -0,0 +1,71 @@ +# \SearchApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1Search**](SearchApi.md#GetApiV1Search) | **Get** /api/v1/search | + + + +## GetApiV1Search + +> GetApiV1Search(ctx).Term(term).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + term := "term_example" // string | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SearchApi.GetApiV1Search(context.Background()).Term(term).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SearchApi.GetApiV1Search``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1SearchRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **term** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/SecondaryAlbumType.md b/lidarr/docs/SecondaryAlbumType.md new file mode 100644 index 0000000..4140345 --- /dev/null +++ b/lidarr/docs/SecondaryAlbumType.md @@ -0,0 +1,92 @@ +# SecondaryAlbumType + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewSecondaryAlbumType + +`func NewSecondaryAlbumType() *SecondaryAlbumType` + +NewSecondaryAlbumType instantiates a new SecondaryAlbumType object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSecondaryAlbumTypeWithDefaults + +`func NewSecondaryAlbumTypeWithDefaults() *SecondaryAlbumType` + +NewSecondaryAlbumTypeWithDefaults instantiates a new SecondaryAlbumType object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *SecondaryAlbumType) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SecondaryAlbumType) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *SecondaryAlbumType) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SecondaryAlbumType) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *SecondaryAlbumType) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SecondaryAlbumType) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SecondaryAlbumType) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *SecondaryAlbumType) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *SecondaryAlbumType) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *SecondaryAlbumType) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/SelectOption.md b/lidarr/docs/SelectOption.md new file mode 100644 index 0000000..4e30aa9 --- /dev/null +++ b/lidarr/docs/SelectOption.md @@ -0,0 +1,154 @@ +# SelectOption + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**Order** | Pointer to **int32** | | [optional] +**Hint** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewSelectOption + +`func NewSelectOption() *SelectOption` + +NewSelectOption instantiates a new SelectOption object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSelectOptionWithDefaults + +`func NewSelectOptionWithDefaults() *SelectOption` + +NewSelectOptionWithDefaults instantiates a new SelectOption object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *SelectOption) GetValue() int32` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *SelectOption) GetValueOk() (*int32, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *SelectOption) SetValue(v int32)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *SelectOption) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetName + +`func (o *SelectOption) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SelectOption) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SelectOption) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *SelectOption) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *SelectOption) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *SelectOption) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetOrder + +`func (o *SelectOption) GetOrder() int32` + +GetOrder returns the Order field if non-nil, zero value otherwise. + +### GetOrderOk + +`func (o *SelectOption) GetOrderOk() (*int32, bool)` + +GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrder + +`func (o *SelectOption) SetOrder(v int32)` + +SetOrder sets Order field to given value. + +### HasOrder + +`func (o *SelectOption) HasOrder() bool` + +HasOrder returns a boolean if a field has been set. + +### GetHint + +`func (o *SelectOption) GetHint() string` + +GetHint returns the Hint field if non-nil, zero value otherwise. + +### GetHintOk + +`func (o *SelectOption) GetHintOk() (*string, bool)` + +GetHintOk returns a tuple with the Hint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHint + +`func (o *SelectOption) SetHint(v string)` + +SetHint sets Hint field to given value. + +### HasHint + +`func (o *SelectOption) HasHint() bool` + +HasHint returns a boolean if a field has been set. + +### SetHintNil + +`func (o *SelectOption) SetHintNil(b bool)` + + SetHintNil sets the value for Hint to be an explicit nil + +### UnsetHint +`func (o *SelectOption) UnsetHint()` + +UnsetHint ensures that no value is present for Hint, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/SortDirection.md b/lidarr/docs/SortDirection.md new file mode 100644 index 0000000..bda06c7 --- /dev/null +++ b/lidarr/docs/SortDirection.md @@ -0,0 +1,15 @@ +# SortDirection + +## Enum + + +* `DEFAULT` (value: `"default"`) + +* `ASCENDING` (value: `"ascending"`) + +* `DESCENDING` (value: `"descending"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/StaticResourceApi.md b/lidarr/docs/StaticResourceApi.md new file mode 100644 index 0000000..9bd58e0 --- /dev/null +++ b/lidarr/docs/StaticResourceApi.md @@ -0,0 +1,267 @@ +# \StaticResourceApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**Get**](StaticResourceApi.md#Get) | **Get** / | +[**GetByPath**](StaticResourceApi.md#GetByPath) | **Get** /{path} | +[**GetContentByPath**](StaticResourceApi.md#GetContentByPath) | **Get** /content/{path} | +[**GetLogin**](StaticResourceApi.md#GetLogin) | **Get** /login | + + + +## Get + +> Get(ctx, path).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.StaticResourceApi.Get(context.Background(), path).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.Get``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**path** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetByPath + +> GetByPath(ctx, path).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.StaticResourceApi.GetByPath(context.Background(), path).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetByPath``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**path** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetByPathRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetContentByPath + +> GetContentByPath(ctx, path).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + path := "path_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.StaticResourceApi.GetContentByPath(context.Background(), path).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetContentByPath``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**path** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetContentByPathRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetLogin + +> GetLogin(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.StaticResourceApi.GetLogin(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `StaticResourceApi.GetLogin``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetLoginRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/StringInt32KeyValuePair.md b/lidarr/docs/StringInt32KeyValuePair.md new file mode 100644 index 0000000..f378d63 --- /dev/null +++ b/lidarr/docs/StringInt32KeyValuePair.md @@ -0,0 +1,92 @@ +# StringInt32KeyValuePair + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Key** | Pointer to **NullableString** | | [optional] +**Value** | Pointer to **int32** | | [optional] + +## Methods + +### NewStringInt32KeyValuePair + +`func NewStringInt32KeyValuePair() *StringInt32KeyValuePair` + +NewStringInt32KeyValuePair instantiates a new StringInt32KeyValuePair object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewStringInt32KeyValuePairWithDefaults + +`func NewStringInt32KeyValuePairWithDefaults() *StringInt32KeyValuePair` + +NewStringInt32KeyValuePairWithDefaults instantiates a new StringInt32KeyValuePair object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetKey + +`func (o *StringInt32KeyValuePair) GetKey() string` + +GetKey returns the Key field if non-nil, zero value otherwise. + +### GetKeyOk + +`func (o *StringInt32KeyValuePair) GetKeyOk() (*string, bool)` + +GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetKey + +`func (o *StringInt32KeyValuePair) SetKey(v string)` + +SetKey sets Key field to given value. + +### HasKey + +`func (o *StringInt32KeyValuePair) HasKey() bool` + +HasKey returns a boolean if a field has been set. + +### SetKeyNil + +`func (o *StringInt32KeyValuePair) SetKeyNil(b bool)` + + SetKeyNil sets the value for Key to be an explicit nil + +### UnsetKey +`func (o *StringInt32KeyValuePair) UnsetKey()` + +UnsetKey ensures that no value is present for Key, not even an explicit nil +### GetValue + +`func (o *StringInt32KeyValuePair) GetValue() int32` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *StringInt32KeyValuePair) GetValueOk() (*int32, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *StringInt32KeyValuePair) SetValue(v int32)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *StringInt32KeyValuePair) HasValue() bool` + +HasValue returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/SystemApi.md b/lidarr/docs/SystemApi.md new file mode 100644 index 0000000..13a445f --- /dev/null +++ b/lidarr/docs/SystemApi.md @@ -0,0 +1,298 @@ +# \SystemApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1SystemRestart**](SystemApi.md#CreateApiV1SystemRestart) | **Post** /api/v1/system/restart | +[**CreateApiV1SystemShutdown**](SystemApi.md#CreateApiV1SystemShutdown) | **Post** /api/v1/system/shutdown | +[**GetApiV1SystemRoutes**](SystemApi.md#GetApiV1SystemRoutes) | **Get** /api/v1/system/routes | +[**GetApiV1SystemRoutesDuplicate**](SystemApi.md#GetApiV1SystemRoutesDuplicate) | **Get** /api/v1/system/routes/duplicate | +[**GetApiV1SystemStatus**](SystemApi.md#GetApiV1SystemStatus) | **Get** /api/v1/system/status | + + + +## CreateApiV1SystemRestart + +> CreateApiV1SystemRestart(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SystemApi.CreateApiV1SystemRestart(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.CreateApiV1SystemRestart``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1SystemRestartRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## CreateApiV1SystemShutdown + +> CreateApiV1SystemShutdown(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SystemApi.CreateApiV1SystemShutdown(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.CreateApiV1SystemShutdown``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1SystemShutdownRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1SystemRoutes + +> GetApiV1SystemRoutes(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SystemApi.GetApiV1SystemRoutes(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetApiV1SystemRoutes``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1SystemRoutesRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1SystemRoutesDuplicate + +> GetApiV1SystemRoutesDuplicate(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SystemApi.GetApiV1SystemRoutesDuplicate(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetApiV1SystemRoutesDuplicate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1SystemRoutesDuplicateRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1SystemStatus + +> GetApiV1SystemStatus(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.SystemApi.GetApiV1SystemStatus(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `SystemApi.GetApiV1SystemStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1SystemStatusRequest struct via the builder pattern + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TagApi.md b/lidarr/docs/TagApi.md new file mode 100644 index 0000000..463da65 --- /dev/null +++ b/lidarr/docs/TagApi.md @@ -0,0 +1,340 @@ +# \TagApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**CreateApiV1Tag**](TagApi.md#CreateApiV1Tag) | **Post** /api/v1/tag | +[**DeleteApiV1Tag**](TagApi.md#DeleteApiV1Tag) | **Delete** /api/v1/tag/{id} | +[**GetApiV1TagById**](TagApi.md#GetApiV1TagById) | **Get** /api/v1/tag/{id} | +[**ListApiV1Tag**](TagApi.md#ListApiV1Tag) | **Get** /api/v1/tag | +[**UpdateApiV1Tag**](TagApi.md#UpdateApiV1Tag) | **Put** /api/v1/tag/{id} | + + + +## CreateApiV1Tag + +> TagResource CreateApiV1Tag(ctx).TagResource(tagResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + tagResource := *lidarrClient.NewTagResource() // TagResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagApi.CreateApiV1Tag(context.Background()).TagResource(tagResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.CreateApiV1Tag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `CreateApiV1Tag`: TagResource + fmt.Fprintf(os.Stdout, "Response from `TagApi.CreateApiV1Tag`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiCreateApiV1TagRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **tagResource** | [**TagResource**](TagResource.md) | | + +### Return type + +[**TagResource**](TagResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1Tag + +> DeleteApiV1Tag(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagApi.DeleteApiV1Tag(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.DeleteApiV1Tag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1TagRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1TagById + +> TagResource GetApiV1TagById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagApi.GetApiV1TagById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.GetApiV1TagById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1TagById`: TagResource + fmt.Fprintf(os.Stdout, "Response from `TagApi.GetApiV1TagById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1TagByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**TagResource**](TagResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Tag + +> []TagResource ListApiV1Tag(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagApi.ListApiV1Tag(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.ListApiV1Tag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Tag`: []TagResource + fmt.Fprintf(os.Stdout, "Response from `TagApi.ListApiV1Tag`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1TagRequest struct via the builder pattern + + +### Return type + +[**[]TagResource**](TagResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Tag + +> TagResource UpdateApiV1Tag(ctx, id).TagResource(tagResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + tagResource := *lidarrClient.NewTagResource() // TagResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagApi.UpdateApiV1Tag(context.Background(), id).TagResource(tagResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagApi.UpdateApiV1Tag``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Tag`: TagResource + fmt.Fprintf(os.Stdout, "Response from `TagApi.UpdateApiV1Tag`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1TagRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **tagResource** | [**TagResource**](TagResource.md) | | + +### Return type + +[**TagResource**](TagResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TagDetailsApi.md b/lidarr/docs/TagDetailsApi.md new file mode 100644 index 0000000..293d8ed --- /dev/null +++ b/lidarr/docs/TagDetailsApi.md @@ -0,0 +1,137 @@ +# \TagDetailsApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1TagDetailById**](TagDetailsApi.md#GetApiV1TagDetailById) | **Get** /api/v1/tag/detail/{id} | +[**ListApiV1TagDetail**](TagDetailsApi.md#ListApiV1TagDetail) | **Get** /api/v1/tag/detail | + + + +## GetApiV1TagDetailById + +> TagDetailsResource GetApiV1TagDetailById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagDetailsApi.GetApiV1TagDetailById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsApi.GetApiV1TagDetailById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1TagDetailById`: TagDetailsResource + fmt.Fprintf(os.Stdout, "Response from `TagDetailsApi.GetApiV1TagDetailById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1TagDetailByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**TagDetailsResource**](TagDetailsResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1TagDetail + +> []TagDetailsResource ListApiV1TagDetail(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TagDetailsApi.ListApiV1TagDetail(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TagDetailsApi.ListApiV1TagDetail``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1TagDetail`: []TagDetailsResource + fmt.Fprintf(os.Stdout, "Response from `TagDetailsApi.ListApiV1TagDetail`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1TagDetailRequest struct via the builder pattern + + +### Return type + +[**[]TagDetailsResource**](TagDetailsResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TagDetailsResource.md b/lidarr/docs/TagDetailsResource.md new file mode 100644 index 0000000..a331223 --- /dev/null +++ b/lidarr/docs/TagDetailsResource.md @@ -0,0 +1,308 @@ +# TagDetailsResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] +**DelayProfileIds** | Pointer to **[]int32** | | [optional] +**ImportListIds** | Pointer to **[]int32** | | [optional] +**NotificationIds** | Pointer to **[]int32** | | [optional] +**RestrictionIds** | Pointer to **[]int32** | | [optional] +**IndexerIds** | Pointer to **[]int32** | | [optional] +**ArtistIds** | Pointer to **[]int32** | | [optional] + +## Methods + +### NewTagDetailsResource + +`func NewTagDetailsResource() *TagDetailsResource` + +NewTagDetailsResource instantiates a new TagDetailsResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTagDetailsResourceWithDefaults + +`func NewTagDetailsResourceWithDefaults() *TagDetailsResource` + +NewTagDetailsResourceWithDefaults instantiates a new TagDetailsResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TagDetailsResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TagDetailsResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TagDetailsResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TagDetailsResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetLabel + +`func (o *TagDetailsResource) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *TagDetailsResource) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *TagDetailsResource) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *TagDetailsResource) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *TagDetailsResource) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *TagDetailsResource) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil +### GetDelayProfileIds + +`func (o *TagDetailsResource) GetDelayProfileIds() []int32` + +GetDelayProfileIds returns the DelayProfileIds field if non-nil, zero value otherwise. + +### GetDelayProfileIdsOk + +`func (o *TagDetailsResource) GetDelayProfileIdsOk() (*[]int32, bool)` + +GetDelayProfileIdsOk returns a tuple with the DelayProfileIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDelayProfileIds + +`func (o *TagDetailsResource) SetDelayProfileIds(v []int32)` + +SetDelayProfileIds sets DelayProfileIds field to given value. + +### HasDelayProfileIds + +`func (o *TagDetailsResource) HasDelayProfileIds() bool` + +HasDelayProfileIds returns a boolean if a field has been set. + +### SetDelayProfileIdsNil + +`func (o *TagDetailsResource) SetDelayProfileIdsNil(b bool)` + + SetDelayProfileIdsNil sets the value for DelayProfileIds to be an explicit nil + +### UnsetDelayProfileIds +`func (o *TagDetailsResource) UnsetDelayProfileIds()` + +UnsetDelayProfileIds ensures that no value is present for DelayProfileIds, not even an explicit nil +### GetImportListIds + +`func (o *TagDetailsResource) GetImportListIds() []int32` + +GetImportListIds returns the ImportListIds field if non-nil, zero value otherwise. + +### GetImportListIdsOk + +`func (o *TagDetailsResource) GetImportListIdsOk() (*[]int32, bool)` + +GetImportListIdsOk returns a tuple with the ImportListIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetImportListIds + +`func (o *TagDetailsResource) SetImportListIds(v []int32)` + +SetImportListIds sets ImportListIds field to given value. + +### HasImportListIds + +`func (o *TagDetailsResource) HasImportListIds() bool` + +HasImportListIds returns a boolean if a field has been set. + +### SetImportListIdsNil + +`func (o *TagDetailsResource) SetImportListIdsNil(b bool)` + + SetImportListIdsNil sets the value for ImportListIds to be an explicit nil + +### UnsetImportListIds +`func (o *TagDetailsResource) UnsetImportListIds()` + +UnsetImportListIds ensures that no value is present for ImportListIds, not even an explicit nil +### GetNotificationIds + +`func (o *TagDetailsResource) GetNotificationIds() []int32` + +GetNotificationIds returns the NotificationIds field if non-nil, zero value otherwise. + +### GetNotificationIdsOk + +`func (o *TagDetailsResource) GetNotificationIdsOk() (*[]int32, bool)` + +GetNotificationIdsOk returns a tuple with the NotificationIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotificationIds + +`func (o *TagDetailsResource) SetNotificationIds(v []int32)` + +SetNotificationIds sets NotificationIds field to given value. + +### HasNotificationIds + +`func (o *TagDetailsResource) HasNotificationIds() bool` + +HasNotificationIds returns a boolean if a field has been set. + +### SetNotificationIdsNil + +`func (o *TagDetailsResource) SetNotificationIdsNil(b bool)` + + SetNotificationIdsNil sets the value for NotificationIds to be an explicit nil + +### UnsetNotificationIds +`func (o *TagDetailsResource) UnsetNotificationIds()` + +UnsetNotificationIds ensures that no value is present for NotificationIds, not even an explicit nil +### GetRestrictionIds + +`func (o *TagDetailsResource) GetRestrictionIds() []int32` + +GetRestrictionIds returns the RestrictionIds field if non-nil, zero value otherwise. + +### GetRestrictionIdsOk + +`func (o *TagDetailsResource) GetRestrictionIdsOk() (*[]int32, bool)` + +GetRestrictionIdsOk returns a tuple with the RestrictionIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRestrictionIds + +`func (o *TagDetailsResource) SetRestrictionIds(v []int32)` + +SetRestrictionIds sets RestrictionIds field to given value. + +### HasRestrictionIds + +`func (o *TagDetailsResource) HasRestrictionIds() bool` + +HasRestrictionIds returns a boolean if a field has been set. + +### SetRestrictionIdsNil + +`func (o *TagDetailsResource) SetRestrictionIdsNil(b bool)` + + SetRestrictionIdsNil sets the value for RestrictionIds to be an explicit nil + +### UnsetRestrictionIds +`func (o *TagDetailsResource) UnsetRestrictionIds()` + +UnsetRestrictionIds ensures that no value is present for RestrictionIds, not even an explicit nil +### GetIndexerIds + +`func (o *TagDetailsResource) GetIndexerIds() []int32` + +GetIndexerIds returns the IndexerIds field if non-nil, zero value otherwise. + +### GetIndexerIdsOk + +`func (o *TagDetailsResource) GetIndexerIdsOk() (*[]int32, bool)` + +GetIndexerIdsOk returns a tuple with the IndexerIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexerIds + +`func (o *TagDetailsResource) SetIndexerIds(v []int32)` + +SetIndexerIds sets IndexerIds field to given value. + +### HasIndexerIds + +`func (o *TagDetailsResource) HasIndexerIds() bool` + +HasIndexerIds returns a boolean if a field has been set. + +### SetIndexerIdsNil + +`func (o *TagDetailsResource) SetIndexerIdsNil(b bool)` + + SetIndexerIdsNil sets the value for IndexerIds to be an explicit nil + +### UnsetIndexerIds +`func (o *TagDetailsResource) UnsetIndexerIds()` + +UnsetIndexerIds ensures that no value is present for IndexerIds, not even an explicit nil +### GetArtistIds + +`func (o *TagDetailsResource) GetArtistIds() []int32` + +GetArtistIds returns the ArtistIds field if non-nil, zero value otherwise. + +### GetArtistIdsOk + +`func (o *TagDetailsResource) GetArtistIdsOk() (*[]int32, bool)` + +GetArtistIdsOk returns a tuple with the ArtistIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistIds + +`func (o *TagDetailsResource) SetArtistIds(v []int32)` + +SetArtistIds sets ArtistIds field to given value. + +### HasArtistIds + +`func (o *TagDetailsResource) HasArtistIds() bool` + +HasArtistIds returns a boolean if a field has been set. + +### SetArtistIdsNil + +`func (o *TagDetailsResource) SetArtistIdsNil(b bool)` + + SetArtistIdsNil sets the value for ArtistIds to be an explicit nil + +### UnsetArtistIds +`func (o *TagDetailsResource) UnsetArtistIds()` + +UnsetArtistIds ensures that no value is present for ArtistIds, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TagDifference.md b/lidarr/docs/TagDifference.md new file mode 100644 index 0000000..54d3878 --- /dev/null +++ b/lidarr/docs/TagDifference.md @@ -0,0 +1,138 @@ +# TagDifference + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Field** | Pointer to **NullableString** | | [optional] +**OldValue** | Pointer to **NullableString** | | [optional] +**NewValue** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewTagDifference + +`func NewTagDifference() *TagDifference` + +NewTagDifference instantiates a new TagDifference object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTagDifferenceWithDefaults + +`func NewTagDifferenceWithDefaults() *TagDifference` + +NewTagDifferenceWithDefaults instantiates a new TagDifference object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetField + +`func (o *TagDifference) GetField() string` + +GetField returns the Field field if non-nil, zero value otherwise. + +### GetFieldOk + +`func (o *TagDifference) GetFieldOk() (*string, bool)` + +GetFieldOk returns a tuple with the Field field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetField + +`func (o *TagDifference) SetField(v string)` + +SetField sets Field field to given value. + +### HasField + +`func (o *TagDifference) HasField() bool` + +HasField returns a boolean if a field has been set. + +### SetFieldNil + +`func (o *TagDifference) SetFieldNil(b bool)` + + SetFieldNil sets the value for Field to be an explicit nil + +### UnsetField +`func (o *TagDifference) UnsetField()` + +UnsetField ensures that no value is present for Field, not even an explicit nil +### GetOldValue + +`func (o *TagDifference) GetOldValue() string` + +GetOldValue returns the OldValue field if non-nil, zero value otherwise. + +### GetOldValueOk + +`func (o *TagDifference) GetOldValueOk() (*string, bool)` + +GetOldValueOk returns a tuple with the OldValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldValue + +`func (o *TagDifference) SetOldValue(v string)` + +SetOldValue sets OldValue field to given value. + +### HasOldValue + +`func (o *TagDifference) HasOldValue() bool` + +HasOldValue returns a boolean if a field has been set. + +### SetOldValueNil + +`func (o *TagDifference) SetOldValueNil(b bool)` + + SetOldValueNil sets the value for OldValue to be an explicit nil + +### UnsetOldValue +`func (o *TagDifference) UnsetOldValue()` + +UnsetOldValue ensures that no value is present for OldValue, not even an explicit nil +### GetNewValue + +`func (o *TagDifference) GetNewValue() string` + +GetNewValue returns the NewValue field if non-nil, zero value otherwise. + +### GetNewValueOk + +`func (o *TagDifference) GetNewValueOk() (*string, bool)` + +GetNewValueOk returns a tuple with the NewValue field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNewValue + +`func (o *TagDifference) SetNewValue(v string)` + +SetNewValue sets NewValue field to given value. + +### HasNewValue + +`func (o *TagDifference) HasNewValue() bool` + +HasNewValue returns a boolean if a field has been set. + +### SetNewValueNil + +`func (o *TagDifference) SetNewValueNil(b bool)` + + SetNewValueNil sets the value for NewValue to be an explicit nil + +### UnsetNewValue +`func (o *TagDifference) UnsetNewValue()` + +UnsetNewValue ensures that no value is present for NewValue, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TagResource.md b/lidarr/docs/TagResource.md new file mode 100644 index 0000000..15fad4a --- /dev/null +++ b/lidarr/docs/TagResource.md @@ -0,0 +1,92 @@ +# TagResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Label** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewTagResource + +`func NewTagResource() *TagResource` + +NewTagResource instantiates a new TagResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTagResourceWithDefaults + +`func NewTagResourceWithDefaults() *TagResource` + +NewTagResourceWithDefaults instantiates a new TagResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TagResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TagResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TagResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TagResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetLabel + +`func (o *TagResource) GetLabel() string` + +GetLabel returns the Label field if non-nil, zero value otherwise. + +### GetLabelOk + +`func (o *TagResource) GetLabelOk() (*string, bool)` + +GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLabel + +`func (o *TagResource) SetLabel(v string)` + +SetLabel sets Label field to given value. + +### HasLabel + +`func (o *TagResource) HasLabel() bool` + +HasLabel returns a boolean if a field has been set. + +### SetLabelNil + +`func (o *TagResource) SetLabelNil(b bool)` + + SetLabelNil sets the value for Label to be an explicit nil + +### UnsetLabel +`func (o *TagResource) UnsetLabel()` + +UnsetLabel ensures that no value is present for Label, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TaskApi.md b/lidarr/docs/TaskApi.md new file mode 100644 index 0000000..9410a7d --- /dev/null +++ b/lidarr/docs/TaskApi.md @@ -0,0 +1,137 @@ +# \TaskApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1SystemTaskById**](TaskApi.md#GetApiV1SystemTaskById) | **Get** /api/v1/system/task/{id} | +[**ListApiV1SystemTask**](TaskApi.md#ListApiV1SystemTask) | **Get** /api/v1/system/task | + + + +## GetApiV1SystemTaskById + +> TaskResource GetApiV1SystemTaskById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TaskApi.GetApiV1SystemTaskById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TaskApi.GetApiV1SystemTaskById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1SystemTaskById`: TaskResource + fmt.Fprintf(os.Stdout, "Response from `TaskApi.GetApiV1SystemTaskById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1SystemTaskByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**TaskResource**](TaskResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1SystemTask + +> []TaskResource ListApiV1SystemTask(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TaskApi.ListApiV1SystemTask(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TaskApi.ListApiV1SystemTask``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1SystemTask`: []TaskResource + fmt.Fprintf(os.Stdout, "Response from `TaskApi.ListApiV1SystemTask`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1SystemTaskRequest struct via the builder pattern + + +### Return type + +[**[]TaskResource**](TaskResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TaskResource.md b/lidarr/docs/TaskResource.md new file mode 100644 index 0000000..789363b --- /dev/null +++ b/lidarr/docs/TaskResource.md @@ -0,0 +1,258 @@ +# TaskResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Name** | Pointer to **NullableString** | | [optional] +**TaskName** | Pointer to **NullableString** | | [optional] +**Interval** | Pointer to **int32** | | [optional] +**LastExecution** | Pointer to **time.Time** | | [optional] +**LastStartTime** | Pointer to **time.Time** | | [optional] +**NextExecution** | Pointer to **time.Time** | | [optional] +**LastDuration** | Pointer to [**TimeSpan**](TimeSpan.md) | | [optional] + +## Methods + +### NewTaskResource + +`func NewTaskResource() *TaskResource` + +NewTaskResource instantiates a new TaskResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTaskResourceWithDefaults + +`func NewTaskResourceWithDefaults() *TaskResource` + +NewTaskResourceWithDefaults instantiates a new TaskResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TaskResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TaskResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TaskResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TaskResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *TaskResource) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *TaskResource) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *TaskResource) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *TaskResource) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *TaskResource) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *TaskResource) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetTaskName + +`func (o *TaskResource) GetTaskName() string` + +GetTaskName returns the TaskName field if non-nil, zero value otherwise. + +### GetTaskNameOk + +`func (o *TaskResource) GetTaskNameOk() (*string, bool)` + +GetTaskNameOk returns a tuple with the TaskName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTaskName + +`func (o *TaskResource) SetTaskName(v string)` + +SetTaskName sets TaskName field to given value. + +### HasTaskName + +`func (o *TaskResource) HasTaskName() bool` + +HasTaskName returns a boolean if a field has been set. + +### SetTaskNameNil + +`func (o *TaskResource) SetTaskNameNil(b bool)` + + SetTaskNameNil sets the value for TaskName to be an explicit nil + +### UnsetTaskName +`func (o *TaskResource) UnsetTaskName()` + +UnsetTaskName ensures that no value is present for TaskName, not even an explicit nil +### GetInterval + +`func (o *TaskResource) GetInterval() int32` + +GetInterval returns the Interval field if non-nil, zero value otherwise. + +### GetIntervalOk + +`func (o *TaskResource) GetIntervalOk() (*int32, bool)` + +GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterval + +`func (o *TaskResource) SetInterval(v int32)` + +SetInterval sets Interval field to given value. + +### HasInterval + +`func (o *TaskResource) HasInterval() bool` + +HasInterval returns a boolean if a field has been set. + +### GetLastExecution + +`func (o *TaskResource) GetLastExecution() time.Time` + +GetLastExecution returns the LastExecution field if non-nil, zero value otherwise. + +### GetLastExecutionOk + +`func (o *TaskResource) GetLastExecutionOk() (*time.Time, bool)` + +GetLastExecutionOk returns a tuple with the LastExecution field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastExecution + +`func (o *TaskResource) SetLastExecution(v time.Time)` + +SetLastExecution sets LastExecution field to given value. + +### HasLastExecution + +`func (o *TaskResource) HasLastExecution() bool` + +HasLastExecution returns a boolean if a field has been set. + +### GetLastStartTime + +`func (o *TaskResource) GetLastStartTime() time.Time` + +GetLastStartTime returns the LastStartTime field if non-nil, zero value otherwise. + +### GetLastStartTimeOk + +`func (o *TaskResource) GetLastStartTimeOk() (*time.Time, bool)` + +GetLastStartTimeOk returns a tuple with the LastStartTime field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastStartTime + +`func (o *TaskResource) SetLastStartTime(v time.Time)` + +SetLastStartTime sets LastStartTime field to given value. + +### HasLastStartTime + +`func (o *TaskResource) HasLastStartTime() bool` + +HasLastStartTime returns a boolean if a field has been set. + +### GetNextExecution + +`func (o *TaskResource) GetNextExecution() time.Time` + +GetNextExecution returns the NextExecution field if non-nil, zero value otherwise. + +### GetNextExecutionOk + +`func (o *TaskResource) GetNextExecutionOk() (*time.Time, bool)` + +GetNextExecutionOk returns a tuple with the NextExecution field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNextExecution + +`func (o *TaskResource) SetNextExecution(v time.Time)` + +SetNextExecution sets NextExecution field to given value. + +### HasNextExecution + +`func (o *TaskResource) HasNextExecution() bool` + +HasNextExecution returns a boolean if a field has been set. + +### GetLastDuration + +`func (o *TaskResource) GetLastDuration() TimeSpan` + +GetLastDuration returns the LastDuration field if non-nil, zero value otherwise. + +### GetLastDurationOk + +`func (o *TaskResource) GetLastDurationOk() (*TimeSpan, bool)` + +GetLastDurationOk returns a tuple with the LastDuration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastDuration + +`func (o *TaskResource) SetLastDuration(v TimeSpan)` + +SetLastDuration sets LastDuration field to given value. + +### HasLastDuration + +`func (o *TaskResource) HasLastDuration() bool` + +HasLastDuration returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TimeSpan.md b/lidarr/docs/TimeSpan.md new file mode 100644 index 0000000..bed3c9a --- /dev/null +++ b/lidarr/docs/TimeSpan.md @@ -0,0 +1,316 @@ +# TimeSpan + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Ticks** | Pointer to **int64** | | [optional] +**Days** | Pointer to **int32** | | [optional] [readonly] +**Hours** | Pointer to **int32** | | [optional] [readonly] +**Milliseconds** | Pointer to **int32** | | [optional] [readonly] +**Minutes** | Pointer to **int32** | | [optional] [readonly] +**Seconds** | Pointer to **int32** | | [optional] [readonly] +**TotalDays** | Pointer to **float64** | | [optional] [readonly] +**TotalHours** | Pointer to **float64** | | [optional] [readonly] +**TotalMilliseconds** | Pointer to **float64** | | [optional] [readonly] +**TotalMinutes** | Pointer to **float64** | | [optional] [readonly] +**TotalSeconds** | Pointer to **float64** | | [optional] [readonly] + +## Methods + +### NewTimeSpan + +`func NewTimeSpan() *TimeSpan` + +NewTimeSpan instantiates a new TimeSpan object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTimeSpanWithDefaults + +`func NewTimeSpanWithDefaults() *TimeSpan` + +NewTimeSpanWithDefaults instantiates a new TimeSpan object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTicks + +`func (o *TimeSpan) GetTicks() int64` + +GetTicks returns the Ticks field if non-nil, zero value otherwise. + +### GetTicksOk + +`func (o *TimeSpan) GetTicksOk() (*int64, bool)` + +GetTicksOk returns a tuple with the Ticks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTicks + +`func (o *TimeSpan) SetTicks(v int64)` + +SetTicks sets Ticks field to given value. + +### HasTicks + +`func (o *TimeSpan) HasTicks() bool` + +HasTicks returns a boolean if a field has been set. + +### GetDays + +`func (o *TimeSpan) GetDays() int32` + +GetDays returns the Days field if non-nil, zero value otherwise. + +### GetDaysOk + +`func (o *TimeSpan) GetDaysOk() (*int32, bool)` + +GetDaysOk returns a tuple with the Days field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDays + +`func (o *TimeSpan) SetDays(v int32)` + +SetDays sets Days field to given value. + +### HasDays + +`func (o *TimeSpan) HasDays() bool` + +HasDays returns a boolean if a field has been set. + +### GetHours + +`func (o *TimeSpan) GetHours() int32` + +GetHours returns the Hours field if non-nil, zero value otherwise. + +### GetHoursOk + +`func (o *TimeSpan) GetHoursOk() (*int32, bool)` + +GetHoursOk returns a tuple with the Hours field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHours + +`func (o *TimeSpan) SetHours(v int32)` + +SetHours sets Hours field to given value. + +### HasHours + +`func (o *TimeSpan) HasHours() bool` + +HasHours returns a boolean if a field has been set. + +### GetMilliseconds + +`func (o *TimeSpan) GetMilliseconds() int32` + +GetMilliseconds returns the Milliseconds field if non-nil, zero value otherwise. + +### GetMillisecondsOk + +`func (o *TimeSpan) GetMillisecondsOk() (*int32, bool)` + +GetMillisecondsOk returns a tuple with the Milliseconds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMilliseconds + +`func (o *TimeSpan) SetMilliseconds(v int32)` + +SetMilliseconds sets Milliseconds field to given value. + +### HasMilliseconds + +`func (o *TimeSpan) HasMilliseconds() bool` + +HasMilliseconds returns a boolean if a field has been set. + +### GetMinutes + +`func (o *TimeSpan) GetMinutes() int32` + +GetMinutes returns the Minutes field if non-nil, zero value otherwise. + +### GetMinutesOk + +`func (o *TimeSpan) GetMinutesOk() (*int32, bool)` + +GetMinutesOk returns a tuple with the Minutes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinutes + +`func (o *TimeSpan) SetMinutes(v int32)` + +SetMinutes sets Minutes field to given value. + +### HasMinutes + +`func (o *TimeSpan) HasMinutes() bool` + +HasMinutes returns a boolean if a field has been set. + +### GetSeconds + +`func (o *TimeSpan) GetSeconds() int32` + +GetSeconds returns the Seconds field if non-nil, zero value otherwise. + +### GetSecondsOk + +`func (o *TimeSpan) GetSecondsOk() (*int32, bool)` + +GetSecondsOk returns a tuple with the Seconds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSeconds + +`func (o *TimeSpan) SetSeconds(v int32)` + +SetSeconds sets Seconds field to given value. + +### HasSeconds + +`func (o *TimeSpan) HasSeconds() bool` + +HasSeconds returns a boolean if a field has been set. + +### GetTotalDays + +`func (o *TimeSpan) GetTotalDays() float64` + +GetTotalDays returns the TotalDays field if non-nil, zero value otherwise. + +### GetTotalDaysOk + +`func (o *TimeSpan) GetTotalDaysOk() (*float64, bool)` + +GetTotalDaysOk returns a tuple with the TotalDays field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalDays + +`func (o *TimeSpan) SetTotalDays(v float64)` + +SetTotalDays sets TotalDays field to given value. + +### HasTotalDays + +`func (o *TimeSpan) HasTotalDays() bool` + +HasTotalDays returns a boolean if a field has been set. + +### GetTotalHours + +`func (o *TimeSpan) GetTotalHours() float64` + +GetTotalHours returns the TotalHours field if non-nil, zero value otherwise. + +### GetTotalHoursOk + +`func (o *TimeSpan) GetTotalHoursOk() (*float64, bool)` + +GetTotalHoursOk returns a tuple with the TotalHours field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalHours + +`func (o *TimeSpan) SetTotalHours(v float64)` + +SetTotalHours sets TotalHours field to given value. + +### HasTotalHours + +`func (o *TimeSpan) HasTotalHours() bool` + +HasTotalHours returns a boolean if a field has been set. + +### GetTotalMilliseconds + +`func (o *TimeSpan) GetTotalMilliseconds() float64` + +GetTotalMilliseconds returns the TotalMilliseconds field if non-nil, zero value otherwise. + +### GetTotalMillisecondsOk + +`func (o *TimeSpan) GetTotalMillisecondsOk() (*float64, bool)` + +GetTotalMillisecondsOk returns a tuple with the TotalMilliseconds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalMilliseconds + +`func (o *TimeSpan) SetTotalMilliseconds(v float64)` + +SetTotalMilliseconds sets TotalMilliseconds field to given value. + +### HasTotalMilliseconds + +`func (o *TimeSpan) HasTotalMilliseconds() bool` + +HasTotalMilliseconds returns a boolean if a field has been set. + +### GetTotalMinutes + +`func (o *TimeSpan) GetTotalMinutes() float64` + +GetTotalMinutes returns the TotalMinutes field if non-nil, zero value otherwise. + +### GetTotalMinutesOk + +`func (o *TimeSpan) GetTotalMinutesOk() (*float64, bool)` + +GetTotalMinutesOk returns a tuple with the TotalMinutes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalMinutes + +`func (o *TimeSpan) SetTotalMinutes(v float64)` + +SetTotalMinutes sets TotalMinutes field to given value. + +### HasTotalMinutes + +`func (o *TimeSpan) HasTotalMinutes() bool` + +HasTotalMinutes returns a boolean if a field has been set. + +### GetTotalSeconds + +`func (o *TimeSpan) GetTotalSeconds() float64` + +GetTotalSeconds returns the TotalSeconds field if non-nil, zero value otherwise. + +### GetTotalSecondsOk + +`func (o *TimeSpan) GetTotalSecondsOk() (*float64, bool)` + +GetTotalSecondsOk returns a tuple with the TotalSeconds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotalSeconds + +`func (o *TimeSpan) SetTotalSeconds(v float64)` + +SetTotalSeconds sets TotalSeconds field to given value. + +### HasTotalSeconds + +`func (o *TimeSpan) HasTotalSeconds() bool` + +HasTotalSeconds returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Track.md b/lidarr/docs/Track.md new file mode 100644 index 0000000..765b8d0 --- /dev/null +++ b/lidarr/docs/Track.md @@ -0,0 +1,662 @@ +# Track + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ForeignTrackId** | Pointer to **NullableString** | | [optional] +**OldForeignTrackIds** | Pointer to **[]string** | | [optional] +**ForeignRecordingId** | Pointer to **NullableString** | | [optional] +**OldForeignRecordingIds** | Pointer to **[]string** | | [optional] +**AlbumReleaseId** | Pointer to **int32** | | [optional] +**ArtistMetadataId** | Pointer to **int32** | | [optional] +**TrackNumber** | Pointer to **NullableString** | | [optional] +**AbsoluteTrackNumber** | Pointer to **int32** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Duration** | Pointer to **int32** | | [optional] +**Explicit** | Pointer to **bool** | | [optional] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**MediumNumber** | Pointer to **int32** | | [optional] +**TrackFileId** | Pointer to **int32** | | [optional] +**HasFile** | Pointer to **bool** | | [optional] [readonly] +**AlbumRelease** | Pointer to [**AlbumReleaseLazyLoaded**](AlbumReleaseLazyLoaded.md) | | [optional] +**ArtistMetadata** | Pointer to [**ArtistMetadataLazyLoaded**](ArtistMetadataLazyLoaded.md) | | [optional] +**TrackFile** | Pointer to [**TrackFileLazyLoaded**](TrackFileLazyLoaded.md) | | [optional] +**Artist** | Pointer to [**ArtistLazyLoaded**](ArtistLazyLoaded.md) | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**Album** | Pointer to [**Album**](Album.md) | | [optional] + +## Methods + +### NewTrack + +`func NewTrack() *Track` + +NewTrack instantiates a new Track object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackWithDefaults + +`func NewTrackWithDefaults() *Track` + +NewTrackWithDefaults instantiates a new Track object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *Track) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *Track) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *Track) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *Track) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetForeignTrackId + +`func (o *Track) GetForeignTrackId() string` + +GetForeignTrackId returns the ForeignTrackId field if non-nil, zero value otherwise. + +### GetForeignTrackIdOk + +`func (o *Track) GetForeignTrackIdOk() (*string, bool)` + +GetForeignTrackIdOk returns a tuple with the ForeignTrackId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignTrackId + +`func (o *Track) SetForeignTrackId(v string)` + +SetForeignTrackId sets ForeignTrackId field to given value. + +### HasForeignTrackId + +`func (o *Track) HasForeignTrackId() bool` + +HasForeignTrackId returns a boolean if a field has been set. + +### SetForeignTrackIdNil + +`func (o *Track) SetForeignTrackIdNil(b bool)` + + SetForeignTrackIdNil sets the value for ForeignTrackId to be an explicit nil + +### UnsetForeignTrackId +`func (o *Track) UnsetForeignTrackId()` + +UnsetForeignTrackId ensures that no value is present for ForeignTrackId, not even an explicit nil +### GetOldForeignTrackIds + +`func (o *Track) GetOldForeignTrackIds() []string` + +GetOldForeignTrackIds returns the OldForeignTrackIds field if non-nil, zero value otherwise. + +### GetOldForeignTrackIdsOk + +`func (o *Track) GetOldForeignTrackIdsOk() (*[]string, bool)` + +GetOldForeignTrackIdsOk returns a tuple with the OldForeignTrackIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldForeignTrackIds + +`func (o *Track) SetOldForeignTrackIds(v []string)` + +SetOldForeignTrackIds sets OldForeignTrackIds field to given value. + +### HasOldForeignTrackIds + +`func (o *Track) HasOldForeignTrackIds() bool` + +HasOldForeignTrackIds returns a boolean if a field has been set. + +### SetOldForeignTrackIdsNil + +`func (o *Track) SetOldForeignTrackIdsNil(b bool)` + + SetOldForeignTrackIdsNil sets the value for OldForeignTrackIds to be an explicit nil + +### UnsetOldForeignTrackIds +`func (o *Track) UnsetOldForeignTrackIds()` + +UnsetOldForeignTrackIds ensures that no value is present for OldForeignTrackIds, not even an explicit nil +### GetForeignRecordingId + +`func (o *Track) GetForeignRecordingId() string` + +GetForeignRecordingId returns the ForeignRecordingId field if non-nil, zero value otherwise. + +### GetForeignRecordingIdOk + +`func (o *Track) GetForeignRecordingIdOk() (*string, bool)` + +GetForeignRecordingIdOk returns a tuple with the ForeignRecordingId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignRecordingId + +`func (o *Track) SetForeignRecordingId(v string)` + +SetForeignRecordingId sets ForeignRecordingId field to given value. + +### HasForeignRecordingId + +`func (o *Track) HasForeignRecordingId() bool` + +HasForeignRecordingId returns a boolean if a field has been set. + +### SetForeignRecordingIdNil + +`func (o *Track) SetForeignRecordingIdNil(b bool)` + + SetForeignRecordingIdNil sets the value for ForeignRecordingId to be an explicit nil + +### UnsetForeignRecordingId +`func (o *Track) UnsetForeignRecordingId()` + +UnsetForeignRecordingId ensures that no value is present for ForeignRecordingId, not even an explicit nil +### GetOldForeignRecordingIds + +`func (o *Track) GetOldForeignRecordingIds() []string` + +GetOldForeignRecordingIds returns the OldForeignRecordingIds field if non-nil, zero value otherwise. + +### GetOldForeignRecordingIdsOk + +`func (o *Track) GetOldForeignRecordingIdsOk() (*[]string, bool)` + +GetOldForeignRecordingIdsOk returns a tuple with the OldForeignRecordingIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldForeignRecordingIds + +`func (o *Track) SetOldForeignRecordingIds(v []string)` + +SetOldForeignRecordingIds sets OldForeignRecordingIds field to given value. + +### HasOldForeignRecordingIds + +`func (o *Track) HasOldForeignRecordingIds() bool` + +HasOldForeignRecordingIds returns a boolean if a field has been set. + +### SetOldForeignRecordingIdsNil + +`func (o *Track) SetOldForeignRecordingIdsNil(b bool)` + + SetOldForeignRecordingIdsNil sets the value for OldForeignRecordingIds to be an explicit nil + +### UnsetOldForeignRecordingIds +`func (o *Track) UnsetOldForeignRecordingIds()` + +UnsetOldForeignRecordingIds ensures that no value is present for OldForeignRecordingIds, not even an explicit nil +### GetAlbumReleaseId + +`func (o *Track) GetAlbumReleaseId() int32` + +GetAlbumReleaseId returns the AlbumReleaseId field if non-nil, zero value otherwise. + +### GetAlbumReleaseIdOk + +`func (o *Track) GetAlbumReleaseIdOk() (*int32, bool)` + +GetAlbumReleaseIdOk returns a tuple with the AlbumReleaseId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumReleaseId + +`func (o *Track) SetAlbumReleaseId(v int32)` + +SetAlbumReleaseId sets AlbumReleaseId field to given value. + +### HasAlbumReleaseId + +`func (o *Track) HasAlbumReleaseId() bool` + +HasAlbumReleaseId returns a boolean if a field has been set. + +### GetArtistMetadataId + +`func (o *Track) GetArtistMetadataId() int32` + +GetArtistMetadataId returns the ArtistMetadataId field if non-nil, zero value otherwise. + +### GetArtistMetadataIdOk + +`func (o *Track) GetArtistMetadataIdOk() (*int32, bool)` + +GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadataId + +`func (o *Track) SetArtistMetadataId(v int32)` + +SetArtistMetadataId sets ArtistMetadataId field to given value. + +### HasArtistMetadataId + +`func (o *Track) HasArtistMetadataId() bool` + +HasArtistMetadataId returns a boolean if a field has been set. + +### GetTrackNumber + +`func (o *Track) GetTrackNumber() string` + +GetTrackNumber returns the TrackNumber field if non-nil, zero value otherwise. + +### GetTrackNumberOk + +`func (o *Track) GetTrackNumberOk() (*string, bool)` + +GetTrackNumberOk returns a tuple with the TrackNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackNumber + +`func (o *Track) SetTrackNumber(v string)` + +SetTrackNumber sets TrackNumber field to given value. + +### HasTrackNumber + +`func (o *Track) HasTrackNumber() bool` + +HasTrackNumber returns a boolean if a field has been set. + +### SetTrackNumberNil + +`func (o *Track) SetTrackNumberNil(b bool)` + + SetTrackNumberNil sets the value for TrackNumber to be an explicit nil + +### UnsetTrackNumber +`func (o *Track) UnsetTrackNumber()` + +UnsetTrackNumber ensures that no value is present for TrackNumber, not even an explicit nil +### GetAbsoluteTrackNumber + +`func (o *Track) GetAbsoluteTrackNumber() int32` + +GetAbsoluteTrackNumber returns the AbsoluteTrackNumber field if non-nil, zero value otherwise. + +### GetAbsoluteTrackNumberOk + +`func (o *Track) GetAbsoluteTrackNumberOk() (*int32, bool)` + +GetAbsoluteTrackNumberOk returns a tuple with the AbsoluteTrackNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAbsoluteTrackNumber + +`func (o *Track) SetAbsoluteTrackNumber(v int32)` + +SetAbsoluteTrackNumber sets AbsoluteTrackNumber field to given value. + +### HasAbsoluteTrackNumber + +`func (o *Track) HasAbsoluteTrackNumber() bool` + +HasAbsoluteTrackNumber returns a boolean if a field has been set. + +### GetTitle + +`func (o *Track) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *Track) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *Track) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *Track) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *Track) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *Track) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetDuration + +`func (o *Track) GetDuration() int32` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *Track) GetDurationOk() (*int32, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *Track) SetDuration(v int32)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *Track) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetExplicit + +`func (o *Track) GetExplicit() bool` + +GetExplicit returns the Explicit field if non-nil, zero value otherwise. + +### GetExplicitOk + +`func (o *Track) GetExplicitOk() (*bool, bool)` + +GetExplicitOk returns a tuple with the Explicit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExplicit + +`func (o *Track) SetExplicit(v bool)` + +SetExplicit sets Explicit field to given value. + +### HasExplicit + +`func (o *Track) HasExplicit() bool` + +HasExplicit returns a boolean if a field has been set. + +### GetRatings + +`func (o *Track) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *Track) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *Track) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *Track) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetMediumNumber + +`func (o *Track) GetMediumNumber() int32` + +GetMediumNumber returns the MediumNumber field if non-nil, zero value otherwise. + +### GetMediumNumberOk + +`func (o *Track) GetMediumNumberOk() (*int32, bool)` + +GetMediumNumberOk returns a tuple with the MediumNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumNumber + +`func (o *Track) SetMediumNumber(v int32)` + +SetMediumNumber sets MediumNumber field to given value. + +### HasMediumNumber + +`func (o *Track) HasMediumNumber() bool` + +HasMediumNumber returns a boolean if a field has been set. + +### GetTrackFileId + +`func (o *Track) GetTrackFileId() int32` + +GetTrackFileId returns the TrackFileId field if non-nil, zero value otherwise. + +### GetTrackFileIdOk + +`func (o *Track) GetTrackFileIdOk() (*int32, bool)` + +GetTrackFileIdOk returns a tuple with the TrackFileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileId + +`func (o *Track) SetTrackFileId(v int32)` + +SetTrackFileId sets TrackFileId field to given value. + +### HasTrackFileId + +`func (o *Track) HasTrackFileId() bool` + +HasTrackFileId returns a boolean if a field has been set. + +### GetHasFile + +`func (o *Track) GetHasFile() bool` + +GetHasFile returns the HasFile field if non-nil, zero value otherwise. + +### GetHasFileOk + +`func (o *Track) GetHasFileOk() (*bool, bool)` + +GetHasFileOk returns a tuple with the HasFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasFile + +`func (o *Track) SetHasFile(v bool)` + +SetHasFile sets HasFile field to given value. + +### HasHasFile + +`func (o *Track) HasHasFile() bool` + +HasHasFile returns a boolean if a field has been set. + +### GetAlbumRelease + +`func (o *Track) GetAlbumRelease() AlbumReleaseLazyLoaded` + +GetAlbumRelease returns the AlbumRelease field if non-nil, zero value otherwise. + +### GetAlbumReleaseOk + +`func (o *Track) GetAlbumReleaseOk() (*AlbumReleaseLazyLoaded, bool)` + +GetAlbumReleaseOk returns a tuple with the AlbumRelease field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumRelease + +`func (o *Track) SetAlbumRelease(v AlbumReleaseLazyLoaded)` + +SetAlbumRelease sets AlbumRelease field to given value. + +### HasAlbumRelease + +`func (o *Track) HasAlbumRelease() bool` + +HasAlbumRelease returns a boolean if a field has been set. + +### GetArtistMetadata + +`func (o *Track) GetArtistMetadata() ArtistMetadataLazyLoaded` + +GetArtistMetadata returns the ArtistMetadata field if non-nil, zero value otherwise. + +### GetArtistMetadataOk + +`func (o *Track) GetArtistMetadataOk() (*ArtistMetadataLazyLoaded, bool)` + +GetArtistMetadataOk returns a tuple with the ArtistMetadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistMetadata + +`func (o *Track) SetArtistMetadata(v ArtistMetadataLazyLoaded)` + +SetArtistMetadata sets ArtistMetadata field to given value. + +### HasArtistMetadata + +`func (o *Track) HasArtistMetadata() bool` + +HasArtistMetadata returns a boolean if a field has been set. + +### GetTrackFile + +`func (o *Track) GetTrackFile() TrackFileLazyLoaded` + +GetTrackFile returns the TrackFile field if non-nil, zero value otherwise. + +### GetTrackFileOk + +`func (o *Track) GetTrackFileOk() (*TrackFileLazyLoaded, bool)` + +GetTrackFileOk returns a tuple with the TrackFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFile + +`func (o *Track) SetTrackFile(v TrackFileLazyLoaded)` + +SetTrackFile sets TrackFile field to given value. + +### HasTrackFile + +`func (o *Track) HasTrackFile() bool` + +HasTrackFile returns a boolean if a field has been set. + +### GetArtist + +`func (o *Track) GetArtist() ArtistLazyLoaded` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *Track) GetArtistOk() (*ArtistLazyLoaded, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *Track) SetArtist(v ArtistLazyLoaded)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *Track) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *Track) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *Track) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *Track) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *Track) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetAlbum + +`func (o *Track) GetAlbum() Album` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *Track) GetAlbumOk() (*Album, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *Track) SetAlbum(v Album)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *Track) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackApi.md b/lidarr/docs/TrackApi.md new file mode 100644 index 0000000..af2ceb2 --- /dev/null +++ b/lidarr/docs/TrackApi.md @@ -0,0 +1,148 @@ +# \TrackApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1TrackById**](TrackApi.md#GetApiV1TrackById) | **Get** /api/v1/track/{id} | +[**ListApiV1Track**](TrackApi.md#ListApiV1Track) | **Get** /api/v1/track | + + + +## GetApiV1TrackById + +> TrackResource GetApiV1TrackById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TrackApi.GetApiV1TrackById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TrackApi.GetApiV1TrackById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1TrackById`: TrackResource + fmt.Fprintf(os.Stdout, "Response from `TrackApi.GetApiV1TrackById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1TrackByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**TrackResource**](TrackResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Track + +> []TrackResource ListApiV1Track(ctx).ArtistId(artistId).AlbumId(albumId).AlbumReleaseId(albumReleaseId).TrackIds(trackIds).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + albumId := int32(56) // int32 | (optional) + albumReleaseId := int32(56) // int32 | (optional) + trackIds := []int32{int32(123)} // []int32 | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.TrackApi.ListApiV1Track(context.Background()).ArtistId(artistId).AlbumId(albumId).AlbumReleaseId(albumReleaseId).TrackIds(trackIds).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `TrackApi.ListApiV1Track``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Track`: []TrackResource + fmt.Fprintf(os.Stdout, "Response from `TrackApi.ListApiV1Track`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1TrackRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **albumId** | **int32** | | + **albumReleaseId** | **int32** | | + **trackIds** | **[]int32** | | + +### Return type + +[**[]TrackResource**](TrackResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TrackFile.md b/lidarr/docs/TrackFile.md new file mode 100644 index 0000000..b191c25 --- /dev/null +++ b/lidarr/docs/TrackFile.md @@ -0,0 +1,398 @@ +# TrackFile + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Size** | Pointer to **int64** | | [optional] +**Modified** | Pointer to **time.Time** | | [optional] +**DateAdded** | Pointer to **time.Time** | | [optional] +**SceneName** | Pointer to **NullableString** | | [optional] +**ReleaseGroup** | Pointer to **NullableString** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**MediaInfo** | Pointer to [**MediaInfoModel**](MediaInfoModel.md) | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**Tracks** | Pointer to [**TrackListLazyLoaded**](TrackListLazyLoaded.md) | | [optional] +**Artist** | Pointer to [**ArtistLazyLoaded**](ArtistLazyLoaded.md) | | [optional] +**Album** | Pointer to [**AlbumLazyLoaded**](AlbumLazyLoaded.md) | | [optional] + +## Methods + +### NewTrackFile + +`func NewTrackFile() *TrackFile` + +NewTrackFile instantiates a new TrackFile object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackFileWithDefaults + +`func NewTrackFileWithDefaults() *TrackFile` + +NewTrackFileWithDefaults instantiates a new TrackFile object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TrackFile) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TrackFile) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TrackFile) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TrackFile) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetPath + +`func (o *TrackFile) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *TrackFile) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *TrackFile) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *TrackFile) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *TrackFile) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *TrackFile) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetSize + +`func (o *TrackFile) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *TrackFile) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *TrackFile) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *TrackFile) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetModified + +`func (o *TrackFile) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *TrackFile) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *TrackFile) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *TrackFile) HasModified() bool` + +HasModified returns a boolean if a field has been set. + +### GetDateAdded + +`func (o *TrackFile) GetDateAdded() time.Time` + +GetDateAdded returns the DateAdded field if non-nil, zero value otherwise. + +### GetDateAddedOk + +`func (o *TrackFile) GetDateAddedOk() (*time.Time, bool)` + +GetDateAddedOk returns a tuple with the DateAdded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDateAdded + +`func (o *TrackFile) SetDateAdded(v time.Time)` + +SetDateAdded sets DateAdded field to given value. + +### HasDateAdded + +`func (o *TrackFile) HasDateAdded() bool` + +HasDateAdded returns a boolean if a field has been set. + +### GetSceneName + +`func (o *TrackFile) GetSceneName() string` + +GetSceneName returns the SceneName field if non-nil, zero value otherwise. + +### GetSceneNameOk + +`func (o *TrackFile) GetSceneNameOk() (*string, bool)` + +GetSceneNameOk returns a tuple with the SceneName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSceneName + +`func (o *TrackFile) SetSceneName(v string)` + +SetSceneName sets SceneName field to given value. + +### HasSceneName + +`func (o *TrackFile) HasSceneName() bool` + +HasSceneName returns a boolean if a field has been set. + +### SetSceneNameNil + +`func (o *TrackFile) SetSceneNameNil(b bool)` + + SetSceneNameNil sets the value for SceneName to be an explicit nil + +### UnsetSceneName +`func (o *TrackFile) UnsetSceneName()` + +UnsetSceneName ensures that no value is present for SceneName, not even an explicit nil +### GetReleaseGroup + +`func (o *TrackFile) GetReleaseGroup() string` + +GetReleaseGroup returns the ReleaseGroup field if non-nil, zero value otherwise. + +### GetReleaseGroupOk + +`func (o *TrackFile) GetReleaseGroupOk() (*string, bool)` + +GetReleaseGroupOk returns a tuple with the ReleaseGroup field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseGroup + +`func (o *TrackFile) SetReleaseGroup(v string)` + +SetReleaseGroup sets ReleaseGroup field to given value. + +### HasReleaseGroup + +`func (o *TrackFile) HasReleaseGroup() bool` + +HasReleaseGroup returns a boolean if a field has been set. + +### SetReleaseGroupNil + +`func (o *TrackFile) SetReleaseGroupNil(b bool)` + + SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil + +### UnsetReleaseGroup +`func (o *TrackFile) UnsetReleaseGroup()` + +UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +### GetQuality + +`func (o *TrackFile) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *TrackFile) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *TrackFile) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *TrackFile) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetMediaInfo + +`func (o *TrackFile) GetMediaInfo() MediaInfoModel` + +GetMediaInfo returns the MediaInfo field if non-nil, zero value otherwise. + +### GetMediaInfoOk + +`func (o *TrackFile) GetMediaInfoOk() (*MediaInfoModel, bool)` + +GetMediaInfoOk returns a tuple with the MediaInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediaInfo + +`func (o *TrackFile) SetMediaInfo(v MediaInfoModel)` + +SetMediaInfo sets MediaInfo field to given value. + +### HasMediaInfo + +`func (o *TrackFile) HasMediaInfo() bool` + +HasMediaInfo returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *TrackFile) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *TrackFile) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *TrackFile) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *TrackFile) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetTracks + +`func (o *TrackFile) GetTracks() TrackListLazyLoaded` + +GetTracks returns the Tracks field if non-nil, zero value otherwise. + +### GetTracksOk + +`func (o *TrackFile) GetTracksOk() (*TrackListLazyLoaded, bool)` + +GetTracksOk returns a tuple with the Tracks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTracks + +`func (o *TrackFile) SetTracks(v TrackListLazyLoaded)` + +SetTracks sets Tracks field to given value. + +### HasTracks + +`func (o *TrackFile) HasTracks() bool` + +HasTracks returns a boolean if a field has been set. + +### GetArtist + +`func (o *TrackFile) GetArtist() ArtistLazyLoaded` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *TrackFile) GetArtistOk() (*ArtistLazyLoaded, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *TrackFile) SetArtist(v ArtistLazyLoaded)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *TrackFile) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetAlbum + +`func (o *TrackFile) GetAlbum() AlbumLazyLoaded` + +GetAlbum returns the Album field if non-nil, zero value otherwise. + +### GetAlbumOk + +`func (o *TrackFile) GetAlbumOk() (*AlbumLazyLoaded, bool)` + +GetAlbumOk returns a tuple with the Album field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbum + +`func (o *TrackFile) SetAlbum(v AlbumLazyLoaded)` + +SetAlbum sets Album field to given value. + +### HasAlbum + +`func (o *TrackFile) HasAlbum() bool` + +HasAlbum returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackFileApi.md b/lidarr/docs/TrackFileApi.md new file mode 100644 index 0000000..629a4eb --- /dev/null +++ b/lidarr/docs/TrackFileApi.md @@ -0,0 +1,412 @@ +# \TrackFileApi + +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 + +> DeleteApiV1Trackfile(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1TrackfileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## DeleteApiV1TrackfileBulk + +> DeleteApiV1TrackfileBulk(ctx).TrackFileListResource(trackFileListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + trackFileListResource := *lidarrClient.NewTrackFileListResource() // TrackFileListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiDeleteApiV1TrackfileBulkRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **trackFileListResource** | [**TrackFileListResource**](TrackFileListResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1TrackfileById + +> TrackFileResource GetApiV1TrackfileById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1TrackfileById`: TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.GetApiV1TrackfileById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1TrackfileByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**TrackFileResource**](TrackFileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1Trackfile + +> []TrackFileResource ListApiV1Trackfile(ctx).ArtistId(artistId).TrackFileIds(trackFileIds).AlbumId(albumId).Unmapped(unmapped).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + artistId := int32(56) // int32 | (optional) + trackFileIds := []int32{int32(123)} // []int32 | (optional) + albumId := []int32{int32(123)} // []int32 | (optional) + unmapped := true // bool | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Trackfile`: []TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.ListApiV1Trackfile`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1TrackfileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **artistId** | **int32** | | + **trackFileIds** | **[]int32** | | + **albumId** | **[]int32** | | + **unmapped** | **bool** | | + +### Return type + +[**[]TrackFileResource**](TrackFileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## PutApiV1TrackfileEditor + +> PutApiV1TrackfileEditor(ctx).TrackFileListResource(trackFileListResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + trackFileListResource := *lidarrClient.NewTrackFileListResource() // TrackFileListResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiPutApiV1TrackfileEditorRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **trackFileListResource** | [**TrackFileListResource**](TrackFileListResource.md) | | + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1Trackfile + +> TrackFileResource UpdateApiV1Trackfile(ctx, id).TrackFileResource(trackFileResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + trackFileResource := *lidarrClient.NewTrackFileResource() // TrackFileResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + 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, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1Trackfile`: TrackFileResource + fmt.Fprintf(os.Stdout, "Response from `TrackFileApi.UpdateApiV1Trackfile`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1TrackfileRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **trackFileResource** | [**TrackFileResource**](TrackFileResource.md) | | + +### Return type + +[**TrackFileResource**](TrackFileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/TrackFileLazyLoaded.md b/lidarr/docs/TrackFileLazyLoaded.md new file mode 100644 index 0000000..f4b3303 --- /dev/null +++ b/lidarr/docs/TrackFileLazyLoaded.md @@ -0,0 +1,82 @@ +# TrackFileLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**TrackFile**](TrackFile.md) | | [optional] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewTrackFileLazyLoaded + +`func NewTrackFileLazyLoaded() *TrackFileLazyLoaded` + +NewTrackFileLazyLoaded instantiates a new TrackFileLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackFileLazyLoadedWithDefaults + +`func NewTrackFileLazyLoadedWithDefaults() *TrackFileLazyLoaded` + +NewTrackFileLazyLoadedWithDefaults instantiates a new TrackFileLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *TrackFileLazyLoaded) GetValue() TrackFile` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *TrackFileLazyLoaded) GetValueOk() (*TrackFile, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *TrackFileLazyLoaded) SetValue(v TrackFile)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *TrackFileLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### GetIsLoaded + +`func (o *TrackFileLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *TrackFileLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *TrackFileLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *TrackFileLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackFileListResource.md b/lidarr/docs/TrackFileListResource.md new file mode 100644 index 0000000..c803b6d --- /dev/null +++ b/lidarr/docs/TrackFileListResource.md @@ -0,0 +1,92 @@ +# TrackFileListResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**TrackFileIds** | Pointer to **[]int32** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] + +## Methods + +### NewTrackFileListResource + +`func NewTrackFileListResource() *TrackFileListResource` + +NewTrackFileListResource instantiates a new TrackFileListResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackFileListResourceWithDefaults + +`func NewTrackFileListResourceWithDefaults() *TrackFileListResource` + +NewTrackFileListResourceWithDefaults instantiates a new TrackFileListResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTrackFileIds + +`func (o *TrackFileListResource) GetTrackFileIds() []int32` + +GetTrackFileIds returns the TrackFileIds field if non-nil, zero value otherwise. + +### GetTrackFileIdsOk + +`func (o *TrackFileListResource) GetTrackFileIdsOk() (*[]int32, bool)` + +GetTrackFileIdsOk returns a tuple with the TrackFileIds field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileIds + +`func (o *TrackFileListResource) SetTrackFileIds(v []int32)` + +SetTrackFileIds sets TrackFileIds field to given value. + +### HasTrackFileIds + +`func (o *TrackFileListResource) HasTrackFileIds() bool` + +HasTrackFileIds returns a boolean if a field has been set. + +### SetTrackFileIdsNil + +`func (o *TrackFileListResource) SetTrackFileIdsNil(b bool)` + + SetTrackFileIdsNil sets the value for TrackFileIds to be an explicit nil + +### UnsetTrackFileIds +`func (o *TrackFileListResource) UnsetTrackFileIds()` + +UnsetTrackFileIds ensures that no value is present for TrackFileIds, not even an explicit nil +### GetQuality + +`func (o *TrackFileListResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *TrackFileListResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *TrackFileListResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *TrackFileListResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackFileResource.md b/lidarr/docs/TrackFileResource.md new file mode 100644 index 0000000..02d9b96 --- /dev/null +++ b/lidarr/docs/TrackFileResource.md @@ -0,0 +1,326 @@ +# TrackFileResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**Path** | Pointer to **NullableString** | | [optional] +**Size** | Pointer to **int64** | | [optional] +**DateAdded** | Pointer to **time.Time** | | [optional] +**Quality** | Pointer to [**QualityModel**](QualityModel.md) | | [optional] +**QualityWeight** | Pointer to **int32** | | [optional] +**MediaInfo** | Pointer to [**MediaInfoResource**](MediaInfoResource.md) | | [optional] +**QualityCutoffNotMet** | Pointer to **bool** | | [optional] +**AudioTags** | Pointer to [**ParsedTrackInfo**](ParsedTrackInfo.md) | | [optional] + +## Methods + +### NewTrackFileResource + +`func NewTrackFileResource() *TrackFileResource` + +NewTrackFileResource instantiates a new TrackFileResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackFileResourceWithDefaults + +`func NewTrackFileResourceWithDefaults() *TrackFileResource` + +NewTrackFileResourceWithDefaults instantiates a new TrackFileResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TrackFileResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TrackFileResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TrackFileResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TrackFileResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *TrackFileResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *TrackFileResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *TrackFileResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *TrackFileResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *TrackFileResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *TrackFileResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *TrackFileResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *TrackFileResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetPath + +`func (o *TrackFileResource) GetPath() string` + +GetPath returns the Path field if non-nil, zero value otherwise. + +### GetPathOk + +`func (o *TrackFileResource) GetPathOk() (*string, bool)` + +GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPath + +`func (o *TrackFileResource) SetPath(v string)` + +SetPath sets Path field to given value. + +### HasPath + +`func (o *TrackFileResource) HasPath() bool` + +HasPath returns a boolean if a field has been set. + +### SetPathNil + +`func (o *TrackFileResource) SetPathNil(b bool)` + + SetPathNil sets the value for Path to be an explicit nil + +### UnsetPath +`func (o *TrackFileResource) UnsetPath()` + +UnsetPath ensures that no value is present for Path, not even an explicit nil +### GetSize + +`func (o *TrackFileResource) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *TrackFileResource) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *TrackFileResource) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *TrackFileResource) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetDateAdded + +`func (o *TrackFileResource) GetDateAdded() time.Time` + +GetDateAdded returns the DateAdded field if non-nil, zero value otherwise. + +### GetDateAddedOk + +`func (o *TrackFileResource) GetDateAddedOk() (*time.Time, bool)` + +GetDateAddedOk returns a tuple with the DateAdded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDateAdded + +`func (o *TrackFileResource) SetDateAdded(v time.Time)` + +SetDateAdded sets DateAdded field to given value. + +### HasDateAdded + +`func (o *TrackFileResource) HasDateAdded() bool` + +HasDateAdded returns a boolean if a field has been set. + +### GetQuality + +`func (o *TrackFileResource) GetQuality() QualityModel` + +GetQuality returns the Quality field if non-nil, zero value otherwise. + +### GetQualityOk + +`func (o *TrackFileResource) GetQualityOk() (*QualityModel, bool)` + +GetQualityOk returns a tuple with the Quality field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuality + +`func (o *TrackFileResource) SetQuality(v QualityModel)` + +SetQuality sets Quality field to given value. + +### HasQuality + +`func (o *TrackFileResource) HasQuality() bool` + +HasQuality returns a boolean if a field has been set. + +### GetQualityWeight + +`func (o *TrackFileResource) GetQualityWeight() int32` + +GetQualityWeight returns the QualityWeight field if non-nil, zero value otherwise. + +### GetQualityWeightOk + +`func (o *TrackFileResource) GetQualityWeightOk() (*int32, bool)` + +GetQualityWeightOk returns a tuple with the QualityWeight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityWeight + +`func (o *TrackFileResource) SetQualityWeight(v int32)` + +SetQualityWeight sets QualityWeight field to given value. + +### HasQualityWeight + +`func (o *TrackFileResource) HasQualityWeight() bool` + +HasQualityWeight returns a boolean if a field has been set. + +### GetMediaInfo + +`func (o *TrackFileResource) GetMediaInfo() MediaInfoResource` + +GetMediaInfo returns the MediaInfo field if non-nil, zero value otherwise. + +### GetMediaInfoOk + +`func (o *TrackFileResource) GetMediaInfoOk() (*MediaInfoResource, bool)` + +GetMediaInfoOk returns a tuple with the MediaInfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediaInfo + +`func (o *TrackFileResource) SetMediaInfo(v MediaInfoResource)` + +SetMediaInfo sets MediaInfo field to given value. + +### HasMediaInfo + +`func (o *TrackFileResource) HasMediaInfo() bool` + +HasMediaInfo returns a boolean if a field has been set. + +### GetQualityCutoffNotMet + +`func (o *TrackFileResource) GetQualityCutoffNotMet() bool` + +GetQualityCutoffNotMet returns the QualityCutoffNotMet field if non-nil, zero value otherwise. + +### GetQualityCutoffNotMetOk + +`func (o *TrackFileResource) GetQualityCutoffNotMetOk() (*bool, bool)` + +GetQualityCutoffNotMetOk returns a tuple with the QualityCutoffNotMet field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQualityCutoffNotMet + +`func (o *TrackFileResource) SetQualityCutoffNotMet(v bool)` + +SetQualityCutoffNotMet sets QualityCutoffNotMet field to given value. + +### HasQualityCutoffNotMet + +`func (o *TrackFileResource) HasQualityCutoffNotMet() bool` + +HasQualityCutoffNotMet returns a boolean if a field has been set. + +### GetAudioTags + +`func (o *TrackFileResource) GetAudioTags() ParsedTrackInfo` + +GetAudioTags returns the AudioTags field if non-nil, zero value otherwise. + +### GetAudioTagsOk + +`func (o *TrackFileResource) GetAudioTagsOk() (*ParsedTrackInfo, bool)` + +GetAudioTagsOk returns a tuple with the AudioTags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudioTags + +`func (o *TrackFileResource) SetAudioTags(v ParsedTrackInfo)` + +SetAudioTags sets AudioTags field to given value. + +### HasAudioTags + +`func (o *TrackFileResource) HasAudioTags() bool` + +HasAudioTags returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackListLazyLoaded.md b/lidarr/docs/TrackListLazyLoaded.md new file mode 100644 index 0000000..d490a66 --- /dev/null +++ b/lidarr/docs/TrackListLazyLoaded.md @@ -0,0 +1,92 @@ +# TrackListLazyLoaded + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | Pointer to [**[]Track**](Track.md) | | [optional] [readonly] +**IsLoaded** | Pointer to **bool** | | [optional] [readonly] + +## Methods + +### NewTrackListLazyLoaded + +`func NewTrackListLazyLoaded() *TrackListLazyLoaded` + +NewTrackListLazyLoaded instantiates a new TrackListLazyLoaded object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackListLazyLoadedWithDefaults + +`func NewTrackListLazyLoadedWithDefaults() *TrackListLazyLoaded` + +NewTrackListLazyLoadedWithDefaults instantiates a new TrackListLazyLoaded object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *TrackListLazyLoaded) GetValue() []Track` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *TrackListLazyLoaded) GetValueOk() (*[]Track, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *TrackListLazyLoaded) SetValue(v []Track)` + +SetValue sets Value field to given value. + +### HasValue + +`func (o *TrackListLazyLoaded) HasValue() bool` + +HasValue returns a boolean if a field has been set. + +### SetValueNil + +`func (o *TrackListLazyLoaded) SetValueNil(b bool)` + + SetValueNil sets the value for Value to be an explicit nil + +### UnsetValue +`func (o *TrackListLazyLoaded) UnsetValue()` + +UnsetValue ensures that no value is present for Value, not even an explicit nil +### GetIsLoaded + +`func (o *TrackListLazyLoaded) GetIsLoaded() bool` + +GetIsLoaded returns the IsLoaded field if non-nil, zero value otherwise. + +### GetIsLoadedOk + +`func (o *TrackListLazyLoaded) GetIsLoadedOk() (*bool, bool)` + +GetIsLoadedOk returns a tuple with the IsLoaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLoaded + +`func (o *TrackListLazyLoaded) SetIsLoaded(v bool)` + +SetIsLoaded sets IsLoaded field to given value. + +### HasIsLoaded + +`func (o *TrackListLazyLoaded) HasIsLoaded() bool` + +HasIsLoaded returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackResource.md b/lidarr/docs/TrackResource.md new file mode 100644 index 0000000..3a94b77 --- /dev/null +++ b/lidarr/docs/TrackResource.md @@ -0,0 +1,512 @@ +# TrackResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**ArtistId** | Pointer to **int32** | | [optional] +**ForeignTrackId** | Pointer to **NullableString** | | [optional] +**ForeignRecordingId** | Pointer to **NullableString** | | [optional] +**TrackFileId** | Pointer to **int32** | | [optional] +**AlbumId** | Pointer to **int32** | | [optional] +**Explicit** | Pointer to **bool** | | [optional] +**AbsoluteTrackNumber** | Pointer to **int32** | | [optional] +**TrackNumber** | Pointer to **NullableString** | | [optional] +**Title** | Pointer to **NullableString** | | [optional] +**Duration** | Pointer to **int32** | | [optional] +**TrackFile** | Pointer to [**TrackFileResource**](TrackFileResource.md) | | [optional] +**MediumNumber** | Pointer to **int32** | | [optional] +**HasFile** | Pointer to **bool** | | [optional] +**Artist** | Pointer to [**ArtistResource**](ArtistResource.md) | | [optional] +**Ratings** | Pointer to [**Ratings**](Ratings.md) | | [optional] +**Grabbed** | Pointer to **bool** | | [optional] + +## Methods + +### NewTrackResource + +`func NewTrackResource() *TrackResource` + +NewTrackResource instantiates a new TrackResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackResourceWithDefaults + +`func NewTrackResourceWithDefaults() *TrackResource` + +NewTrackResourceWithDefaults instantiates a new TrackResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *TrackResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *TrackResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *TrackResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *TrackResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetArtistId + +`func (o *TrackResource) GetArtistId() int32` + +GetArtistId returns the ArtistId field if non-nil, zero value otherwise. + +### GetArtistIdOk + +`func (o *TrackResource) GetArtistIdOk() (*int32, bool)` + +GetArtistIdOk returns a tuple with the ArtistId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtistId + +`func (o *TrackResource) SetArtistId(v int32)` + +SetArtistId sets ArtistId field to given value. + +### HasArtistId + +`func (o *TrackResource) HasArtistId() bool` + +HasArtistId returns a boolean if a field has been set. + +### GetForeignTrackId + +`func (o *TrackResource) GetForeignTrackId() string` + +GetForeignTrackId returns the ForeignTrackId field if non-nil, zero value otherwise. + +### GetForeignTrackIdOk + +`func (o *TrackResource) GetForeignTrackIdOk() (*string, bool)` + +GetForeignTrackIdOk returns a tuple with the ForeignTrackId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignTrackId + +`func (o *TrackResource) SetForeignTrackId(v string)` + +SetForeignTrackId sets ForeignTrackId field to given value. + +### HasForeignTrackId + +`func (o *TrackResource) HasForeignTrackId() bool` + +HasForeignTrackId returns a boolean if a field has been set. + +### SetForeignTrackIdNil + +`func (o *TrackResource) SetForeignTrackIdNil(b bool)` + + SetForeignTrackIdNil sets the value for ForeignTrackId to be an explicit nil + +### UnsetForeignTrackId +`func (o *TrackResource) UnsetForeignTrackId()` + +UnsetForeignTrackId ensures that no value is present for ForeignTrackId, not even an explicit nil +### GetForeignRecordingId + +`func (o *TrackResource) GetForeignRecordingId() string` + +GetForeignRecordingId returns the ForeignRecordingId field if non-nil, zero value otherwise. + +### GetForeignRecordingIdOk + +`func (o *TrackResource) GetForeignRecordingIdOk() (*string, bool)` + +GetForeignRecordingIdOk returns a tuple with the ForeignRecordingId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForeignRecordingId + +`func (o *TrackResource) SetForeignRecordingId(v string)` + +SetForeignRecordingId sets ForeignRecordingId field to given value. + +### HasForeignRecordingId + +`func (o *TrackResource) HasForeignRecordingId() bool` + +HasForeignRecordingId returns a boolean if a field has been set. + +### SetForeignRecordingIdNil + +`func (o *TrackResource) SetForeignRecordingIdNil(b bool)` + + SetForeignRecordingIdNil sets the value for ForeignRecordingId to be an explicit nil + +### UnsetForeignRecordingId +`func (o *TrackResource) UnsetForeignRecordingId()` + +UnsetForeignRecordingId ensures that no value is present for ForeignRecordingId, not even an explicit nil +### GetTrackFileId + +`func (o *TrackResource) GetTrackFileId() int32` + +GetTrackFileId returns the TrackFileId field if non-nil, zero value otherwise. + +### GetTrackFileIdOk + +`func (o *TrackResource) GetTrackFileIdOk() (*int32, bool)` + +GetTrackFileIdOk returns a tuple with the TrackFileId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFileId + +`func (o *TrackResource) SetTrackFileId(v int32)` + +SetTrackFileId sets TrackFileId field to given value. + +### HasTrackFileId + +`func (o *TrackResource) HasTrackFileId() bool` + +HasTrackFileId returns a boolean if a field has been set. + +### GetAlbumId + +`func (o *TrackResource) GetAlbumId() int32` + +GetAlbumId returns the AlbumId field if non-nil, zero value otherwise. + +### GetAlbumIdOk + +`func (o *TrackResource) GetAlbumIdOk() (*int32, bool)` + +GetAlbumIdOk returns a tuple with the AlbumId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlbumId + +`func (o *TrackResource) SetAlbumId(v int32)` + +SetAlbumId sets AlbumId field to given value. + +### HasAlbumId + +`func (o *TrackResource) HasAlbumId() bool` + +HasAlbumId returns a boolean if a field has been set. + +### GetExplicit + +`func (o *TrackResource) GetExplicit() bool` + +GetExplicit returns the Explicit field if non-nil, zero value otherwise. + +### GetExplicitOk + +`func (o *TrackResource) GetExplicitOk() (*bool, bool)` + +GetExplicitOk returns a tuple with the Explicit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExplicit + +`func (o *TrackResource) SetExplicit(v bool)` + +SetExplicit sets Explicit field to given value. + +### HasExplicit + +`func (o *TrackResource) HasExplicit() bool` + +HasExplicit returns a boolean if a field has been set. + +### GetAbsoluteTrackNumber + +`func (o *TrackResource) GetAbsoluteTrackNumber() int32` + +GetAbsoluteTrackNumber returns the AbsoluteTrackNumber field if non-nil, zero value otherwise. + +### GetAbsoluteTrackNumberOk + +`func (o *TrackResource) GetAbsoluteTrackNumberOk() (*int32, bool)` + +GetAbsoluteTrackNumberOk returns a tuple with the AbsoluteTrackNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAbsoluteTrackNumber + +`func (o *TrackResource) SetAbsoluteTrackNumber(v int32)` + +SetAbsoluteTrackNumber sets AbsoluteTrackNumber field to given value. + +### HasAbsoluteTrackNumber + +`func (o *TrackResource) HasAbsoluteTrackNumber() bool` + +HasAbsoluteTrackNumber returns a boolean if a field has been set. + +### GetTrackNumber + +`func (o *TrackResource) GetTrackNumber() string` + +GetTrackNumber returns the TrackNumber field if non-nil, zero value otherwise. + +### GetTrackNumberOk + +`func (o *TrackResource) GetTrackNumberOk() (*string, bool)` + +GetTrackNumberOk returns a tuple with the TrackNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackNumber + +`func (o *TrackResource) SetTrackNumber(v string)` + +SetTrackNumber sets TrackNumber field to given value. + +### HasTrackNumber + +`func (o *TrackResource) HasTrackNumber() bool` + +HasTrackNumber returns a boolean if a field has been set. + +### SetTrackNumberNil + +`func (o *TrackResource) SetTrackNumberNil(b bool)` + + SetTrackNumberNil sets the value for TrackNumber to be an explicit nil + +### UnsetTrackNumber +`func (o *TrackResource) UnsetTrackNumber()` + +UnsetTrackNumber ensures that no value is present for TrackNumber, not even an explicit nil +### GetTitle + +`func (o *TrackResource) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *TrackResource) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *TrackResource) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *TrackResource) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *TrackResource) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *TrackResource) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetDuration + +`func (o *TrackResource) GetDuration() int32` + +GetDuration returns the Duration field if non-nil, zero value otherwise. + +### GetDurationOk + +`func (o *TrackResource) GetDurationOk() (*int32, bool)` + +GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDuration + +`func (o *TrackResource) SetDuration(v int32)` + +SetDuration sets Duration field to given value. + +### HasDuration + +`func (o *TrackResource) HasDuration() bool` + +HasDuration returns a boolean if a field has been set. + +### GetTrackFile + +`func (o *TrackResource) GetTrackFile() TrackFileResource` + +GetTrackFile returns the TrackFile field if non-nil, zero value otherwise. + +### GetTrackFileOk + +`func (o *TrackResource) GetTrackFileOk() (*TrackFileResource, bool)` + +GetTrackFileOk returns a tuple with the TrackFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTrackFile + +`func (o *TrackResource) SetTrackFile(v TrackFileResource)` + +SetTrackFile sets TrackFile field to given value. + +### HasTrackFile + +`func (o *TrackResource) HasTrackFile() bool` + +HasTrackFile returns a boolean if a field has been set. + +### GetMediumNumber + +`func (o *TrackResource) GetMediumNumber() int32` + +GetMediumNumber returns the MediumNumber field if non-nil, zero value otherwise. + +### GetMediumNumberOk + +`func (o *TrackResource) GetMediumNumberOk() (*int32, bool)` + +GetMediumNumberOk returns a tuple with the MediumNumber field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMediumNumber + +`func (o *TrackResource) SetMediumNumber(v int32)` + +SetMediumNumber sets MediumNumber field to given value. + +### HasMediumNumber + +`func (o *TrackResource) HasMediumNumber() bool` + +HasMediumNumber returns a boolean if a field has been set. + +### GetHasFile + +`func (o *TrackResource) GetHasFile() bool` + +GetHasFile returns the HasFile field if non-nil, zero value otherwise. + +### GetHasFileOk + +`func (o *TrackResource) GetHasFileOk() (*bool, bool)` + +GetHasFileOk returns a tuple with the HasFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasFile + +`func (o *TrackResource) SetHasFile(v bool)` + +SetHasFile sets HasFile field to given value. + +### HasHasFile + +`func (o *TrackResource) HasHasFile() bool` + +HasHasFile returns a boolean if a field has been set. + +### GetArtist + +`func (o *TrackResource) GetArtist() ArtistResource` + +GetArtist returns the Artist field if non-nil, zero value otherwise. + +### GetArtistOk + +`func (o *TrackResource) GetArtistOk() (*ArtistResource, bool)` + +GetArtistOk returns a tuple with the Artist field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtist + +`func (o *TrackResource) SetArtist(v ArtistResource)` + +SetArtist sets Artist field to given value. + +### HasArtist + +`func (o *TrackResource) HasArtist() bool` + +HasArtist returns a boolean if a field has been set. + +### GetRatings + +`func (o *TrackResource) GetRatings() Ratings` + +GetRatings returns the Ratings field if non-nil, zero value otherwise. + +### GetRatingsOk + +`func (o *TrackResource) GetRatingsOk() (*Ratings, bool)` + +GetRatingsOk returns a tuple with the Ratings field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRatings + +`func (o *TrackResource) SetRatings(v Ratings)` + +SetRatings sets Ratings field to given value. + +### HasRatings + +`func (o *TrackResource) HasRatings() bool` + +HasRatings returns a boolean if a field has been set. + +### GetGrabbed + +`func (o *TrackResource) GetGrabbed() bool` + +GetGrabbed returns the Grabbed field if non-nil, zero value otherwise. + +### GetGrabbedOk + +`func (o *TrackResource) GetGrabbedOk() (*bool, bool)` + +GetGrabbedOk returns a tuple with the Grabbed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGrabbed + +`func (o *TrackResource) SetGrabbed(v bool)` + +SetGrabbed sets Grabbed field to given value. + +### HasGrabbed + +`func (o *TrackResource) HasGrabbed() bool` + +HasGrabbed returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackedDownloadState.md b/lidarr/docs/TrackedDownloadState.md new file mode 100644 index 0000000..3a53462 --- /dev/null +++ b/lidarr/docs/TrackedDownloadState.md @@ -0,0 +1,25 @@ +# TrackedDownloadState + +## Enum + + +* `DOWNLOADING` (value: `"downloading"`) + +* `DOWNLOAD_FAILED` (value: `"downloadFailed"`) + +* `DOWNLOAD_FAILED_PENDING` (value: `"downloadFailedPending"`) + +* `IMPORT_PENDING` (value: `"importPending"`) + +* `IMPORTING` (value: `"importing"`) + +* `IMPORT_FAILED` (value: `"importFailed"`) + +* `IMPORTED` (value: `"imported"`) + +* `IGNORED` (value: `"ignored"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackedDownloadStatus.md b/lidarr/docs/TrackedDownloadStatus.md new file mode 100644 index 0000000..b58e0d3 --- /dev/null +++ b/lidarr/docs/TrackedDownloadStatus.md @@ -0,0 +1,15 @@ +# TrackedDownloadStatus + +## Enum + + +* `OK` (value: `"ok"`) + +* `WARNING` (value: `"warning"`) + +* `ERROR` (value: `"error"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/TrackedDownloadStatusMessage.md b/lidarr/docs/TrackedDownloadStatusMessage.md new file mode 100644 index 0000000..ef2c98f --- /dev/null +++ b/lidarr/docs/TrackedDownloadStatusMessage.md @@ -0,0 +1,102 @@ +# TrackedDownloadStatusMessage + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Title** | Pointer to **NullableString** | | [optional] +**Messages** | Pointer to **[]string** | | [optional] + +## Methods + +### NewTrackedDownloadStatusMessage + +`func NewTrackedDownloadStatusMessage() *TrackedDownloadStatusMessage` + +NewTrackedDownloadStatusMessage instantiates a new TrackedDownloadStatusMessage object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewTrackedDownloadStatusMessageWithDefaults + +`func NewTrackedDownloadStatusMessageWithDefaults() *TrackedDownloadStatusMessage` + +NewTrackedDownloadStatusMessageWithDefaults instantiates a new TrackedDownloadStatusMessage object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetTitle + +`func (o *TrackedDownloadStatusMessage) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *TrackedDownloadStatusMessage) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *TrackedDownloadStatusMessage) SetTitle(v string)` + +SetTitle sets Title field to given value. + +### HasTitle + +`func (o *TrackedDownloadStatusMessage) HasTitle() bool` + +HasTitle returns a boolean if a field has been set. + +### SetTitleNil + +`func (o *TrackedDownloadStatusMessage) SetTitleNil(b bool)` + + SetTitleNil sets the value for Title to be an explicit nil + +### UnsetTitle +`func (o *TrackedDownloadStatusMessage) UnsetTitle()` + +UnsetTitle ensures that no value is present for Title, not even an explicit nil +### GetMessages + +`func (o *TrackedDownloadStatusMessage) GetMessages() []string` + +GetMessages returns the Messages field if non-nil, zero value otherwise. + +### GetMessagesOk + +`func (o *TrackedDownloadStatusMessage) GetMessagesOk() (*[]string, bool)` + +GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessages + +`func (o *TrackedDownloadStatusMessage) SetMessages(v []string)` + +SetMessages sets Messages field to given value. + +### HasMessages + +`func (o *TrackedDownloadStatusMessage) HasMessages() bool` + +HasMessages returns a boolean if a field has been set. + +### SetMessagesNil + +`func (o *TrackedDownloadStatusMessage) SetMessagesNil(b bool)` + + SetMessagesNil sets the value for Messages to be an explicit nil + +### UnsetMessages +`func (o *TrackedDownloadStatusMessage) UnsetMessages()` + +UnsetMessages ensures that no value is present for Messages, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/UiConfigApi.md b/lidarr/docs/UiConfigApi.md new file mode 100644 index 0000000..7549700 --- /dev/null +++ b/lidarr/docs/UiConfigApi.md @@ -0,0 +1,208 @@ +# \UiConfigApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1ConfigUi**](UiConfigApi.md#GetApiV1ConfigUi) | **Get** /api/v1/config/ui | +[**GetApiV1ConfigUiById**](UiConfigApi.md#GetApiV1ConfigUiById) | **Get** /api/v1/config/ui/{id} | +[**UpdateApiV1ConfigUi**](UiConfigApi.md#UpdateApiV1ConfigUi) | **Put** /api/v1/config/ui/{id} | + + + +## GetApiV1ConfigUi + +> UiConfigResource GetApiV1ConfigUi(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UiConfigApi.GetApiV1ConfigUi(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.GetApiV1ConfigUi``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigUi`: UiConfigResource + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.GetApiV1ConfigUi`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigUiRequest struct via the builder pattern + + +### Return type + +[**UiConfigResource**](UiConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## GetApiV1ConfigUiById + +> UiConfigResource GetApiV1ConfigUiById(ctx, id).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := int32(56) // int32 | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UiConfigApi.GetApiV1ConfigUiById(context.Background(), id).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.GetApiV1ConfigUiById``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `GetApiV1ConfigUiById`: UiConfigResource + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.GetApiV1ConfigUiById`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **int32** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1ConfigUiByIdRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + +[**UiConfigResource**](UiConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## UpdateApiV1ConfigUi + +> UiConfigResource UpdateApiV1ConfigUi(ctx, id).UiConfigResource(uiConfigResource).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + id := "id_example" // string | + uiConfigResource := *lidarrClient.NewUiConfigResource() // UiConfigResource | (optional) + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UiConfigApi.UpdateApiV1ConfigUi(context.Background(), id).UiConfigResource(uiConfigResource).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UiConfigApi.UpdateApiV1ConfigUi``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `UpdateApiV1ConfigUi`: UiConfigResource + fmt.Fprintf(os.Stdout, "Response from `UiConfigApi.UpdateApiV1ConfigUi`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**id** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiUpdateApiV1ConfigUiRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **uiConfigResource** | [**UiConfigResource**](UiConfigResource.md) | | + +### Return type + +[**UiConfigResource**](UiConfigResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json, text/json, application/*+json +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/UiConfigResource.md b/lidarr/docs/UiConfigResource.md new file mode 100644 index 0000000..bb57750 --- /dev/null +++ b/lidarr/docs/UiConfigResource.md @@ -0,0 +1,470 @@ +# UiConfigResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**FirstDayOfWeek** | Pointer to **int32** | | [optional] +**CalendarWeekColumnHeader** | Pointer to **NullableString** | | [optional] +**ShortDateFormat** | Pointer to **NullableString** | | [optional] +**LongDateFormat** | Pointer to **NullableString** | | [optional] +**TimeFormat** | Pointer to **NullableString** | | [optional] +**ShowRelativeDates** | Pointer to **bool** | | [optional] +**EnableColorImpairedMode** | Pointer to **bool** | | [optional] +**UiLanguage** | Pointer to **int32** | | [optional] +**ExpandAlbumByDefault** | Pointer to **bool** | | [optional] +**ExpandSingleByDefault** | Pointer to **bool** | | [optional] +**ExpandEPByDefault** | Pointer to **bool** | | [optional] +**ExpandBroadcastByDefault** | Pointer to **bool** | | [optional] +**ExpandOtherByDefault** | Pointer to **bool** | | [optional] +**Theme** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewUiConfigResource + +`func NewUiConfigResource() *UiConfigResource` + +NewUiConfigResource instantiates a new UiConfigResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUiConfigResourceWithDefaults + +`func NewUiConfigResourceWithDefaults() *UiConfigResource` + +NewUiConfigResourceWithDefaults instantiates a new UiConfigResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *UiConfigResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *UiConfigResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *UiConfigResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *UiConfigResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetFirstDayOfWeek + +`func (o *UiConfigResource) GetFirstDayOfWeek() int32` + +GetFirstDayOfWeek returns the FirstDayOfWeek field if non-nil, zero value otherwise. + +### GetFirstDayOfWeekOk + +`func (o *UiConfigResource) GetFirstDayOfWeekOk() (*int32, bool)` + +GetFirstDayOfWeekOk returns a tuple with the FirstDayOfWeek field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFirstDayOfWeek + +`func (o *UiConfigResource) SetFirstDayOfWeek(v int32)` + +SetFirstDayOfWeek sets FirstDayOfWeek field to given value. + +### HasFirstDayOfWeek + +`func (o *UiConfigResource) HasFirstDayOfWeek() bool` + +HasFirstDayOfWeek returns a boolean if a field has been set. + +### GetCalendarWeekColumnHeader + +`func (o *UiConfigResource) GetCalendarWeekColumnHeader() string` + +GetCalendarWeekColumnHeader returns the CalendarWeekColumnHeader field if non-nil, zero value otherwise. + +### GetCalendarWeekColumnHeaderOk + +`func (o *UiConfigResource) GetCalendarWeekColumnHeaderOk() (*string, bool)` + +GetCalendarWeekColumnHeaderOk returns a tuple with the CalendarWeekColumnHeader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCalendarWeekColumnHeader + +`func (o *UiConfigResource) SetCalendarWeekColumnHeader(v string)` + +SetCalendarWeekColumnHeader sets CalendarWeekColumnHeader field to given value. + +### HasCalendarWeekColumnHeader + +`func (o *UiConfigResource) HasCalendarWeekColumnHeader() bool` + +HasCalendarWeekColumnHeader returns a boolean if a field has been set. + +### SetCalendarWeekColumnHeaderNil + +`func (o *UiConfigResource) SetCalendarWeekColumnHeaderNil(b bool)` + + SetCalendarWeekColumnHeaderNil sets the value for CalendarWeekColumnHeader to be an explicit nil + +### UnsetCalendarWeekColumnHeader +`func (o *UiConfigResource) UnsetCalendarWeekColumnHeader()` + +UnsetCalendarWeekColumnHeader ensures that no value is present for CalendarWeekColumnHeader, not even an explicit nil +### GetShortDateFormat + +`func (o *UiConfigResource) GetShortDateFormat() string` + +GetShortDateFormat returns the ShortDateFormat field if non-nil, zero value otherwise. + +### GetShortDateFormatOk + +`func (o *UiConfigResource) GetShortDateFormatOk() (*string, bool)` + +GetShortDateFormatOk returns a tuple with the ShortDateFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShortDateFormat + +`func (o *UiConfigResource) SetShortDateFormat(v string)` + +SetShortDateFormat sets ShortDateFormat field to given value. + +### HasShortDateFormat + +`func (o *UiConfigResource) HasShortDateFormat() bool` + +HasShortDateFormat returns a boolean if a field has been set. + +### SetShortDateFormatNil + +`func (o *UiConfigResource) SetShortDateFormatNil(b bool)` + + SetShortDateFormatNil sets the value for ShortDateFormat to be an explicit nil + +### UnsetShortDateFormat +`func (o *UiConfigResource) UnsetShortDateFormat()` + +UnsetShortDateFormat ensures that no value is present for ShortDateFormat, not even an explicit nil +### GetLongDateFormat + +`func (o *UiConfigResource) GetLongDateFormat() string` + +GetLongDateFormat returns the LongDateFormat field if non-nil, zero value otherwise. + +### GetLongDateFormatOk + +`func (o *UiConfigResource) GetLongDateFormatOk() (*string, bool)` + +GetLongDateFormatOk returns a tuple with the LongDateFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLongDateFormat + +`func (o *UiConfigResource) SetLongDateFormat(v string)` + +SetLongDateFormat sets LongDateFormat field to given value. + +### HasLongDateFormat + +`func (o *UiConfigResource) HasLongDateFormat() bool` + +HasLongDateFormat returns a boolean if a field has been set. + +### SetLongDateFormatNil + +`func (o *UiConfigResource) SetLongDateFormatNil(b bool)` + + SetLongDateFormatNil sets the value for LongDateFormat to be an explicit nil + +### UnsetLongDateFormat +`func (o *UiConfigResource) UnsetLongDateFormat()` + +UnsetLongDateFormat ensures that no value is present for LongDateFormat, not even an explicit nil +### GetTimeFormat + +`func (o *UiConfigResource) GetTimeFormat() string` + +GetTimeFormat returns the TimeFormat field if non-nil, zero value otherwise. + +### GetTimeFormatOk + +`func (o *UiConfigResource) GetTimeFormatOk() (*string, bool)` + +GetTimeFormatOk returns a tuple with the TimeFormat field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTimeFormat + +`func (o *UiConfigResource) SetTimeFormat(v string)` + +SetTimeFormat sets TimeFormat field to given value. + +### HasTimeFormat + +`func (o *UiConfigResource) HasTimeFormat() bool` + +HasTimeFormat returns a boolean if a field has been set. + +### SetTimeFormatNil + +`func (o *UiConfigResource) SetTimeFormatNil(b bool)` + + SetTimeFormatNil sets the value for TimeFormat to be an explicit nil + +### UnsetTimeFormat +`func (o *UiConfigResource) UnsetTimeFormat()` + +UnsetTimeFormat ensures that no value is present for TimeFormat, not even an explicit nil +### GetShowRelativeDates + +`func (o *UiConfigResource) GetShowRelativeDates() bool` + +GetShowRelativeDates returns the ShowRelativeDates field if non-nil, zero value otherwise. + +### GetShowRelativeDatesOk + +`func (o *UiConfigResource) GetShowRelativeDatesOk() (*bool, bool)` + +GetShowRelativeDatesOk returns a tuple with the ShowRelativeDates field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetShowRelativeDates + +`func (o *UiConfigResource) SetShowRelativeDates(v bool)` + +SetShowRelativeDates sets ShowRelativeDates field to given value. + +### HasShowRelativeDates + +`func (o *UiConfigResource) HasShowRelativeDates() bool` + +HasShowRelativeDates returns a boolean if a field has been set. + +### GetEnableColorImpairedMode + +`func (o *UiConfigResource) GetEnableColorImpairedMode() bool` + +GetEnableColorImpairedMode returns the EnableColorImpairedMode field if non-nil, zero value otherwise. + +### GetEnableColorImpairedModeOk + +`func (o *UiConfigResource) GetEnableColorImpairedModeOk() (*bool, bool)` + +GetEnableColorImpairedModeOk returns a tuple with the EnableColorImpairedMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableColorImpairedMode + +`func (o *UiConfigResource) SetEnableColorImpairedMode(v bool)` + +SetEnableColorImpairedMode sets EnableColorImpairedMode field to given value. + +### HasEnableColorImpairedMode + +`func (o *UiConfigResource) HasEnableColorImpairedMode() bool` + +HasEnableColorImpairedMode returns a boolean if a field has been set. + +### GetUiLanguage + +`func (o *UiConfigResource) GetUiLanguage() int32` + +GetUiLanguage returns the UiLanguage field if non-nil, zero value otherwise. + +### GetUiLanguageOk + +`func (o *UiConfigResource) GetUiLanguageOk() (*int32, bool)` + +GetUiLanguageOk returns a tuple with the UiLanguage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUiLanguage + +`func (o *UiConfigResource) SetUiLanguage(v int32)` + +SetUiLanguage sets UiLanguage field to given value. + +### HasUiLanguage + +`func (o *UiConfigResource) HasUiLanguage() bool` + +HasUiLanguage returns a boolean if a field has been set. + +### GetExpandAlbumByDefault + +`func (o *UiConfigResource) GetExpandAlbumByDefault() bool` + +GetExpandAlbumByDefault returns the ExpandAlbumByDefault field if non-nil, zero value otherwise. + +### GetExpandAlbumByDefaultOk + +`func (o *UiConfigResource) GetExpandAlbumByDefaultOk() (*bool, bool)` + +GetExpandAlbumByDefaultOk returns a tuple with the ExpandAlbumByDefault field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpandAlbumByDefault + +`func (o *UiConfigResource) SetExpandAlbumByDefault(v bool)` + +SetExpandAlbumByDefault sets ExpandAlbumByDefault field to given value. + +### HasExpandAlbumByDefault + +`func (o *UiConfigResource) HasExpandAlbumByDefault() bool` + +HasExpandAlbumByDefault returns a boolean if a field has been set. + +### GetExpandSingleByDefault + +`func (o *UiConfigResource) GetExpandSingleByDefault() bool` + +GetExpandSingleByDefault returns the ExpandSingleByDefault field if non-nil, zero value otherwise. + +### GetExpandSingleByDefaultOk + +`func (o *UiConfigResource) GetExpandSingleByDefaultOk() (*bool, bool)` + +GetExpandSingleByDefaultOk returns a tuple with the ExpandSingleByDefault field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpandSingleByDefault + +`func (o *UiConfigResource) SetExpandSingleByDefault(v bool)` + +SetExpandSingleByDefault sets ExpandSingleByDefault field to given value. + +### HasExpandSingleByDefault + +`func (o *UiConfigResource) HasExpandSingleByDefault() bool` + +HasExpandSingleByDefault returns a boolean if a field has been set. + +### GetExpandEPByDefault + +`func (o *UiConfigResource) GetExpandEPByDefault() bool` + +GetExpandEPByDefault returns the ExpandEPByDefault field if non-nil, zero value otherwise. + +### GetExpandEPByDefaultOk + +`func (o *UiConfigResource) GetExpandEPByDefaultOk() (*bool, bool)` + +GetExpandEPByDefaultOk returns a tuple with the ExpandEPByDefault field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpandEPByDefault + +`func (o *UiConfigResource) SetExpandEPByDefault(v bool)` + +SetExpandEPByDefault sets ExpandEPByDefault field to given value. + +### HasExpandEPByDefault + +`func (o *UiConfigResource) HasExpandEPByDefault() bool` + +HasExpandEPByDefault returns a boolean if a field has been set. + +### GetExpandBroadcastByDefault + +`func (o *UiConfigResource) GetExpandBroadcastByDefault() bool` + +GetExpandBroadcastByDefault returns the ExpandBroadcastByDefault field if non-nil, zero value otherwise. + +### GetExpandBroadcastByDefaultOk + +`func (o *UiConfigResource) GetExpandBroadcastByDefaultOk() (*bool, bool)` + +GetExpandBroadcastByDefaultOk returns a tuple with the ExpandBroadcastByDefault field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpandBroadcastByDefault + +`func (o *UiConfigResource) SetExpandBroadcastByDefault(v bool)` + +SetExpandBroadcastByDefault sets ExpandBroadcastByDefault field to given value. + +### HasExpandBroadcastByDefault + +`func (o *UiConfigResource) HasExpandBroadcastByDefault() bool` + +HasExpandBroadcastByDefault returns a boolean if a field has been set. + +### GetExpandOtherByDefault + +`func (o *UiConfigResource) GetExpandOtherByDefault() bool` + +GetExpandOtherByDefault returns the ExpandOtherByDefault field if non-nil, zero value otherwise. + +### GetExpandOtherByDefaultOk + +`func (o *UiConfigResource) GetExpandOtherByDefaultOk() (*bool, bool)` + +GetExpandOtherByDefaultOk returns a tuple with the ExpandOtherByDefault field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpandOtherByDefault + +`func (o *UiConfigResource) SetExpandOtherByDefault(v bool)` + +SetExpandOtherByDefault sets ExpandOtherByDefault field to given value. + +### HasExpandOtherByDefault + +`func (o *UiConfigResource) HasExpandOtherByDefault() bool` + +HasExpandOtherByDefault returns a boolean if a field has been set. + +### GetTheme + +`func (o *UiConfigResource) GetTheme() string` + +GetTheme returns the Theme field if non-nil, zero value otherwise. + +### GetThemeOk + +`func (o *UiConfigResource) GetThemeOk() (*string, bool)` + +GetThemeOk returns a tuple with the Theme field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTheme + +`func (o *UiConfigResource) SetTheme(v string)` + +SetTheme sets Theme field to given value. + +### HasTheme + +`func (o *UiConfigResource) HasTheme() bool` + +HasTheme returns a boolean if a field has been set. + +### SetThemeNil + +`func (o *UiConfigResource) SetThemeNil(b bool)` + + SetThemeNil sets the value for Theme to be an explicit nil + +### UnsetTheme +`func (o *UiConfigResource) UnsetTheme()` + +UnsetTheme ensures that no value is present for Theme, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/UpdateApi.md b/lidarr/docs/UpdateApi.md new file mode 100644 index 0000000..c3230d5 --- /dev/null +++ b/lidarr/docs/UpdateApi.md @@ -0,0 +1,68 @@ +# \UpdateApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ListApiV1Update**](UpdateApi.md#ListApiV1Update) | **Get** /api/v1/update | + + + +## ListApiV1Update + +> []UpdateResource ListApiV1Update(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UpdateApi.ListApiV1Update(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UpdateApi.ListApiV1Update``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1Update`: []UpdateResource + fmt.Fprintf(os.Stdout, "Response from `UpdateApi.ListApiV1Update`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1UpdateRequest struct via the builder pattern + + +### Return type + +[**[]UpdateResource**](UpdateResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/UpdateChanges.md b/lidarr/docs/UpdateChanges.md new file mode 100644 index 0000000..8ec5d5d --- /dev/null +++ b/lidarr/docs/UpdateChanges.md @@ -0,0 +1,102 @@ +# UpdateChanges + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**New** | Pointer to **[]string** | | [optional] +**Fixed** | Pointer to **[]string** | | [optional] + +## Methods + +### NewUpdateChanges + +`func NewUpdateChanges() *UpdateChanges` + +NewUpdateChanges instantiates a new UpdateChanges object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateChangesWithDefaults + +`func NewUpdateChangesWithDefaults() *UpdateChanges` + +NewUpdateChangesWithDefaults instantiates a new UpdateChanges object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetNew + +`func (o *UpdateChanges) GetNew() []string` + +GetNew returns the New field if non-nil, zero value otherwise. + +### GetNewOk + +`func (o *UpdateChanges) GetNewOk() (*[]string, bool)` + +GetNewOk returns a tuple with the New field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNew + +`func (o *UpdateChanges) SetNew(v []string)` + +SetNew sets New field to given value. + +### HasNew + +`func (o *UpdateChanges) HasNew() bool` + +HasNew returns a boolean if a field has been set. + +### SetNewNil + +`func (o *UpdateChanges) SetNewNil(b bool)` + + SetNewNil sets the value for New to be an explicit nil + +### UnsetNew +`func (o *UpdateChanges) UnsetNew()` + +UnsetNew ensures that no value is present for New, not even an explicit nil +### GetFixed + +`func (o *UpdateChanges) GetFixed() []string` + +GetFixed returns the Fixed field if non-nil, zero value otherwise. + +### GetFixedOk + +`func (o *UpdateChanges) GetFixedOk() (*[]string, bool)` + +GetFixedOk returns a tuple with the Fixed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFixed + +`func (o *UpdateChanges) SetFixed(v []string)` + +SetFixed sets Fixed field to given value. + +### HasFixed + +`func (o *UpdateChanges) HasFixed() bool` + +HasFixed returns a boolean if a field has been set. + +### SetFixedNil + +`func (o *UpdateChanges) SetFixedNil(b bool)` + + SetFixedNil sets the value for Fixed to be an explicit nil + +### UnsetFixed +`func (o *UpdateChanges) UnsetFixed()` + +UnsetFixed ensures that no value is present for Fixed, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/UpdateLogFileApi.md b/lidarr/docs/UpdateLogFileApi.md new file mode 100644 index 0000000..eed58c6 --- /dev/null +++ b/lidarr/docs/UpdateLogFileApi.md @@ -0,0 +1,135 @@ +# \UpdateLogFileApi + +All URIs are relative to *http://localhost:8686* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**GetApiV1LogFileUpdateByFilename**](UpdateLogFileApi.md#GetApiV1LogFileUpdateByFilename) | **Get** /api/v1/log/file/update/{filename} | +[**ListApiV1LogFileUpdate**](UpdateLogFileApi.md#ListApiV1LogFileUpdate) | **Get** /api/v1/log/file/update | + + + +## GetApiV1LogFileUpdateByFilename + +> GetApiV1LogFileUpdateByFilename(ctx, filename).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + filename := "filename_example" // string | + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UpdateLogFileApi.GetApiV1LogFileUpdateByFilename(context.Background(), filename).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileApi.GetApiV1LogFileUpdateByFilename``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**filename** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiGetApiV1LogFileUpdateByFilenameRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + +### Return type + + (empty response body) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ListApiV1LogFileUpdate + +> []LogFileResource ListApiV1LogFileUpdate(ctx).Execute() + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + lidarrClient "./openapi" +) + +func main() { + + configuration := lidarrClient.NewConfiguration() + apiClient := lidarrClient.NewAPIClient(configuration) + resp, r, err := apiClient.UpdateLogFileApi.ListApiV1LogFileUpdate(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `UpdateLogFileApi.ListApiV1LogFileUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListApiV1LogFileUpdate`: []LogFileResource + fmt.Fprintf(os.Stdout, "Response from `UpdateLogFileApi.ListApiV1LogFileUpdate`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiListApiV1LogFileUpdateRequest struct via the builder pattern + + +### Return type + +[**[]LogFileResource**](LogFileResource.md) + +### Authorization + +[X-Api-Key](../README.md#X-Api-Key), [apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/lidarr/docs/UpdateMechanism.md b/lidarr/docs/UpdateMechanism.md new file mode 100644 index 0000000..3ccdb5c --- /dev/null +++ b/lidarr/docs/UpdateMechanism.md @@ -0,0 +1,19 @@ +# UpdateMechanism + +## Enum + + +* `BUILT_IN` (value: `"builtIn"`) + +* `SCRIPT` (value: `"script"`) + +* `EXTERNAL` (value: `"external"`) + +* `APT` (value: `"apt"`) + +* `DOCKER` (value: `"docker"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/UpdateResource.md b/lidarr/docs/UpdateResource.md new file mode 100644 index 0000000..2795be9 --- /dev/null +++ b/lidarr/docs/UpdateResource.md @@ -0,0 +1,392 @@ +# UpdateResource + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Id** | Pointer to **int32** | | [optional] +**Version** | Pointer to **string** | | [optional] +**Branch** | Pointer to **NullableString** | | [optional] +**ReleaseDate** | Pointer to **time.Time** | | [optional] +**FileName** | Pointer to **NullableString** | | [optional] +**Url** | Pointer to **NullableString** | | [optional] +**Installed** | Pointer to **bool** | | [optional] +**InstalledOn** | Pointer to **NullableTime** | | [optional] +**Installable** | Pointer to **bool** | | [optional] +**Latest** | Pointer to **bool** | | [optional] +**Changes** | Pointer to [**UpdateChanges**](UpdateChanges.md) | | [optional] +**Hash** | Pointer to **NullableString** | | [optional] + +## Methods + +### NewUpdateResource + +`func NewUpdateResource() *UpdateResource` + +NewUpdateResource instantiates a new UpdateResource object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewUpdateResourceWithDefaults + +`func NewUpdateResourceWithDefaults() *UpdateResource` + +NewUpdateResourceWithDefaults instantiates a new UpdateResource object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetId + +`func (o *UpdateResource) GetId() int32` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *UpdateResource) GetIdOk() (*int32, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *UpdateResource) SetId(v int32)` + +SetId sets Id field to given value. + +### HasId + +`func (o *UpdateResource) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetVersion + +`func (o *UpdateResource) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *UpdateResource) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *UpdateResource) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *UpdateResource) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetBranch + +`func (o *UpdateResource) GetBranch() string` + +GetBranch returns the Branch field if non-nil, zero value otherwise. + +### GetBranchOk + +`func (o *UpdateResource) GetBranchOk() (*string, bool)` + +GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBranch + +`func (o *UpdateResource) SetBranch(v string)` + +SetBranch sets Branch field to given value. + +### HasBranch + +`func (o *UpdateResource) HasBranch() bool` + +HasBranch returns a boolean if a field has been set. + +### SetBranchNil + +`func (o *UpdateResource) SetBranchNil(b bool)` + + SetBranchNil sets the value for Branch to be an explicit nil + +### UnsetBranch +`func (o *UpdateResource) UnsetBranch()` + +UnsetBranch ensures that no value is present for Branch, not even an explicit nil +### GetReleaseDate + +`func (o *UpdateResource) GetReleaseDate() time.Time` + +GetReleaseDate returns the ReleaseDate field if non-nil, zero value otherwise. + +### GetReleaseDateOk + +`func (o *UpdateResource) GetReleaseDateOk() (*time.Time, bool)` + +GetReleaseDateOk returns a tuple with the ReleaseDate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseDate + +`func (o *UpdateResource) SetReleaseDate(v time.Time)` + +SetReleaseDate sets ReleaseDate field to given value. + +### HasReleaseDate + +`func (o *UpdateResource) HasReleaseDate() bool` + +HasReleaseDate returns a boolean if a field has been set. + +### GetFileName + +`func (o *UpdateResource) GetFileName() string` + +GetFileName returns the FileName field if non-nil, zero value otherwise. + +### GetFileNameOk + +`func (o *UpdateResource) GetFileNameOk() (*string, bool)` + +GetFileNameOk returns a tuple with the FileName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFileName + +`func (o *UpdateResource) SetFileName(v string)` + +SetFileName sets FileName field to given value. + +### HasFileName + +`func (o *UpdateResource) HasFileName() bool` + +HasFileName returns a boolean if a field has been set. + +### SetFileNameNil + +`func (o *UpdateResource) SetFileNameNil(b bool)` + + SetFileNameNil sets the value for FileName to be an explicit nil + +### UnsetFileName +`func (o *UpdateResource) UnsetFileName()` + +UnsetFileName ensures that no value is present for FileName, not even an explicit nil +### GetUrl + +`func (o *UpdateResource) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *UpdateResource) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *UpdateResource) SetUrl(v string)` + +SetUrl sets Url field to given value. + +### HasUrl + +`func (o *UpdateResource) HasUrl() bool` + +HasUrl returns a boolean if a field has been set. + +### SetUrlNil + +`func (o *UpdateResource) SetUrlNil(b bool)` + + SetUrlNil sets the value for Url to be an explicit nil + +### UnsetUrl +`func (o *UpdateResource) UnsetUrl()` + +UnsetUrl ensures that no value is present for Url, not even an explicit nil +### GetInstalled + +`func (o *UpdateResource) GetInstalled() bool` + +GetInstalled returns the Installed field if non-nil, zero value otherwise. + +### GetInstalledOk + +`func (o *UpdateResource) GetInstalledOk() (*bool, bool)` + +GetInstalledOk returns a tuple with the Installed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstalled + +`func (o *UpdateResource) SetInstalled(v bool)` + +SetInstalled sets Installed field to given value. + +### HasInstalled + +`func (o *UpdateResource) HasInstalled() bool` + +HasInstalled returns a boolean if a field has been set. + +### GetInstalledOn + +`func (o *UpdateResource) GetInstalledOn() time.Time` + +GetInstalledOn returns the InstalledOn field if non-nil, zero value otherwise. + +### GetInstalledOnOk + +`func (o *UpdateResource) GetInstalledOnOk() (*time.Time, bool)` + +GetInstalledOnOk returns a tuple with the InstalledOn field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstalledOn + +`func (o *UpdateResource) SetInstalledOn(v time.Time)` + +SetInstalledOn sets InstalledOn field to given value. + +### HasInstalledOn + +`func (o *UpdateResource) HasInstalledOn() bool` + +HasInstalledOn returns a boolean if a field has been set. + +### SetInstalledOnNil + +`func (o *UpdateResource) SetInstalledOnNil(b bool)` + + SetInstalledOnNil sets the value for InstalledOn to be an explicit nil + +### UnsetInstalledOn +`func (o *UpdateResource) UnsetInstalledOn()` + +UnsetInstalledOn ensures that no value is present for InstalledOn, not even an explicit nil +### GetInstallable + +`func (o *UpdateResource) GetInstallable() bool` + +GetInstallable returns the Installable field if non-nil, zero value otherwise. + +### GetInstallableOk + +`func (o *UpdateResource) GetInstallableOk() (*bool, bool)` + +GetInstallableOk returns a tuple with the Installable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInstallable + +`func (o *UpdateResource) SetInstallable(v bool)` + +SetInstallable sets Installable field to given value. + +### HasInstallable + +`func (o *UpdateResource) HasInstallable() bool` + +HasInstallable returns a boolean if a field has been set. + +### GetLatest + +`func (o *UpdateResource) GetLatest() bool` + +GetLatest returns the Latest field if non-nil, zero value otherwise. + +### GetLatestOk + +`func (o *UpdateResource) GetLatestOk() (*bool, bool)` + +GetLatestOk returns a tuple with the Latest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLatest + +`func (o *UpdateResource) SetLatest(v bool)` + +SetLatest sets Latest field to given value. + +### HasLatest + +`func (o *UpdateResource) HasLatest() bool` + +HasLatest returns a boolean if a field has been set. + +### GetChanges + +`func (o *UpdateResource) GetChanges() UpdateChanges` + +GetChanges returns the Changes field if non-nil, zero value otherwise. + +### GetChangesOk + +`func (o *UpdateResource) GetChangesOk() (*UpdateChanges, bool)` + +GetChangesOk returns a tuple with the Changes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChanges + +`func (o *UpdateResource) SetChanges(v UpdateChanges)` + +SetChanges sets Changes field to given value. + +### HasChanges + +`func (o *UpdateResource) HasChanges() bool` + +HasChanges returns a boolean if a field has been set. + +### GetHash + +`func (o *UpdateResource) GetHash() string` + +GetHash returns the Hash field if non-nil, zero value otherwise. + +### GetHashOk + +`func (o *UpdateResource) GetHashOk() (*string, bool)` + +GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHash + +`func (o *UpdateResource) SetHash(v string)` + +SetHash sets Hash field to given value. + +### HasHash + +`func (o *UpdateResource) HasHash() bool` + +HasHash returns a boolean if a field has been set. + +### SetHashNil + +`func (o *UpdateResource) SetHashNil(b bool)` + + SetHashNil sets the value for Hash to be an explicit nil + +### UnsetHash +`func (o *UpdateResource) UnsetHash()` + +UnsetHash ensures that no value is present for Hash, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/Version.md b/lidarr/docs/Version.md new file mode 100644 index 0000000..c82fd58 --- /dev/null +++ b/lidarr/docs/Version.md @@ -0,0 +1,186 @@ +# Version + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Major** | Pointer to **int32** | | [optional] [readonly] +**Minor** | Pointer to **int32** | | [optional] [readonly] +**Build** | Pointer to **int32** | | [optional] [readonly] +**Revision** | Pointer to **int32** | | [optional] [readonly] +**MajorRevision** | Pointer to **int32** | | [optional] [readonly] +**MinorRevision** | Pointer to **int32** | | [optional] [readonly] + +## Methods + +### NewVersion + +`func NewVersion() *Version` + +NewVersion instantiates a new Version object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewVersionWithDefaults + +`func NewVersionWithDefaults() *Version` + +NewVersionWithDefaults instantiates a new Version object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMajor + +`func (o *Version) GetMajor() int32` + +GetMajor returns the Major field if non-nil, zero value otherwise. + +### GetMajorOk + +`func (o *Version) GetMajorOk() (*int32, bool)` + +GetMajorOk returns a tuple with the Major field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMajor + +`func (o *Version) SetMajor(v int32)` + +SetMajor sets Major field to given value. + +### HasMajor + +`func (o *Version) HasMajor() bool` + +HasMajor returns a boolean if a field has been set. + +### GetMinor + +`func (o *Version) GetMinor() int32` + +GetMinor returns the Minor field if non-nil, zero value otherwise. + +### GetMinorOk + +`func (o *Version) GetMinorOk() (*int32, bool)` + +GetMinorOk returns a tuple with the Minor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinor + +`func (o *Version) SetMinor(v int32)` + +SetMinor sets Minor field to given value. + +### HasMinor + +`func (o *Version) HasMinor() bool` + +HasMinor returns a boolean if a field has been set. + +### GetBuild + +`func (o *Version) GetBuild() int32` + +GetBuild returns the Build field if non-nil, zero value otherwise. + +### GetBuildOk + +`func (o *Version) GetBuildOk() (*int32, bool)` + +GetBuildOk returns a tuple with the Build field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBuild + +`func (o *Version) SetBuild(v int32)` + +SetBuild sets Build field to given value. + +### HasBuild + +`func (o *Version) HasBuild() bool` + +HasBuild returns a boolean if a field has been set. + +### GetRevision + +`func (o *Version) GetRevision() int32` + +GetRevision returns the Revision field if non-nil, zero value otherwise. + +### GetRevisionOk + +`func (o *Version) GetRevisionOk() (*int32, bool)` + +GetRevisionOk returns a tuple with the Revision field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRevision + +`func (o *Version) SetRevision(v int32)` + +SetRevision sets Revision field to given value. + +### HasRevision + +`func (o *Version) HasRevision() bool` + +HasRevision returns a boolean if a field has been set. + +### GetMajorRevision + +`func (o *Version) GetMajorRevision() int32` + +GetMajorRevision returns the MajorRevision field if non-nil, zero value otherwise. + +### GetMajorRevisionOk + +`func (o *Version) GetMajorRevisionOk() (*int32, bool)` + +GetMajorRevisionOk returns a tuple with the MajorRevision field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMajorRevision + +`func (o *Version) SetMajorRevision(v int32)` + +SetMajorRevision sets MajorRevision field to given value. + +### HasMajorRevision + +`func (o *Version) HasMajorRevision() bool` + +HasMajorRevision returns a boolean if a field has been set. + +### GetMinorRevision + +`func (o *Version) GetMinorRevision() int32` + +GetMinorRevision returns the MinorRevision field if non-nil, zero value otherwise. + +### GetMinorRevisionOk + +`func (o *Version) GetMinorRevisionOk() (*int32, bool)` + +GetMinorRevisionOk returns a tuple with the MinorRevision field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinorRevision + +`func (o *Version) SetMinorRevision(v int32)` + +SetMinorRevision sets MinorRevision field to given value. + +### HasMinorRevision + +`func (o *Version) HasMinorRevision() bool` + +HasMinorRevision returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/docs/WriteAudioTagsType.md b/lidarr/docs/WriteAudioTagsType.md new file mode 100644 index 0000000..45fb38e --- /dev/null +++ b/lidarr/docs/WriteAudioTagsType.md @@ -0,0 +1,17 @@ +# WriteAudioTagsType + +## Enum + + +* `NO` (value: `"no"`) + +* `NEW_FILES` (value: `"newFiles"`) + +* `ALL_FILES` (value: `"allFiles"`) + +* `SYNC` (value: `"sync"`) + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/lidarr/model_add_album_options.go b/lidarr/model_add_album_options.go new file mode 100644 index 0000000..cc3be30 --- /dev/null +++ b/lidarr/model_add_album_options.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AddAlbumOptions struct for AddAlbumOptions +type AddAlbumOptions struct { + AddType *AlbumAddType `json:"addType,omitempty"` + SearchForNewAlbum *bool `json:"searchForNewAlbum,omitempty"` +} + +// NewAddAlbumOptions instantiates a new AddAlbumOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAddAlbumOptions() *AddAlbumOptions { + this := AddAlbumOptions{} + return &this +} + +// NewAddAlbumOptionsWithDefaults instantiates a new AddAlbumOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAddAlbumOptionsWithDefaults() *AddAlbumOptions { + this := AddAlbumOptions{} + return &this +} + +// GetAddType returns the AddType field value if set, zero value otherwise. +func (o *AddAlbumOptions) GetAddType() AlbumAddType { + if o == nil || isNil(o.AddType) { + var ret AlbumAddType + return ret + } + return *o.AddType +} + +// GetAddTypeOk returns a tuple with the AddType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddAlbumOptions) GetAddTypeOk() (*AlbumAddType, bool) { + if o == nil || isNil(o.AddType) { + return nil, false + } + return o.AddType, true +} + +// HasAddType returns a boolean if a field has been set. +func (o *AddAlbumOptions) HasAddType() bool { + if o != nil && !isNil(o.AddType) { + return true + } + + return false +} + +// SetAddType gets a reference to the given AlbumAddType and assigns it to the AddType field. +func (o *AddAlbumOptions) SetAddType(v AlbumAddType) { + o.AddType = &v +} + +// GetSearchForNewAlbum returns the SearchForNewAlbum field value if set, zero value otherwise. +func (o *AddAlbumOptions) GetSearchForNewAlbum() bool { + if o == nil || isNil(o.SearchForNewAlbum) { + var ret bool + return ret + } + return *o.SearchForNewAlbum +} + +// GetSearchForNewAlbumOk returns a tuple with the SearchForNewAlbum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddAlbumOptions) GetSearchForNewAlbumOk() (*bool, bool) { + if o == nil || isNil(o.SearchForNewAlbum) { + return nil, false + } + return o.SearchForNewAlbum, true +} + +// HasSearchForNewAlbum returns a boolean if a field has been set. +func (o *AddAlbumOptions) HasSearchForNewAlbum() bool { + if o != nil && !isNil(o.SearchForNewAlbum) { + return true + } + + return false +} + +// SetSearchForNewAlbum gets a reference to the given bool and assigns it to the SearchForNewAlbum field. +func (o *AddAlbumOptions) SetSearchForNewAlbum(v bool) { + o.SearchForNewAlbum = &v +} + +func (o AddAlbumOptions) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.AddType) { + toSerialize["addType"] = o.AddType + } + if !isNil(o.SearchForNewAlbum) { + toSerialize["searchForNewAlbum"] = o.SearchForNewAlbum + } + return json.Marshal(toSerialize) +} + +type NullableAddAlbumOptions struct { + value *AddAlbumOptions + isSet bool +} + +func (v NullableAddAlbumOptions) Get() *AddAlbumOptions { + return v.value +} + +func (v *NullableAddAlbumOptions) Set(val *AddAlbumOptions) { + v.value = val + v.isSet = true +} + +func (v NullableAddAlbumOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableAddAlbumOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAddAlbumOptions(val *AddAlbumOptions) *NullableAddAlbumOptions { + return &NullableAddAlbumOptions{value: val, isSet: true} +} + +func (v NullableAddAlbumOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAddAlbumOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_add_artist_options.go b/lidarr/model_add_artist_options.go new file mode 100644 index 0000000..cc89474 --- /dev/null +++ b/lidarr/model_add_artist_options.go @@ -0,0 +1,224 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AddArtistOptions struct for AddArtistOptions +type AddArtistOptions struct { + Monitor *MonitorTypes `json:"monitor,omitempty"` + AlbumsToMonitor []*string `json:"albumsToMonitor,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + SearchForMissingAlbums *bool `json:"searchForMissingAlbums,omitempty"` +} + +// NewAddArtistOptions instantiates a new AddArtistOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAddArtistOptions() *AddArtistOptions { + this := AddArtistOptions{} + return &this +} + +// NewAddArtistOptionsWithDefaults instantiates a new AddArtistOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAddArtistOptionsWithDefaults() *AddArtistOptions { + this := AddArtistOptions{} + return &this +} + +// GetMonitor returns the Monitor field value if set, zero value otherwise. +func (o *AddArtistOptions) GetMonitor() MonitorTypes { + if o == nil || isNil(o.Monitor) { + var ret MonitorTypes + return ret + } + return *o.Monitor +} + +// GetMonitorOk returns a tuple with the Monitor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddArtistOptions) GetMonitorOk() (*MonitorTypes, bool) { + if o == nil || isNil(o.Monitor) { + return nil, false + } + return o.Monitor, true +} + +// HasMonitor returns a boolean if a field has been set. +func (o *AddArtistOptions) HasMonitor() bool { + if o != nil && !isNil(o.Monitor) { + return true + } + + return false +} + +// SetMonitor gets a reference to the given MonitorTypes and assigns it to the Monitor field. +func (o *AddArtistOptions) SetMonitor(v MonitorTypes) { + o.Monitor = &v +} + +// GetAlbumsToMonitor returns the AlbumsToMonitor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AddArtistOptions) GetAlbumsToMonitor() []*string { + if o == nil { + var ret []*string + return ret + } + return o.AlbumsToMonitor +} + +// GetAlbumsToMonitorOk returns a tuple with the AlbumsToMonitor field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AddArtistOptions) GetAlbumsToMonitorOk() ([]*string, bool) { + if o == nil || isNil(o.AlbumsToMonitor) { + return nil, false + } + return o.AlbumsToMonitor, true +} + +// HasAlbumsToMonitor returns a boolean if a field has been set. +func (o *AddArtistOptions) HasAlbumsToMonitor() bool { + if o != nil && isNil(o.AlbumsToMonitor) { + return true + } + + return false +} + +// SetAlbumsToMonitor gets a reference to the given []string and assigns it to the AlbumsToMonitor field. +func (o *AddArtistOptions) SetAlbumsToMonitor(v []*string) { + o.AlbumsToMonitor = v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *AddArtistOptions) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddArtistOptions) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AddArtistOptions) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *AddArtistOptions) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetSearchForMissingAlbums returns the SearchForMissingAlbums field value if set, zero value otherwise. +func (o *AddArtistOptions) GetSearchForMissingAlbums() bool { + if o == nil || isNil(o.SearchForMissingAlbums) { + var ret bool + return ret + } + return *o.SearchForMissingAlbums +} + +// GetSearchForMissingAlbumsOk returns a tuple with the SearchForMissingAlbums field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AddArtistOptions) GetSearchForMissingAlbumsOk() (*bool, bool) { + if o == nil || isNil(o.SearchForMissingAlbums) { + return nil, false + } + return o.SearchForMissingAlbums, true +} + +// HasSearchForMissingAlbums returns a boolean if a field has been set. +func (o *AddArtistOptions) HasSearchForMissingAlbums() bool { + if o != nil && !isNil(o.SearchForMissingAlbums) { + return true + } + + return false +} + +// SetSearchForMissingAlbums gets a reference to the given bool and assigns it to the SearchForMissingAlbums field. +func (o *AddArtistOptions) SetSearchForMissingAlbums(v bool) { + o.SearchForMissingAlbums = &v +} + +func (o AddArtistOptions) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Monitor) { + toSerialize["monitor"] = o.Monitor + } + if o.AlbumsToMonitor != nil { + toSerialize["albumsToMonitor"] = o.AlbumsToMonitor + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.SearchForMissingAlbums) { + toSerialize["searchForMissingAlbums"] = o.SearchForMissingAlbums + } + return json.Marshal(toSerialize) +} + +type NullableAddArtistOptions struct { + value *AddArtistOptions + isSet bool +} + +func (v NullableAddArtistOptions) Get() *AddArtistOptions { + return v.value +} + +func (v *NullableAddArtistOptions) Set(val *AddArtistOptions) { + v.value = val + v.isSet = true +} + +func (v NullableAddArtistOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableAddArtistOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAddArtistOptions(val *AddArtistOptions) *NullableAddArtistOptions { + return &NullableAddArtistOptions{value: val, isSet: true} +} + +func (v NullableAddArtistOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAddArtistOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album.go b/lidarr/model_album.go new file mode 100644 index 0000000..e1b9ba4 --- /dev/null +++ b/lidarr/model_album.go @@ -0,0 +1,1029 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// Album struct for Album +type Album struct { + Id *int32 `json:"id,omitempty"` + ArtistMetadataId *int32 `json:"artistMetadataId,omitempty"` + ForeignAlbumId NullableString `json:"foreignAlbumId,omitempty"` + OldForeignAlbumIds []*string `json:"oldForeignAlbumIds,omitempty"` + Title NullableString `json:"title,omitempty"` + Overview NullableString `json:"overview,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + ReleaseDate NullableTime `json:"releaseDate,omitempty"` + Images []*MediaCover `json:"images,omitempty"` + Links []*Links `json:"links,omitempty"` + Genres []*string `json:"genres,omitempty"` + AlbumType NullableString `json:"albumType,omitempty"` + SecondaryTypes []*SecondaryAlbumType `json:"secondaryTypes,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + CleanTitle NullableString `json:"cleanTitle,omitempty"` + ProfileId *int32 `json:"profileId,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + AnyReleaseOk *bool `json:"anyReleaseOk,omitempty"` + LastInfoSync NullableTime `json:"lastInfoSync,omitempty"` + Added *time.Time `json:"added,omitempty"` + AddOptions *AddAlbumOptions `json:"addOptions,omitempty"` + ArtistMetadata *ArtistMetadataLazyLoaded `json:"artistMetadata,omitempty"` + AlbumReleases *AlbumReleaseListLazyLoaded `json:"albumReleases,omitempty"` + Artist *ArtistLazyLoaded `json:"artist,omitempty"` +} + +// NewAlbum instantiates a new Album object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbum() *Album { + this := Album{} + return &this +} + +// NewAlbumWithDefaults instantiates a new Album object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumWithDefaults() *Album { + this := Album{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *Album) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Album) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *Album) SetId(v int32) { + o.Id = &v +} + +// GetArtistMetadataId returns the ArtistMetadataId field value if set, zero value otherwise. +func (o *Album) GetArtistMetadataId() int32 { + if o == nil || isNil(o.ArtistMetadataId) { + var ret int32 + return ret + } + return *o.ArtistMetadataId +} + +// GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetArtistMetadataIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistMetadataId) { + return nil, false + } + return o.ArtistMetadataId, true +} + +// HasArtistMetadataId returns a boolean if a field has been set. +func (o *Album) HasArtistMetadataId() bool { + if o != nil && !isNil(o.ArtistMetadataId) { + return true + } + + return false +} + +// SetArtistMetadataId gets a reference to the given int32 and assigns it to the ArtistMetadataId field. +func (o *Album) SetArtistMetadataId(v int32) { + o.ArtistMetadataId = &v +} + +// GetForeignAlbumId returns the ForeignAlbumId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetForeignAlbumId() string { + if o == nil || isNil(o.ForeignAlbumId.Get()) { + var ret string + return ret + } + return *o.ForeignAlbumId.Get() +} + +// GetForeignAlbumIdOk returns a tuple with the ForeignAlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetForeignAlbumIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignAlbumId.Get(), o.ForeignAlbumId.IsSet() +} + +// HasForeignAlbumId returns a boolean if a field has been set. +func (o *Album) HasForeignAlbumId() bool { + if o != nil && o.ForeignAlbumId.IsSet() { + return true + } + + return false +} + +// SetForeignAlbumId gets a reference to the given NullableString and assigns it to the ForeignAlbumId field. +func (o *Album) SetForeignAlbumId(v string) { + o.ForeignAlbumId.Set(&v) +} +// SetForeignAlbumIdNil sets the value for ForeignAlbumId to be an explicit nil +func (o *Album) SetForeignAlbumIdNil() { + o.ForeignAlbumId.Set(nil) +} + +// UnsetForeignAlbumId ensures that no value is present for ForeignAlbumId, not even an explicit nil +func (o *Album) UnsetForeignAlbumId() { + o.ForeignAlbumId.Unset() +} + +// GetOldForeignAlbumIds returns the OldForeignAlbumIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetOldForeignAlbumIds() []*string { + if o == nil { + var ret []*string + return ret + } + return o.OldForeignAlbumIds +} + +// GetOldForeignAlbumIdsOk returns a tuple with the OldForeignAlbumIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetOldForeignAlbumIdsOk() ([]*string, bool) { + if o == nil || isNil(o.OldForeignAlbumIds) { + return nil, false + } + return o.OldForeignAlbumIds, true +} + +// HasOldForeignAlbumIds returns a boolean if a field has been set. +func (o *Album) HasOldForeignAlbumIds() bool { + if o != nil && isNil(o.OldForeignAlbumIds) { + return true + } + + return false +} + +// SetOldForeignAlbumIds gets a reference to the given []string and assigns it to the OldForeignAlbumIds field. +func (o *Album) SetOldForeignAlbumIds(v []*string) { + o.OldForeignAlbumIds = v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *Album) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *Album) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *Album) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *Album) UnsetTitle() { + o.Title.Unset() +} + +// GetOverview returns the Overview field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetOverview() string { + if o == nil || isNil(o.Overview.Get()) { + var ret string + return ret + } + return *o.Overview.Get() +} + +// GetOverviewOk returns a tuple with the Overview field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetOverviewOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Overview.Get(), o.Overview.IsSet() +} + +// HasOverview returns a boolean if a field has been set. +func (o *Album) HasOverview() bool { + if o != nil && o.Overview.IsSet() { + return true + } + + return false +} + +// SetOverview gets a reference to the given NullableString and assigns it to the Overview field. +func (o *Album) SetOverview(v string) { + o.Overview.Set(&v) +} +// SetOverviewNil sets the value for Overview to be an explicit nil +func (o *Album) SetOverviewNil() { + o.Overview.Set(nil) +} + +// UnsetOverview ensures that no value is present for Overview, not even an explicit nil +func (o *Album) UnsetOverview() { + o.Overview.Unset() +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *Album) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *Album) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *Album) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *Album) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetReleaseDate returns the ReleaseDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetReleaseDate() time.Time { + if o == nil || isNil(o.ReleaseDate.Get()) { + var ret time.Time + return ret + } + return *o.ReleaseDate.Get() +} + +// GetReleaseDateOk returns a tuple with the ReleaseDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetReleaseDateOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ReleaseDate.Get(), o.ReleaseDate.IsSet() +} + +// HasReleaseDate returns a boolean if a field has been set. +func (o *Album) HasReleaseDate() bool { + if o != nil && o.ReleaseDate.IsSet() { + return true + } + + return false +} + +// SetReleaseDate gets a reference to the given NullableTime and assigns it to the ReleaseDate field. +func (o *Album) SetReleaseDate(v time.Time) { + o.ReleaseDate.Set(&v) +} +// SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil +func (o *Album) SetReleaseDateNil() { + o.ReleaseDate.Set(nil) +} + +// UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +func (o *Album) UnsetReleaseDate() { + o.ReleaseDate.Unset() +} + +// GetImages returns the Images field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetImages() []*MediaCover { + if o == nil { + var ret []*MediaCover + return ret + } + return o.Images +} + +// GetImagesOk returns a tuple with the Images field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetImagesOk() ([]*MediaCover, bool) { + if o == nil || isNil(o.Images) { + return nil, false + } + return o.Images, true +} + +// HasImages returns a boolean if a field has been set. +func (o *Album) HasImages() bool { + if o != nil && isNil(o.Images) { + return true + } + + return false +} + +// SetImages gets a reference to the given []MediaCover and assigns it to the Images field. +func (o *Album) SetImages(v []*MediaCover) { + o.Images = v +} + +// GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetLinks() []*Links { + if o == nil { + var ret []*Links + return ret + } + return o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetLinksOk() ([]*Links, bool) { + if o == nil || isNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *Album) HasLinks() bool { + if o != nil && isNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given []Links and assigns it to the Links field. +func (o *Album) SetLinks(v []*Links) { + o.Links = v +} + +// GetGenres returns the Genres field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetGenres() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Genres +} + +// GetGenresOk returns a tuple with the Genres field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetGenresOk() ([]*string, bool) { + if o == nil || isNil(o.Genres) { + return nil, false + } + return o.Genres, true +} + +// HasGenres returns a boolean if a field has been set. +func (o *Album) HasGenres() bool { + if o != nil && isNil(o.Genres) { + return true + } + + return false +} + +// SetGenres gets a reference to the given []string and assigns it to the Genres field. +func (o *Album) SetGenres(v []*string) { + o.Genres = v +} + +// GetAlbumType returns the AlbumType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetAlbumType() string { + if o == nil || isNil(o.AlbumType.Get()) { + var ret string + return ret + } + return *o.AlbumType.Get() +} + +// GetAlbumTypeOk returns a tuple with the AlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetAlbumTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumType.Get(), o.AlbumType.IsSet() +} + +// HasAlbumType returns a boolean if a field has been set. +func (o *Album) HasAlbumType() bool { + if o != nil && o.AlbumType.IsSet() { + return true + } + + return false +} + +// SetAlbumType gets a reference to the given NullableString and assigns it to the AlbumType field. +func (o *Album) SetAlbumType(v string) { + o.AlbumType.Set(&v) +} +// SetAlbumTypeNil sets the value for AlbumType to be an explicit nil +func (o *Album) SetAlbumTypeNil() { + o.AlbumType.Set(nil) +} + +// UnsetAlbumType ensures that no value is present for AlbumType, not even an explicit nil +func (o *Album) UnsetAlbumType() { + o.AlbumType.Unset() +} + +// GetSecondaryTypes returns the SecondaryTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetSecondaryTypes() []*SecondaryAlbumType { + if o == nil { + var ret []*SecondaryAlbumType + return ret + } + return o.SecondaryTypes +} + +// GetSecondaryTypesOk returns a tuple with the SecondaryTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetSecondaryTypesOk() ([]*SecondaryAlbumType, bool) { + if o == nil || isNil(o.SecondaryTypes) { + return nil, false + } + return o.SecondaryTypes, true +} + +// HasSecondaryTypes returns a boolean if a field has been set. +func (o *Album) HasSecondaryTypes() bool { + if o != nil && isNil(o.SecondaryTypes) { + return true + } + + return false +} + +// SetSecondaryTypes gets a reference to the given []SecondaryAlbumType and assigns it to the SecondaryTypes field. +func (o *Album) SetSecondaryTypes(v []*SecondaryAlbumType) { + o.SecondaryTypes = v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *Album) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *Album) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *Album) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetCleanTitle returns the CleanTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetCleanTitle() string { + if o == nil || isNil(o.CleanTitle.Get()) { + var ret string + return ret + } + return *o.CleanTitle.Get() +} + +// GetCleanTitleOk returns a tuple with the CleanTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetCleanTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CleanTitle.Get(), o.CleanTitle.IsSet() +} + +// HasCleanTitle returns a boolean if a field has been set. +func (o *Album) HasCleanTitle() bool { + if o != nil && o.CleanTitle.IsSet() { + return true + } + + return false +} + +// SetCleanTitle gets a reference to the given NullableString and assigns it to the CleanTitle field. +func (o *Album) SetCleanTitle(v string) { + o.CleanTitle.Set(&v) +} +// SetCleanTitleNil sets the value for CleanTitle to be an explicit nil +func (o *Album) SetCleanTitleNil() { + o.CleanTitle.Set(nil) +} + +// UnsetCleanTitle ensures that no value is present for CleanTitle, not even an explicit nil +func (o *Album) UnsetCleanTitle() { + o.CleanTitle.Unset() +} + +// GetProfileId returns the ProfileId field value if set, zero value otherwise. +func (o *Album) GetProfileId() int32 { + if o == nil || isNil(o.ProfileId) { + var ret int32 + return ret + } + return *o.ProfileId +} + +// GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.ProfileId) { + return nil, false + } + return o.ProfileId, true +} + +// HasProfileId returns a boolean if a field has been set. +func (o *Album) HasProfileId() bool { + if o != nil && !isNil(o.ProfileId) { + return true + } + + return false +} + +// SetProfileId gets a reference to the given int32 and assigns it to the ProfileId field. +func (o *Album) SetProfileId(v int32) { + o.ProfileId = &v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *Album) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *Album) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *Album) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetAnyReleaseOk returns the AnyReleaseOk field value if set, zero value otherwise. +func (o *Album) GetAnyReleaseOk() bool { + if o == nil || isNil(o.AnyReleaseOk) { + var ret bool + return ret + } + return *o.AnyReleaseOk +} + +// GetAnyReleaseOkOk returns a tuple with the AnyReleaseOk field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetAnyReleaseOkOk() (*bool, bool) { + if o == nil || isNil(o.AnyReleaseOk) { + return nil, false + } + return o.AnyReleaseOk, true +} + +// HasAnyReleaseOk returns a boolean if a field has been set. +func (o *Album) HasAnyReleaseOk() bool { + if o != nil && !isNil(o.AnyReleaseOk) { + return true + } + + return false +} + +// SetAnyReleaseOk gets a reference to the given bool and assigns it to the AnyReleaseOk field. +func (o *Album) SetAnyReleaseOk(v bool) { + o.AnyReleaseOk = &v +} + +// GetLastInfoSync returns the LastInfoSync field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Album) GetLastInfoSync() time.Time { + if o == nil || isNil(o.LastInfoSync.Get()) { + var ret time.Time + return ret + } + return *o.LastInfoSync.Get() +} + +// GetLastInfoSyncOk returns a tuple with the LastInfoSync field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Album) GetLastInfoSyncOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastInfoSync.Get(), o.LastInfoSync.IsSet() +} + +// HasLastInfoSync returns a boolean if a field has been set. +func (o *Album) HasLastInfoSync() bool { + if o != nil && o.LastInfoSync.IsSet() { + return true + } + + return false +} + +// SetLastInfoSync gets a reference to the given NullableTime and assigns it to the LastInfoSync field. +func (o *Album) SetLastInfoSync(v time.Time) { + o.LastInfoSync.Set(&v) +} +// SetLastInfoSyncNil sets the value for LastInfoSync to be an explicit nil +func (o *Album) SetLastInfoSyncNil() { + o.LastInfoSync.Set(nil) +} + +// UnsetLastInfoSync ensures that no value is present for LastInfoSync, not even an explicit nil +func (o *Album) UnsetLastInfoSync() { + o.LastInfoSync.Unset() +} + +// GetAdded returns the Added field value if set, zero value otherwise. +func (o *Album) GetAdded() time.Time { + if o == nil || isNil(o.Added) { + var ret time.Time + return ret + } + return *o.Added +} + +// GetAddedOk returns a tuple with the Added field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetAddedOk() (*time.Time, bool) { + if o == nil || isNil(o.Added) { + return nil, false + } + return o.Added, true +} + +// HasAdded returns a boolean if a field has been set. +func (o *Album) HasAdded() bool { + if o != nil && !isNil(o.Added) { + return true + } + + return false +} + +// SetAdded gets a reference to the given time.Time and assigns it to the Added field. +func (o *Album) SetAdded(v time.Time) { + o.Added = &v +} + +// GetAddOptions returns the AddOptions field value if set, zero value otherwise. +func (o *Album) GetAddOptions() AddAlbumOptions { + if o == nil || isNil(o.AddOptions) { + var ret AddAlbumOptions + return ret + } + return *o.AddOptions +} + +// GetAddOptionsOk returns a tuple with the AddOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetAddOptionsOk() (*AddAlbumOptions, bool) { + if o == nil || isNil(o.AddOptions) { + return nil, false + } + return o.AddOptions, true +} + +// HasAddOptions returns a boolean if a field has been set. +func (o *Album) HasAddOptions() bool { + if o != nil && !isNil(o.AddOptions) { + return true + } + + return false +} + +// SetAddOptions gets a reference to the given AddAlbumOptions and assigns it to the AddOptions field. +func (o *Album) SetAddOptions(v AddAlbumOptions) { + o.AddOptions = &v +} + +// GetArtistMetadata returns the ArtistMetadata field value if set, zero value otherwise. +func (o *Album) GetArtistMetadata() ArtistMetadataLazyLoaded { + if o == nil || isNil(o.ArtistMetadata) { + var ret ArtistMetadataLazyLoaded + return ret + } + return *o.ArtistMetadata +} + +// GetArtistMetadataOk returns a tuple with the ArtistMetadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetArtistMetadataOk() (*ArtistMetadataLazyLoaded, bool) { + if o == nil || isNil(o.ArtistMetadata) { + return nil, false + } + return o.ArtistMetadata, true +} + +// HasArtistMetadata returns a boolean if a field has been set. +func (o *Album) HasArtistMetadata() bool { + if o != nil && !isNil(o.ArtistMetadata) { + return true + } + + return false +} + +// SetArtistMetadata gets a reference to the given ArtistMetadataLazyLoaded and assigns it to the ArtistMetadata field. +func (o *Album) SetArtistMetadata(v ArtistMetadataLazyLoaded) { + o.ArtistMetadata = &v +} + +// GetAlbumReleases returns the AlbumReleases field value if set, zero value otherwise. +func (o *Album) GetAlbumReleases() AlbumReleaseListLazyLoaded { + if o == nil || isNil(o.AlbumReleases) { + var ret AlbumReleaseListLazyLoaded + return ret + } + return *o.AlbumReleases +} + +// GetAlbumReleasesOk returns a tuple with the AlbumReleases field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetAlbumReleasesOk() (*AlbumReleaseListLazyLoaded, bool) { + if o == nil || isNil(o.AlbumReleases) { + return nil, false + } + return o.AlbumReleases, true +} + +// HasAlbumReleases returns a boolean if a field has been set. +func (o *Album) HasAlbumReleases() bool { + if o != nil && !isNil(o.AlbumReleases) { + return true + } + + return false +} + +// SetAlbumReleases gets a reference to the given AlbumReleaseListLazyLoaded and assigns it to the AlbumReleases field. +func (o *Album) SetAlbumReleases(v AlbumReleaseListLazyLoaded) { + o.AlbumReleases = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *Album) GetArtist() ArtistLazyLoaded { + if o == nil || isNil(o.Artist) { + var ret ArtistLazyLoaded + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Album) GetArtistOk() (*ArtistLazyLoaded, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *Album) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistLazyLoaded and assigns it to the Artist field. +func (o *Album) SetArtist(v ArtistLazyLoaded) { + o.Artist = &v +} + +func (o Album) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistMetadataId) { + toSerialize["artistMetadataId"] = o.ArtistMetadataId + } + if o.ForeignAlbumId.IsSet() { + toSerialize["foreignAlbumId"] = o.ForeignAlbumId.Get() + } + if o.OldForeignAlbumIds != nil { + toSerialize["oldForeignAlbumIds"] = o.OldForeignAlbumIds + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.Overview.IsSet() { + toSerialize["overview"] = o.Overview.Get() + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.ReleaseDate.IsSet() { + toSerialize["releaseDate"] = o.ReleaseDate.Get() + } + if o.Images != nil { + toSerialize["images"] = o.Images + } + if o.Links != nil { + toSerialize["links"] = o.Links + } + if o.Genres != nil { + toSerialize["genres"] = o.Genres + } + if o.AlbumType.IsSet() { + toSerialize["albumType"] = o.AlbumType.Get() + } + if o.SecondaryTypes != nil { + toSerialize["secondaryTypes"] = o.SecondaryTypes + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if o.CleanTitle.IsSet() { + toSerialize["cleanTitle"] = o.CleanTitle.Get() + } + if !isNil(o.ProfileId) { + toSerialize["profileId"] = o.ProfileId + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.AnyReleaseOk) { + toSerialize["anyReleaseOk"] = o.AnyReleaseOk + } + if o.LastInfoSync.IsSet() { + toSerialize["lastInfoSync"] = o.LastInfoSync.Get() + } + if !isNil(o.Added) { + toSerialize["added"] = o.Added + } + if !isNil(o.AddOptions) { + toSerialize["addOptions"] = o.AddOptions + } + if !isNil(o.ArtistMetadata) { + toSerialize["artistMetadata"] = o.ArtistMetadata + } + if !isNil(o.AlbumReleases) { + toSerialize["albumReleases"] = o.AlbumReleases + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + return json.Marshal(toSerialize) +} + +type NullableAlbum struct { + value *Album + isSet bool +} + +func (v NullableAlbum) Get() *Album { + return v.value +} + +func (v *NullableAlbum) Set(val *Album) { + v.value = val + v.isSet = true +} + +func (v NullableAlbum) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbum) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbum(val *Album) *NullableAlbum { + return &NullableAlbum{value: val, isSet: true} +} + +func (v NullableAlbum) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbum) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_add_type.go b/lidarr/model_album_add_type.go new file mode 100644 index 0000000..51c5e3e --- /dev/null +++ b/lidarr/model_album_add_type.go @@ -0,0 +1,111 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// AlbumAddType the model 'AlbumAddType' +type AlbumAddType string + +// List of AlbumAddType +const ( + ALBUMADDTYPE_AUTOMATIC AlbumAddType = "automatic" + ALBUMADDTYPE_MANUAL AlbumAddType = "manual" +) + +// All allowed values of AlbumAddType enum +var AllowedAlbumAddTypeEnumValues = []AlbumAddType{ + "automatic", + "manual", +} + +func (v *AlbumAddType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AlbumAddType(value) + for _, existing := range AllowedAlbumAddTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AlbumAddType", value) +} + +// NewAlbumAddTypeFromValue returns a pointer to a valid AlbumAddType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAlbumAddTypeFromValue(v string) (*AlbumAddType, error) { + ev := AlbumAddType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AlbumAddType: valid values are %v", v, AllowedAlbumAddTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AlbumAddType) IsValid() bool { + for _, existing := range AllowedAlbumAddTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to AlbumAddType value +func (v AlbumAddType) Ptr() *AlbumAddType { + return &v +} + +type NullableAlbumAddType struct { + value *AlbumAddType + isSet bool +} + +func (v NullableAlbumAddType) Get() *AlbumAddType { + return v.value +} + +func (v *NullableAlbumAddType) Set(val *AlbumAddType) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumAddType) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumAddType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumAddType(val *AlbumAddType) *NullableAlbumAddType { + return &NullableAlbumAddType{value: val, isSet: true} +} + +func (v NullableAlbumAddType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumAddType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_album_lazy_loaded.go b/lidarr/model_album_lazy_loaded.go new file mode 100644 index 0000000..bd426ce --- /dev/null +++ b/lidarr/model_album_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumLazyLoaded struct for AlbumLazyLoaded +type AlbumLazyLoaded struct { + Value *Album `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewAlbumLazyLoaded instantiates a new AlbumLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumLazyLoaded() *AlbumLazyLoaded { + this := AlbumLazyLoaded{} + return &this +} + +// NewAlbumLazyLoadedWithDefaults instantiates a new AlbumLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumLazyLoadedWithDefaults() *AlbumLazyLoaded { + this := AlbumLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *AlbumLazyLoaded) GetValue() Album { + if o == nil || isNil(o.Value) { + var ret Album + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumLazyLoaded) GetValueOk() (*Album, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *AlbumLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given Album and assigns it to the Value field. +func (o *AlbumLazyLoaded) SetValue(v Album) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *AlbumLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *AlbumLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *AlbumLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o AlbumLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableAlbumLazyLoaded struct { + value *AlbumLazyLoaded + isSet bool +} + +func (v NullableAlbumLazyLoaded) Get() *AlbumLazyLoaded { + return v.value +} + +func (v *NullableAlbumLazyLoaded) Set(val *AlbumLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumLazyLoaded(val *AlbumLazyLoaded) *NullableAlbumLazyLoaded { + return &NullableAlbumLazyLoaded{value: val, isSet: true} +} + +func (v NullableAlbumLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_list_lazy_loaded.go b/lidarr/model_album_list_lazy_loaded.go new file mode 100644 index 0000000..d6d3573 --- /dev/null +++ b/lidarr/model_album_list_lazy_loaded.go @@ -0,0 +1,152 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumListLazyLoaded struct for AlbumListLazyLoaded +type AlbumListLazyLoaded struct { + Value []*Album `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewAlbumListLazyLoaded instantiates a new AlbumListLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumListLazyLoaded() *AlbumListLazyLoaded { + this := AlbumListLazyLoaded{} + return &this +} + +// NewAlbumListLazyLoadedWithDefaults instantiates a new AlbumListLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumListLazyLoadedWithDefaults() *AlbumListLazyLoaded { + this := AlbumListLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumListLazyLoaded) GetValue() []*Album { + if o == nil { + var ret []*Album + return ret + } + return o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumListLazyLoaded) GetValueOk() ([]*Album, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *AlbumListLazyLoaded) HasValue() bool { + if o != nil && isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given []Album and assigns it to the Value field. +func (o *AlbumListLazyLoaded) SetValue(v []*Album) { + o.Value = v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *AlbumListLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumListLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *AlbumListLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *AlbumListLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o AlbumListLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Value != nil { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableAlbumListLazyLoaded struct { + value *AlbumListLazyLoaded + isSet bool +} + +func (v NullableAlbumListLazyLoaded) Get() *AlbumListLazyLoaded { + return v.value +} + +func (v *NullableAlbumListLazyLoaded) Set(val *AlbumListLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumListLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumListLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumListLazyLoaded(val *AlbumListLazyLoaded) *NullableAlbumListLazyLoaded { + return &NullableAlbumListLazyLoaded{value: val, isSet: true} +} + +func (v NullableAlbumListLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumListLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_release.go b/lidarr/model_album_release.go new file mode 100644 index 0000000..58e3c0d --- /dev/null +++ b/lidarr/model_album_release.go @@ -0,0 +1,710 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// AlbumRelease struct for AlbumRelease +type AlbumRelease struct { + Id *int32 `json:"id,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + ForeignReleaseId NullableString `json:"foreignReleaseId,omitempty"` + OldForeignReleaseIds []*string `json:"oldForeignReleaseIds,omitempty"` + Title NullableString `json:"title,omitempty"` + Status NullableString `json:"status,omitempty"` + Duration *int32 `json:"duration,omitempty"` + Label []*string `json:"label,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Country []*string `json:"country,omitempty"` + ReleaseDate NullableTime `json:"releaseDate,omitempty"` + Media []*Medium `json:"media,omitempty"` + TrackCount *int32 `json:"trackCount,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + Album *AlbumLazyLoaded `json:"album,omitempty"` + Tracks *TrackListLazyLoaded `json:"tracks,omitempty"` +} + +// NewAlbumRelease instantiates a new AlbumRelease object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumRelease() *AlbumRelease { + this := AlbumRelease{} + return &this +} + +// NewAlbumReleaseWithDefaults instantiates a new AlbumRelease object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumReleaseWithDefaults() *AlbumRelease { + this := AlbumRelease{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AlbumRelease) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AlbumRelease) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *AlbumRelease) SetId(v int32) { + o.Id = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *AlbumRelease) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *AlbumRelease) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *AlbumRelease) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetForeignReleaseId returns the ForeignReleaseId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetForeignReleaseId() string { + if o == nil || isNil(o.ForeignReleaseId.Get()) { + var ret string + return ret + } + return *o.ForeignReleaseId.Get() +} + +// GetForeignReleaseIdOk returns a tuple with the ForeignReleaseId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetForeignReleaseIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignReleaseId.Get(), o.ForeignReleaseId.IsSet() +} + +// HasForeignReleaseId returns a boolean if a field has been set. +func (o *AlbumRelease) HasForeignReleaseId() bool { + if o != nil && o.ForeignReleaseId.IsSet() { + return true + } + + return false +} + +// SetForeignReleaseId gets a reference to the given NullableString and assigns it to the ForeignReleaseId field. +func (o *AlbumRelease) SetForeignReleaseId(v string) { + o.ForeignReleaseId.Set(&v) +} +// SetForeignReleaseIdNil sets the value for ForeignReleaseId to be an explicit nil +func (o *AlbumRelease) SetForeignReleaseIdNil() { + o.ForeignReleaseId.Set(nil) +} + +// UnsetForeignReleaseId ensures that no value is present for ForeignReleaseId, not even an explicit nil +func (o *AlbumRelease) UnsetForeignReleaseId() { + o.ForeignReleaseId.Unset() +} + +// GetOldForeignReleaseIds returns the OldForeignReleaseIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetOldForeignReleaseIds() []*string { + if o == nil { + var ret []*string + return ret + } + return o.OldForeignReleaseIds +} + +// GetOldForeignReleaseIdsOk returns a tuple with the OldForeignReleaseIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetOldForeignReleaseIdsOk() ([]*string, bool) { + if o == nil || isNil(o.OldForeignReleaseIds) { + return nil, false + } + return o.OldForeignReleaseIds, true +} + +// HasOldForeignReleaseIds returns a boolean if a field has been set. +func (o *AlbumRelease) HasOldForeignReleaseIds() bool { + if o != nil && isNil(o.OldForeignReleaseIds) { + return true + } + + return false +} + +// SetOldForeignReleaseIds gets a reference to the given []string and assigns it to the OldForeignReleaseIds field. +func (o *AlbumRelease) SetOldForeignReleaseIds(v []*string) { + o.OldForeignReleaseIds = v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *AlbumRelease) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *AlbumRelease) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *AlbumRelease) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *AlbumRelease) UnsetTitle() { + o.Title.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetStatus() string { + if o == nil || isNil(o.Status.Get()) { + var ret string + return ret + } + return *o.Status.Get() +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Status.Get(), o.Status.IsSet() +} + +// HasStatus returns a boolean if a field has been set. +func (o *AlbumRelease) HasStatus() bool { + if o != nil && o.Status.IsSet() { + return true + } + + return false +} + +// SetStatus gets a reference to the given NullableString and assigns it to the Status field. +func (o *AlbumRelease) SetStatus(v string) { + o.Status.Set(&v) +} +// SetStatusNil sets the value for Status to be an explicit nil +func (o *AlbumRelease) SetStatusNil() { + o.Status.Set(nil) +} + +// UnsetStatus ensures that no value is present for Status, not even an explicit nil +func (o *AlbumRelease) UnsetStatus() { + o.Status.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *AlbumRelease) GetDuration() int32 { + if o == nil || isNil(o.Duration) { + var ret int32 + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetDurationOk() (*int32, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *AlbumRelease) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given int32 and assigns it to the Duration field. +func (o *AlbumRelease) SetDuration(v int32) { + o.Duration = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetLabel() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetLabelOk() ([]*string, bool) { + if o == nil || isNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *AlbumRelease) HasLabel() bool { + if o != nil && isNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given []string and assigns it to the Label field. +func (o *AlbumRelease) SetLabel(v []*string) { + o.Label = v +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *AlbumRelease) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *AlbumRelease) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *AlbumRelease) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *AlbumRelease) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetCountry() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Country +} + +// GetCountryOk returns a tuple with the Country field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetCountryOk() ([]*string, bool) { + if o == nil || isNil(o.Country) { + return nil, false + } + return o.Country, true +} + +// HasCountry returns a boolean if a field has been set. +func (o *AlbumRelease) HasCountry() bool { + if o != nil && isNil(o.Country) { + return true + } + + return false +} + +// SetCountry gets a reference to the given []string and assigns it to the Country field. +func (o *AlbumRelease) SetCountry(v []*string) { + o.Country = v +} + +// GetReleaseDate returns the ReleaseDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetReleaseDate() time.Time { + if o == nil || isNil(o.ReleaseDate.Get()) { + var ret time.Time + return ret + } + return *o.ReleaseDate.Get() +} + +// GetReleaseDateOk returns a tuple with the ReleaseDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetReleaseDateOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ReleaseDate.Get(), o.ReleaseDate.IsSet() +} + +// HasReleaseDate returns a boolean if a field has been set. +func (o *AlbumRelease) HasReleaseDate() bool { + if o != nil && o.ReleaseDate.IsSet() { + return true + } + + return false +} + +// SetReleaseDate gets a reference to the given NullableTime and assigns it to the ReleaseDate field. +func (o *AlbumRelease) SetReleaseDate(v time.Time) { + o.ReleaseDate.Set(&v) +} +// SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil +func (o *AlbumRelease) SetReleaseDateNil() { + o.ReleaseDate.Set(nil) +} + +// UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +func (o *AlbumRelease) UnsetReleaseDate() { + o.ReleaseDate.Unset() +} + +// GetMedia returns the Media field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumRelease) GetMedia() []*Medium { + if o == nil { + var ret []*Medium + return ret + } + return o.Media +} + +// GetMediaOk returns a tuple with the Media field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumRelease) GetMediaOk() ([]*Medium, bool) { + if o == nil || isNil(o.Media) { + return nil, false + } + return o.Media, true +} + +// HasMedia returns a boolean if a field has been set. +func (o *AlbumRelease) HasMedia() bool { + if o != nil && isNil(o.Media) { + return true + } + + return false +} + +// SetMedia gets a reference to the given []Medium and assigns it to the Media field. +func (o *AlbumRelease) SetMedia(v []*Medium) { + o.Media = v +} + +// GetTrackCount returns the TrackCount field value if set, zero value otherwise. +func (o *AlbumRelease) GetTrackCount() int32 { + if o == nil || isNil(o.TrackCount) { + var ret int32 + return ret + } + return *o.TrackCount +} + +// GetTrackCountOk returns a tuple with the TrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackCount) { + return nil, false + } + return o.TrackCount, true +} + +// HasTrackCount returns a boolean if a field has been set. +func (o *AlbumRelease) HasTrackCount() bool { + if o != nil && !isNil(o.TrackCount) { + return true + } + + return false +} + +// SetTrackCount gets a reference to the given int32 and assigns it to the TrackCount field. +func (o *AlbumRelease) SetTrackCount(v int32) { + o.TrackCount = &v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *AlbumRelease) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AlbumRelease) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *AlbumRelease) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *AlbumRelease) GetAlbum() AlbumLazyLoaded { + if o == nil || isNil(o.Album) { + var ret AlbumLazyLoaded + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetAlbumOk() (*AlbumLazyLoaded, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *AlbumRelease) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given AlbumLazyLoaded and assigns it to the Album field. +func (o *AlbumRelease) SetAlbum(v AlbumLazyLoaded) { + o.Album = &v +} + +// GetTracks returns the Tracks field value if set, zero value otherwise. +func (o *AlbumRelease) GetTracks() TrackListLazyLoaded { + if o == nil || isNil(o.Tracks) { + var ret TrackListLazyLoaded + return ret + } + return *o.Tracks +} + +// GetTracksOk returns a tuple with the Tracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumRelease) GetTracksOk() (*TrackListLazyLoaded, bool) { + if o == nil || isNil(o.Tracks) { + return nil, false + } + return o.Tracks, true +} + +// HasTracks returns a boolean if a field has been set. +func (o *AlbumRelease) HasTracks() bool { + if o != nil && !isNil(o.Tracks) { + return true + } + + return false +} + +// SetTracks gets a reference to the given TrackListLazyLoaded and assigns it to the Tracks field. +func (o *AlbumRelease) SetTracks(v TrackListLazyLoaded) { + o.Tracks = &v +} + +func (o AlbumRelease) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if o.ForeignReleaseId.IsSet() { + toSerialize["foreignReleaseId"] = o.ForeignReleaseId.Get() + } + if o.OldForeignReleaseIds != nil { + toSerialize["oldForeignReleaseIds"] = o.OldForeignReleaseIds + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.Status.IsSet() { + toSerialize["status"] = o.Status.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if o.Label != nil { + toSerialize["label"] = o.Label + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.Country != nil { + toSerialize["country"] = o.Country + } + if o.ReleaseDate.IsSet() { + toSerialize["releaseDate"] = o.ReleaseDate.Get() + } + if o.Media != nil { + toSerialize["media"] = o.Media + } + if !isNil(o.TrackCount) { + toSerialize["trackCount"] = o.TrackCount + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + if !isNil(o.Tracks) { + toSerialize["tracks"] = o.Tracks + } + return json.Marshal(toSerialize) +} + +type NullableAlbumRelease struct { + value *AlbumRelease + isSet bool +} + +func (v NullableAlbumRelease) Get() *AlbumRelease { + return v.value +} + +func (v *NullableAlbumRelease) Set(val *AlbumRelease) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumRelease) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumRelease) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumRelease(val *AlbumRelease) *NullableAlbumRelease { + return &NullableAlbumRelease{value: val, isSet: true} +} + +func (v NullableAlbumRelease) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumRelease) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_release_lazy_loaded.go b/lidarr/model_album_release_lazy_loaded.go new file mode 100644 index 0000000..5bfa574 --- /dev/null +++ b/lidarr/model_album_release_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumReleaseLazyLoaded struct for AlbumReleaseLazyLoaded +type AlbumReleaseLazyLoaded struct { + Value *AlbumRelease `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewAlbumReleaseLazyLoaded instantiates a new AlbumReleaseLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumReleaseLazyLoaded() *AlbumReleaseLazyLoaded { + this := AlbumReleaseLazyLoaded{} + return &this +} + +// NewAlbumReleaseLazyLoadedWithDefaults instantiates a new AlbumReleaseLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumReleaseLazyLoadedWithDefaults() *AlbumReleaseLazyLoaded { + this := AlbumReleaseLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *AlbumReleaseLazyLoaded) GetValue() AlbumRelease { + if o == nil || isNil(o.Value) { + var ret AlbumRelease + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseLazyLoaded) GetValueOk() (*AlbumRelease, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *AlbumReleaseLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given AlbumRelease and assigns it to the Value field. +func (o *AlbumReleaseLazyLoaded) SetValue(v AlbumRelease) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *AlbumReleaseLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *AlbumReleaseLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *AlbumReleaseLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o AlbumReleaseLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableAlbumReleaseLazyLoaded struct { + value *AlbumReleaseLazyLoaded + isSet bool +} + +func (v NullableAlbumReleaseLazyLoaded) Get() *AlbumReleaseLazyLoaded { + return v.value +} + +func (v *NullableAlbumReleaseLazyLoaded) Set(val *AlbumReleaseLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumReleaseLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumReleaseLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumReleaseLazyLoaded(val *AlbumReleaseLazyLoaded) *NullableAlbumReleaseLazyLoaded { + return &NullableAlbumReleaseLazyLoaded{value: val, isSet: true} +} + +func (v NullableAlbumReleaseLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumReleaseLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_release_list_lazy_loaded.go b/lidarr/model_album_release_list_lazy_loaded.go new file mode 100644 index 0000000..b2f791b --- /dev/null +++ b/lidarr/model_album_release_list_lazy_loaded.go @@ -0,0 +1,152 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumReleaseListLazyLoaded struct for AlbumReleaseListLazyLoaded +type AlbumReleaseListLazyLoaded struct { + Value []*AlbumRelease `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewAlbumReleaseListLazyLoaded instantiates a new AlbumReleaseListLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumReleaseListLazyLoaded() *AlbumReleaseListLazyLoaded { + this := AlbumReleaseListLazyLoaded{} + return &this +} + +// NewAlbumReleaseListLazyLoadedWithDefaults instantiates a new AlbumReleaseListLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumReleaseListLazyLoadedWithDefaults() *AlbumReleaseListLazyLoaded { + this := AlbumReleaseListLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseListLazyLoaded) GetValue() []*AlbumRelease { + if o == nil { + var ret []*AlbumRelease + return ret + } + return o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseListLazyLoaded) GetValueOk() ([]*AlbumRelease, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *AlbumReleaseListLazyLoaded) HasValue() bool { + if o != nil && isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given []AlbumRelease and assigns it to the Value field. +func (o *AlbumReleaseListLazyLoaded) SetValue(v []*AlbumRelease) { + o.Value = v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *AlbumReleaseListLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseListLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *AlbumReleaseListLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *AlbumReleaseListLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o AlbumReleaseListLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Value != nil { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableAlbumReleaseListLazyLoaded struct { + value *AlbumReleaseListLazyLoaded + isSet bool +} + +func (v NullableAlbumReleaseListLazyLoaded) Get() *AlbumReleaseListLazyLoaded { + return v.value +} + +func (v *NullableAlbumReleaseListLazyLoaded) Set(val *AlbumReleaseListLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumReleaseListLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumReleaseListLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumReleaseListLazyLoaded(val *AlbumReleaseListLazyLoaded) *NullableAlbumReleaseListLazyLoaded { + return &NullableAlbumReleaseListLazyLoaded{value: val, isSet: true} +} + +func (v NullableAlbumReleaseListLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumReleaseListLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_release_resource.go b/lidarr/model_album_release_resource.go new file mode 100644 index 0000000..07c7c06 --- /dev/null +++ b/lidarr/model_album_release_resource.go @@ -0,0 +1,636 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumReleaseResource struct for AlbumReleaseResource +type AlbumReleaseResource struct { + Id *int32 `json:"id,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + ForeignReleaseId NullableString `json:"foreignReleaseId,omitempty"` + Title NullableString `json:"title,omitempty"` + Status NullableString `json:"status,omitempty"` + Duration *int32 `json:"duration,omitempty"` + TrackCount *int32 `json:"trackCount,omitempty"` + Media []*MediumResource `json:"media,omitempty"` + MediumCount *int32 `json:"mediumCount,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Country []*string `json:"country,omitempty"` + Label []*string `json:"label,omitempty"` + Format NullableString `json:"format,omitempty"` + Monitored *bool `json:"monitored,omitempty"` +} + +// NewAlbumReleaseResource instantiates a new AlbumReleaseResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumReleaseResource() *AlbumReleaseResource { + this := AlbumReleaseResource{} + return &this +} + +// NewAlbumReleaseResourceWithDefaults instantiates a new AlbumReleaseResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumReleaseResourceWithDefaults() *AlbumReleaseResource { + this := AlbumReleaseResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *AlbumReleaseResource) SetId(v int32) { + o.Id = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *AlbumReleaseResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetForeignReleaseId returns the ForeignReleaseId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetForeignReleaseId() string { + if o == nil || isNil(o.ForeignReleaseId.Get()) { + var ret string + return ret + } + return *o.ForeignReleaseId.Get() +} + +// GetForeignReleaseIdOk returns a tuple with the ForeignReleaseId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetForeignReleaseIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignReleaseId.Get(), o.ForeignReleaseId.IsSet() +} + +// HasForeignReleaseId returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasForeignReleaseId() bool { + if o != nil && o.ForeignReleaseId.IsSet() { + return true + } + + return false +} + +// SetForeignReleaseId gets a reference to the given NullableString and assigns it to the ForeignReleaseId field. +func (o *AlbumReleaseResource) SetForeignReleaseId(v string) { + o.ForeignReleaseId.Set(&v) +} +// SetForeignReleaseIdNil sets the value for ForeignReleaseId to be an explicit nil +func (o *AlbumReleaseResource) SetForeignReleaseIdNil() { + o.ForeignReleaseId.Set(nil) +} + +// UnsetForeignReleaseId ensures that no value is present for ForeignReleaseId, not even an explicit nil +func (o *AlbumReleaseResource) UnsetForeignReleaseId() { + o.ForeignReleaseId.Unset() +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *AlbumReleaseResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *AlbumReleaseResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *AlbumReleaseResource) UnsetTitle() { + o.Title.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetStatus() string { + if o == nil || isNil(o.Status.Get()) { + var ret string + return ret + } + return *o.Status.Get() +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Status.Get(), o.Status.IsSet() +} + +// HasStatus returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasStatus() bool { + if o != nil && o.Status.IsSet() { + return true + } + + return false +} + +// SetStatus gets a reference to the given NullableString and assigns it to the Status field. +func (o *AlbumReleaseResource) SetStatus(v string) { + o.Status.Set(&v) +} +// SetStatusNil sets the value for Status to be an explicit nil +func (o *AlbumReleaseResource) SetStatusNil() { + o.Status.Set(nil) +} + +// UnsetStatus ensures that no value is present for Status, not even an explicit nil +func (o *AlbumReleaseResource) UnsetStatus() { + o.Status.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetDuration() int32 { + if o == nil || isNil(o.Duration) { + var ret int32 + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetDurationOk() (*int32, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given int32 and assigns it to the Duration field. +func (o *AlbumReleaseResource) SetDuration(v int32) { + o.Duration = &v +} + +// GetTrackCount returns the TrackCount field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetTrackCount() int32 { + if o == nil || isNil(o.TrackCount) { + var ret int32 + return ret + } + return *o.TrackCount +} + +// GetTrackCountOk returns a tuple with the TrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackCount) { + return nil, false + } + return o.TrackCount, true +} + +// HasTrackCount returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasTrackCount() bool { + if o != nil && !isNil(o.TrackCount) { + return true + } + + return false +} + +// SetTrackCount gets a reference to the given int32 and assigns it to the TrackCount field. +func (o *AlbumReleaseResource) SetTrackCount(v int32) { + o.TrackCount = &v +} + +// GetMedia returns the Media field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetMedia() []*MediumResource { + if o == nil { + var ret []*MediumResource + return ret + } + return o.Media +} + +// GetMediaOk returns a tuple with the Media field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetMediaOk() ([]*MediumResource, bool) { + if o == nil || isNil(o.Media) { + return nil, false + } + return o.Media, true +} + +// HasMedia returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasMedia() bool { + if o != nil && isNil(o.Media) { + return true + } + + return false +} + +// SetMedia gets a reference to the given []MediumResource and assigns it to the Media field. +func (o *AlbumReleaseResource) SetMedia(v []*MediumResource) { + o.Media = v +} + +// GetMediumCount returns the MediumCount field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetMediumCount() int32 { + if o == nil || isNil(o.MediumCount) { + var ret int32 + return ret + } + return *o.MediumCount +} + +// GetMediumCountOk returns a tuple with the MediumCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetMediumCountOk() (*int32, bool) { + if o == nil || isNil(o.MediumCount) { + return nil, false + } + return o.MediumCount, true +} + +// HasMediumCount returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasMediumCount() bool { + if o != nil && !isNil(o.MediumCount) { + return true + } + + return false +} + +// SetMediumCount gets a reference to the given int32 and assigns it to the MediumCount field. +func (o *AlbumReleaseResource) SetMediumCount(v int32) { + o.MediumCount = &v +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *AlbumReleaseResource) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *AlbumReleaseResource) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *AlbumReleaseResource) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetCountry() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Country +} + +// GetCountryOk returns a tuple with the Country field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetCountryOk() ([]*string, bool) { + if o == nil || isNil(o.Country) { + return nil, false + } + return o.Country, true +} + +// HasCountry returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasCountry() bool { + if o != nil && isNil(o.Country) { + return true + } + + return false +} + +// SetCountry gets a reference to the given []string and assigns it to the Country field. +func (o *AlbumReleaseResource) SetCountry(v []*string) { + o.Country = v +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetLabel() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Label +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetLabelOk() ([]*string, bool) { + if o == nil || isNil(o.Label) { + return nil, false + } + return o.Label, true +} + +// HasLabel returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasLabel() bool { + if o != nil && isNil(o.Label) { + return true + } + + return false +} + +// SetLabel gets a reference to the given []string and assigns it to the Label field. +func (o *AlbumReleaseResource) SetLabel(v []*string) { + o.Label = v +} + +// GetFormat returns the Format field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumReleaseResource) GetFormat() string { + if o == nil || isNil(o.Format.Get()) { + var ret string + return ret + } + return *o.Format.Get() +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumReleaseResource) GetFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Format.Get(), o.Format.IsSet() +} + +// HasFormat returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasFormat() bool { + if o != nil && o.Format.IsSet() { + return true + } + + return false +} + +// SetFormat gets a reference to the given NullableString and assigns it to the Format field. +func (o *AlbumReleaseResource) SetFormat(v string) { + o.Format.Set(&v) +} +// SetFormatNil sets the value for Format to be an explicit nil +func (o *AlbumReleaseResource) SetFormatNil() { + o.Format.Set(nil) +} + +// UnsetFormat ensures that no value is present for Format, not even an explicit nil +func (o *AlbumReleaseResource) UnsetFormat() { + o.Format.Unset() +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *AlbumReleaseResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumReleaseResource) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AlbumReleaseResource) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *AlbumReleaseResource) SetMonitored(v bool) { + o.Monitored = &v +} + +func (o AlbumReleaseResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if o.ForeignReleaseId.IsSet() { + toSerialize["foreignReleaseId"] = o.ForeignReleaseId.Get() + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.Status.IsSet() { + toSerialize["status"] = o.Status.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if !isNil(o.TrackCount) { + toSerialize["trackCount"] = o.TrackCount + } + if o.Media != nil { + toSerialize["media"] = o.Media + } + if !isNil(o.MediumCount) { + toSerialize["mediumCount"] = o.MediumCount + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.Country != nil { + toSerialize["country"] = o.Country + } + if o.Label != nil { + toSerialize["label"] = o.Label + } + if o.Format.IsSet() { + toSerialize["format"] = o.Format.Get() + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + return json.Marshal(toSerialize) +} + +type NullableAlbumReleaseResource struct { + value *AlbumReleaseResource + isSet bool +} + +func (v NullableAlbumReleaseResource) Get() *AlbumReleaseResource { + return v.value +} + +func (v *NullableAlbumReleaseResource) Set(val *AlbumReleaseResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumReleaseResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumReleaseResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumReleaseResource(val *AlbumReleaseResource) *NullableAlbumReleaseResource { + return &NullableAlbumReleaseResource{value: val, isSet: true} +} + +func (v NullableAlbumReleaseResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumReleaseResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_resource.go b/lidarr/model_album_resource.go new file mode 100644 index 0000000..c20f66a --- /dev/null +++ b/lidarr/model_album_resource.go @@ -0,0 +1,1056 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// AlbumResource struct for AlbumResource +type AlbumResource struct { + Id *int32 `json:"id,omitempty"` + Title NullableString `json:"title,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Overview NullableString `json:"overview,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + ForeignAlbumId NullableString `json:"foreignAlbumId,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + AnyReleaseOk *bool `json:"anyReleaseOk,omitempty"` + ProfileId *int32 `json:"profileId,omitempty"` + Duration *int32 `json:"duration,omitempty"` + AlbumType NullableString `json:"albumType,omitempty"` + SecondaryTypes []*string `json:"secondaryTypes,omitempty"` + MediumCount *int32 `json:"mediumCount,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + ReleaseDate NullableTime `json:"releaseDate,omitempty"` + Releases []*AlbumReleaseResource `json:"releases,omitempty"` + Genres []*string `json:"genres,omitempty"` + Media []*MediumResource `json:"media,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Images []*MediaCover `json:"images,omitempty"` + Links []*Links `json:"links,omitempty"` + Statistics *AlbumStatisticsResource `json:"statistics,omitempty"` + AddOptions *AddAlbumOptions `json:"addOptions,omitempty"` + RemoteCover NullableString `json:"remoteCover,omitempty"` + Grabbed *bool `json:"grabbed,omitempty"` +} + +// NewAlbumResource instantiates a new AlbumResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumResource() *AlbumResource { + this := AlbumResource{} + return &this +} + +// NewAlbumResourceWithDefaults instantiates a new AlbumResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumResourceWithDefaults() *AlbumResource { + this := AlbumResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AlbumResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AlbumResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *AlbumResource) SetId(v int32) { + o.Id = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *AlbumResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *AlbumResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *AlbumResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *AlbumResource) UnsetTitle() { + o.Title.Unset() +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *AlbumResource) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *AlbumResource) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *AlbumResource) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *AlbumResource) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetOverview returns the Overview field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetOverview() string { + if o == nil || isNil(o.Overview.Get()) { + var ret string + return ret + } + return *o.Overview.Get() +} + +// GetOverviewOk returns a tuple with the Overview field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetOverviewOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Overview.Get(), o.Overview.IsSet() +} + +// HasOverview returns a boolean if a field has been set. +func (o *AlbumResource) HasOverview() bool { + if o != nil && o.Overview.IsSet() { + return true + } + + return false +} + +// SetOverview gets a reference to the given NullableString and assigns it to the Overview field. +func (o *AlbumResource) SetOverview(v string) { + o.Overview.Set(&v) +} +// SetOverviewNil sets the value for Overview to be an explicit nil +func (o *AlbumResource) SetOverviewNil() { + o.Overview.Set(nil) +} + +// UnsetOverview ensures that no value is present for Overview, not even an explicit nil +func (o *AlbumResource) UnsetOverview() { + o.Overview.Unset() +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *AlbumResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *AlbumResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *AlbumResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetForeignAlbumId returns the ForeignAlbumId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetForeignAlbumId() string { + if o == nil || isNil(o.ForeignAlbumId.Get()) { + var ret string + return ret + } + return *o.ForeignAlbumId.Get() +} + +// GetForeignAlbumIdOk returns a tuple with the ForeignAlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetForeignAlbumIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignAlbumId.Get(), o.ForeignAlbumId.IsSet() +} + +// HasForeignAlbumId returns a boolean if a field has been set. +func (o *AlbumResource) HasForeignAlbumId() bool { + if o != nil && o.ForeignAlbumId.IsSet() { + return true + } + + return false +} + +// SetForeignAlbumId gets a reference to the given NullableString and assigns it to the ForeignAlbumId field. +func (o *AlbumResource) SetForeignAlbumId(v string) { + o.ForeignAlbumId.Set(&v) +} +// SetForeignAlbumIdNil sets the value for ForeignAlbumId to be an explicit nil +func (o *AlbumResource) SetForeignAlbumIdNil() { + o.ForeignAlbumId.Set(nil) +} + +// UnsetForeignAlbumId ensures that no value is present for ForeignAlbumId, not even an explicit nil +func (o *AlbumResource) UnsetForeignAlbumId() { + o.ForeignAlbumId.Unset() +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *AlbumResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AlbumResource) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *AlbumResource) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetAnyReleaseOk returns the AnyReleaseOk field value if set, zero value otherwise. +func (o *AlbumResource) GetAnyReleaseOk() bool { + if o == nil || isNil(o.AnyReleaseOk) { + var ret bool + return ret + } + return *o.AnyReleaseOk +} + +// GetAnyReleaseOkOk returns a tuple with the AnyReleaseOk field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetAnyReleaseOkOk() (*bool, bool) { + if o == nil || isNil(o.AnyReleaseOk) { + return nil, false + } + return o.AnyReleaseOk, true +} + +// HasAnyReleaseOk returns a boolean if a field has been set. +func (o *AlbumResource) HasAnyReleaseOk() bool { + if o != nil && !isNil(o.AnyReleaseOk) { + return true + } + + return false +} + +// SetAnyReleaseOk gets a reference to the given bool and assigns it to the AnyReleaseOk field. +func (o *AlbumResource) SetAnyReleaseOk(v bool) { + o.AnyReleaseOk = &v +} + +// GetProfileId returns the ProfileId field value if set, zero value otherwise. +func (o *AlbumResource) GetProfileId() int32 { + if o == nil || isNil(o.ProfileId) { + var ret int32 + return ret + } + return *o.ProfileId +} + +// GetProfileIdOk returns a tuple with the ProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.ProfileId) { + return nil, false + } + return o.ProfileId, true +} + +// HasProfileId returns a boolean if a field has been set. +func (o *AlbumResource) HasProfileId() bool { + if o != nil && !isNil(o.ProfileId) { + return true + } + + return false +} + +// SetProfileId gets a reference to the given int32 and assigns it to the ProfileId field. +func (o *AlbumResource) SetProfileId(v int32) { + o.ProfileId = &v +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *AlbumResource) GetDuration() int32 { + if o == nil || isNil(o.Duration) { + var ret int32 + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetDurationOk() (*int32, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *AlbumResource) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given int32 and assigns it to the Duration field. +func (o *AlbumResource) SetDuration(v int32) { + o.Duration = &v +} + +// GetAlbumType returns the AlbumType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetAlbumType() string { + if o == nil || isNil(o.AlbumType.Get()) { + var ret string + return ret + } + return *o.AlbumType.Get() +} + +// GetAlbumTypeOk returns a tuple with the AlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetAlbumTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumType.Get(), o.AlbumType.IsSet() +} + +// HasAlbumType returns a boolean if a field has been set. +func (o *AlbumResource) HasAlbumType() bool { + if o != nil && o.AlbumType.IsSet() { + return true + } + + return false +} + +// SetAlbumType gets a reference to the given NullableString and assigns it to the AlbumType field. +func (o *AlbumResource) SetAlbumType(v string) { + o.AlbumType.Set(&v) +} +// SetAlbumTypeNil sets the value for AlbumType to be an explicit nil +func (o *AlbumResource) SetAlbumTypeNil() { + o.AlbumType.Set(nil) +} + +// UnsetAlbumType ensures that no value is present for AlbumType, not even an explicit nil +func (o *AlbumResource) UnsetAlbumType() { + o.AlbumType.Unset() +} + +// GetSecondaryTypes returns the SecondaryTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetSecondaryTypes() []*string { + if o == nil { + var ret []*string + return ret + } + return o.SecondaryTypes +} + +// GetSecondaryTypesOk returns a tuple with the SecondaryTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetSecondaryTypesOk() ([]*string, bool) { + if o == nil || isNil(o.SecondaryTypes) { + return nil, false + } + return o.SecondaryTypes, true +} + +// HasSecondaryTypes returns a boolean if a field has been set. +func (o *AlbumResource) HasSecondaryTypes() bool { + if o != nil && isNil(o.SecondaryTypes) { + return true + } + + return false +} + +// SetSecondaryTypes gets a reference to the given []string and assigns it to the SecondaryTypes field. +func (o *AlbumResource) SetSecondaryTypes(v []*string) { + o.SecondaryTypes = v +} + +// GetMediumCount returns the MediumCount field value if set, zero value otherwise. +func (o *AlbumResource) GetMediumCount() int32 { + if o == nil || isNil(o.MediumCount) { + var ret int32 + return ret + } + return *o.MediumCount +} + +// GetMediumCountOk returns a tuple with the MediumCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetMediumCountOk() (*int32, bool) { + if o == nil || isNil(o.MediumCount) { + return nil, false + } + return o.MediumCount, true +} + +// HasMediumCount returns a boolean if a field has been set. +func (o *AlbumResource) HasMediumCount() bool { + if o != nil && !isNil(o.MediumCount) { + return true + } + + return false +} + +// SetMediumCount gets a reference to the given int32 and assigns it to the MediumCount field. +func (o *AlbumResource) SetMediumCount(v int32) { + o.MediumCount = &v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *AlbumResource) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *AlbumResource) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *AlbumResource) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetReleaseDate returns the ReleaseDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetReleaseDate() time.Time { + if o == nil || isNil(o.ReleaseDate.Get()) { + var ret time.Time + return ret + } + return *o.ReleaseDate.Get() +} + +// GetReleaseDateOk returns a tuple with the ReleaseDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetReleaseDateOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ReleaseDate.Get(), o.ReleaseDate.IsSet() +} + +// HasReleaseDate returns a boolean if a field has been set. +func (o *AlbumResource) HasReleaseDate() bool { + if o != nil && o.ReleaseDate.IsSet() { + return true + } + + return false +} + +// SetReleaseDate gets a reference to the given NullableTime and assigns it to the ReleaseDate field. +func (o *AlbumResource) SetReleaseDate(v time.Time) { + o.ReleaseDate.Set(&v) +} +// SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil +func (o *AlbumResource) SetReleaseDateNil() { + o.ReleaseDate.Set(nil) +} + +// UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +func (o *AlbumResource) UnsetReleaseDate() { + o.ReleaseDate.Unset() +} + +// GetReleases returns the Releases field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetReleases() []*AlbumReleaseResource { + if o == nil { + var ret []*AlbumReleaseResource + return ret + } + return o.Releases +} + +// GetReleasesOk returns a tuple with the Releases field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetReleasesOk() ([]*AlbumReleaseResource, bool) { + if o == nil || isNil(o.Releases) { + return nil, false + } + return o.Releases, true +} + +// HasReleases returns a boolean if a field has been set. +func (o *AlbumResource) HasReleases() bool { + if o != nil && isNil(o.Releases) { + return true + } + + return false +} + +// SetReleases gets a reference to the given []AlbumReleaseResource and assigns it to the Releases field. +func (o *AlbumResource) SetReleases(v []*AlbumReleaseResource) { + o.Releases = v +} + +// GetGenres returns the Genres field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetGenres() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Genres +} + +// GetGenresOk returns a tuple with the Genres field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetGenresOk() ([]*string, bool) { + if o == nil || isNil(o.Genres) { + return nil, false + } + return o.Genres, true +} + +// HasGenres returns a boolean if a field has been set. +func (o *AlbumResource) HasGenres() bool { + if o != nil && isNil(o.Genres) { + return true + } + + return false +} + +// SetGenres gets a reference to the given []string and assigns it to the Genres field. +func (o *AlbumResource) SetGenres(v []*string) { + o.Genres = v +} + +// GetMedia returns the Media field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetMedia() []*MediumResource { + if o == nil { + var ret []*MediumResource + return ret + } + return o.Media +} + +// GetMediaOk returns a tuple with the Media field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetMediaOk() ([]*MediumResource, bool) { + if o == nil || isNil(o.Media) { + return nil, false + } + return o.Media, true +} + +// HasMedia returns a boolean if a field has been set. +func (o *AlbumResource) HasMedia() bool { + if o != nil && isNil(o.Media) { + return true + } + + return false +} + +// SetMedia gets a reference to the given []MediumResource and assigns it to the Media field. +func (o *AlbumResource) SetMedia(v []*MediumResource) { + o.Media = v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *AlbumResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *AlbumResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *AlbumResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetImages returns the Images field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetImages() []*MediaCover { + if o == nil { + var ret []*MediaCover + return ret + } + return o.Images +} + +// GetImagesOk returns a tuple with the Images field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetImagesOk() ([]*MediaCover, bool) { + if o == nil || isNil(o.Images) { + return nil, false + } + return o.Images, true +} + +// HasImages returns a boolean if a field has been set. +func (o *AlbumResource) HasImages() bool { + if o != nil && isNil(o.Images) { + return true + } + + return false +} + +// SetImages gets a reference to the given []MediaCover and assigns it to the Images field. +func (o *AlbumResource) SetImages(v []*MediaCover) { + o.Images = v +} + +// GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetLinks() []*Links { + if o == nil { + var ret []*Links + return ret + } + return o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetLinksOk() ([]*Links, bool) { + if o == nil || isNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *AlbumResource) HasLinks() bool { + if o != nil && isNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given []Links and assigns it to the Links field. +func (o *AlbumResource) SetLinks(v []*Links) { + o.Links = v +} + +// GetStatistics returns the Statistics field value if set, zero value otherwise. +func (o *AlbumResource) GetStatistics() AlbumStatisticsResource { + if o == nil || isNil(o.Statistics) { + var ret AlbumStatisticsResource + return ret + } + return *o.Statistics +} + +// GetStatisticsOk returns a tuple with the Statistics field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetStatisticsOk() (*AlbumStatisticsResource, bool) { + if o == nil || isNil(o.Statistics) { + return nil, false + } + return o.Statistics, true +} + +// HasStatistics returns a boolean if a field has been set. +func (o *AlbumResource) HasStatistics() bool { + if o != nil && !isNil(o.Statistics) { + return true + } + + return false +} + +// SetStatistics gets a reference to the given AlbumStatisticsResource and assigns it to the Statistics field. +func (o *AlbumResource) SetStatistics(v AlbumStatisticsResource) { + o.Statistics = &v +} + +// GetAddOptions returns the AddOptions field value if set, zero value otherwise. +func (o *AlbumResource) GetAddOptions() AddAlbumOptions { + if o == nil || isNil(o.AddOptions) { + var ret AddAlbumOptions + return ret + } + return *o.AddOptions +} + +// GetAddOptionsOk returns a tuple with the AddOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetAddOptionsOk() (*AddAlbumOptions, bool) { + if o == nil || isNil(o.AddOptions) { + return nil, false + } + return o.AddOptions, true +} + +// HasAddOptions returns a boolean if a field has been set. +func (o *AlbumResource) HasAddOptions() bool { + if o != nil && !isNil(o.AddOptions) { + return true + } + + return false +} + +// SetAddOptions gets a reference to the given AddAlbumOptions and assigns it to the AddOptions field. +func (o *AlbumResource) SetAddOptions(v AddAlbumOptions) { + o.AddOptions = &v +} + +// GetRemoteCover returns the RemoteCover field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResource) GetRemoteCover() string { + if o == nil || isNil(o.RemoteCover.Get()) { + var ret string + return ret + } + return *o.RemoteCover.Get() +} + +// GetRemoteCoverOk returns a tuple with the RemoteCover field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResource) GetRemoteCoverOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RemoteCover.Get(), o.RemoteCover.IsSet() +} + +// HasRemoteCover returns a boolean if a field has been set. +func (o *AlbumResource) HasRemoteCover() bool { + if o != nil && o.RemoteCover.IsSet() { + return true + } + + return false +} + +// SetRemoteCover gets a reference to the given NullableString and assigns it to the RemoteCover field. +func (o *AlbumResource) SetRemoteCover(v string) { + o.RemoteCover.Set(&v) +} +// SetRemoteCoverNil sets the value for RemoteCover to be an explicit nil +func (o *AlbumResource) SetRemoteCoverNil() { + o.RemoteCover.Set(nil) +} + +// UnsetRemoteCover ensures that no value is present for RemoteCover, not even an explicit nil +func (o *AlbumResource) UnsetRemoteCover() { + o.RemoteCover.Unset() +} + +// GetGrabbed returns the Grabbed field value if set, zero value otherwise. +func (o *AlbumResource) GetGrabbed() bool { + if o == nil || isNil(o.Grabbed) { + var ret bool + return ret + } + return *o.Grabbed +} + +// GetGrabbedOk returns a tuple with the Grabbed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResource) GetGrabbedOk() (*bool, bool) { + if o == nil || isNil(o.Grabbed) { + return nil, false + } + return o.Grabbed, true +} + +// HasGrabbed returns a boolean if a field has been set. +func (o *AlbumResource) HasGrabbed() bool { + if o != nil && !isNil(o.Grabbed) { + return true + } + + return false +} + +// SetGrabbed gets a reference to the given bool and assigns it to the Grabbed field. +func (o *AlbumResource) SetGrabbed(v bool) { + o.Grabbed = &v +} + +func (o AlbumResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.Overview.IsSet() { + toSerialize["overview"] = o.Overview.Get() + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if o.ForeignAlbumId.IsSet() { + toSerialize["foreignAlbumId"] = o.ForeignAlbumId.Get() + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.AnyReleaseOk) { + toSerialize["anyReleaseOk"] = o.AnyReleaseOk + } + if !isNil(o.ProfileId) { + toSerialize["profileId"] = o.ProfileId + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if o.AlbumType.IsSet() { + toSerialize["albumType"] = o.AlbumType.Get() + } + if o.SecondaryTypes != nil { + toSerialize["secondaryTypes"] = o.SecondaryTypes + } + if !isNil(o.MediumCount) { + toSerialize["mediumCount"] = o.MediumCount + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if o.ReleaseDate.IsSet() { + toSerialize["releaseDate"] = o.ReleaseDate.Get() + } + if o.Releases != nil { + toSerialize["releases"] = o.Releases + } + if o.Genres != nil { + toSerialize["genres"] = o.Genres + } + if o.Media != nil { + toSerialize["media"] = o.Media + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if o.Images != nil { + toSerialize["images"] = o.Images + } + if o.Links != nil { + toSerialize["links"] = o.Links + } + if !isNil(o.Statistics) { + toSerialize["statistics"] = o.Statistics + } + if !isNil(o.AddOptions) { + toSerialize["addOptions"] = o.AddOptions + } + if o.RemoteCover.IsSet() { + toSerialize["remoteCover"] = o.RemoteCover.Get() + } + if !isNil(o.Grabbed) { + toSerialize["grabbed"] = o.Grabbed + } + return json.Marshal(toSerialize) +} + +type NullableAlbumResource struct { + value *AlbumResource + isSet bool +} + +func (v NullableAlbumResource) Get() *AlbumResource { + return v.value +} + +func (v *NullableAlbumResource) Set(val *AlbumResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumResource(val *AlbumResource) *NullableAlbumResource { + return &NullableAlbumResource{value: val, isSet: true} +} + +func (v NullableAlbumResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_resource_paging_resource.go b/lidarr/model_album_resource_paging_resource.go new file mode 100644 index 0000000..8a16ed3 --- /dev/null +++ b/lidarr/model_album_resource_paging_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumResourcePagingResource struct for AlbumResourcePagingResource +type AlbumResourcePagingResource struct { + Page *int32 `json:"page,omitempty"` + PageSize *int32 `json:"pageSize,omitempty"` + SortKey NullableString `json:"sortKey,omitempty"` + SortDirection *SortDirection `json:"sortDirection,omitempty"` + Filters []*PagingResourceFilter `json:"filters,omitempty"` + TotalRecords *int32 `json:"totalRecords,omitempty"` + Records []*AlbumResource `json:"records,omitempty"` +} + +// NewAlbumResourcePagingResource instantiates a new AlbumResourcePagingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumResourcePagingResource() *AlbumResourcePagingResource { + this := AlbumResourcePagingResource{} + return &this +} + +// NewAlbumResourcePagingResourceWithDefaults instantiates a new AlbumResourcePagingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumResourcePagingResourceWithDefaults() *AlbumResourcePagingResource { + this := AlbumResourcePagingResource{} + return &this +} + +// GetPage returns the Page field value if set, zero value otherwise. +func (o *AlbumResourcePagingResource) GetPage() int32 { + if o == nil || isNil(o.Page) { + var ret int32 + return ret + } + return *o.Page +} + +// GetPageOk returns a tuple with the Page field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResourcePagingResource) GetPageOk() (*int32, bool) { + if o == nil || isNil(o.Page) { + return nil, false + } + return o.Page, true +} + +// HasPage returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasPage() bool { + if o != nil && !isNil(o.Page) { + return true + } + + return false +} + +// SetPage gets a reference to the given int32 and assigns it to the Page field. +func (o *AlbumResourcePagingResource) SetPage(v int32) { + o.Page = &v +} + +// GetPageSize returns the PageSize field value if set, zero value otherwise. +func (o *AlbumResourcePagingResource) GetPageSize() int32 { + if o == nil || isNil(o.PageSize) { + var ret int32 + return ret + } + return *o.PageSize +} + +// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResourcePagingResource) GetPageSizeOk() (*int32, bool) { + if o == nil || isNil(o.PageSize) { + return nil, false + } + return o.PageSize, true +} + +// HasPageSize returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasPageSize() bool { + if o != nil && !isNil(o.PageSize) { + return true + } + + return false +} + +// SetPageSize gets a reference to the given int32 and assigns it to the PageSize field. +func (o *AlbumResourcePagingResource) SetPageSize(v int32) { + o.PageSize = &v +} + +// GetSortKey returns the SortKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResourcePagingResource) GetSortKey() string { + if o == nil || isNil(o.SortKey.Get()) { + var ret string + return ret + } + return *o.SortKey.Get() +} + +// GetSortKeyOk returns a tuple with the SortKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResourcePagingResource) GetSortKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortKey.Get(), o.SortKey.IsSet() +} + +// HasSortKey returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasSortKey() bool { + if o != nil && o.SortKey.IsSet() { + return true + } + + return false +} + +// SetSortKey gets a reference to the given NullableString and assigns it to the SortKey field. +func (o *AlbumResourcePagingResource) SetSortKey(v string) { + o.SortKey.Set(&v) +} +// SetSortKeyNil sets the value for SortKey to be an explicit nil +func (o *AlbumResourcePagingResource) SetSortKeyNil() { + o.SortKey.Set(nil) +} + +// UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +func (o *AlbumResourcePagingResource) UnsetSortKey() { + o.SortKey.Unset() +} + +// GetSortDirection returns the SortDirection field value if set, zero value otherwise. +func (o *AlbumResourcePagingResource) GetSortDirection() SortDirection { + if o == nil || isNil(o.SortDirection) { + var ret SortDirection + return ret + } + return *o.SortDirection +} + +// GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool) { + if o == nil || isNil(o.SortDirection) { + return nil, false + } + return o.SortDirection, true +} + +// HasSortDirection returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasSortDirection() bool { + if o != nil && !isNil(o.SortDirection) { + return true + } + + return false +} + +// SetSortDirection gets a reference to the given SortDirection and assigns it to the SortDirection field. +func (o *AlbumResourcePagingResource) SetSortDirection(v SortDirection) { + o.SortDirection = &v +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResourcePagingResource) GetFilters() []*PagingResourceFilter { + if o == nil { + var ret []*PagingResourceFilter + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResourcePagingResource) GetFiltersOk() ([]*PagingResourceFilter, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []PagingResourceFilter and assigns it to the Filters field. +func (o *AlbumResourcePagingResource) SetFilters(v []*PagingResourceFilter) { + o.Filters = v +} + +// GetTotalRecords returns the TotalRecords field value if set, zero value otherwise. +func (o *AlbumResourcePagingResource) GetTotalRecords() int32 { + if o == nil || isNil(o.TotalRecords) { + var ret int32 + return ret + } + return *o.TotalRecords +} + +// GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumResourcePagingResource) GetTotalRecordsOk() (*int32, bool) { + if o == nil || isNil(o.TotalRecords) { + return nil, false + } + return o.TotalRecords, true +} + +// HasTotalRecords returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasTotalRecords() bool { + if o != nil && !isNil(o.TotalRecords) { + return true + } + + return false +} + +// SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field. +func (o *AlbumResourcePagingResource) SetTotalRecords(v int32) { + o.TotalRecords = &v +} + +// GetRecords returns the Records field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumResourcePagingResource) GetRecords() []*AlbumResource { + if o == nil { + var ret []*AlbumResource + return ret + } + return o.Records +} + +// GetRecordsOk returns a tuple with the Records field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumResourcePagingResource) GetRecordsOk() ([]*AlbumResource, bool) { + if o == nil || isNil(o.Records) { + return nil, false + } + return o.Records, true +} + +// HasRecords returns a boolean if a field has been set. +func (o *AlbumResourcePagingResource) HasRecords() bool { + if o != nil && isNil(o.Records) { + return true + } + + return false +} + +// SetRecords gets a reference to the given []AlbumResource and assigns it to the Records field. +func (o *AlbumResourcePagingResource) SetRecords(v []*AlbumResource) { + o.Records = v +} + +func (o AlbumResourcePagingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Page) { + toSerialize["page"] = o.Page + } + if !isNil(o.PageSize) { + toSerialize["pageSize"] = o.PageSize + } + if o.SortKey.IsSet() { + toSerialize["sortKey"] = o.SortKey.Get() + } + if !isNil(o.SortDirection) { + toSerialize["sortDirection"] = o.SortDirection + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + if !isNil(o.TotalRecords) { + toSerialize["totalRecords"] = o.TotalRecords + } + if o.Records != nil { + toSerialize["records"] = o.Records + } + return json.Marshal(toSerialize) +} + +type NullableAlbumResourcePagingResource struct { + value *AlbumResourcePagingResource + isSet bool +} + +func (v NullableAlbumResourcePagingResource) Get() *AlbumResourcePagingResource { + return v.value +} + +func (v *NullableAlbumResourcePagingResource) Set(val *AlbumResourcePagingResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumResourcePagingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumResourcePagingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumResourcePagingResource(val *AlbumResourcePagingResource) *NullableAlbumResourcePagingResource { + return &NullableAlbumResourcePagingResource{value: val, isSet: true} +} + +func (v NullableAlbumResourcePagingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumResourcePagingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_statistics_resource.go b/lidarr/model_album_statistics_resource.go new file mode 100644 index 0000000..5027ba5 --- /dev/null +++ b/lidarr/model_album_statistics_resource.go @@ -0,0 +1,259 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumStatisticsResource struct for AlbumStatisticsResource +type AlbumStatisticsResource struct { + TrackFileCount *int32 `json:"trackFileCount,omitempty"` + TrackCount *int32 `json:"trackCount,omitempty"` + TotalTrackCount *int32 `json:"totalTrackCount,omitempty"` + SizeOnDisk *int64 `json:"sizeOnDisk,omitempty"` + PercentOfTracks *float64 `json:"percentOfTracks,omitempty"` +} + +// NewAlbumStatisticsResource instantiates a new AlbumStatisticsResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumStatisticsResource() *AlbumStatisticsResource { + this := AlbumStatisticsResource{} + return &this +} + +// NewAlbumStatisticsResourceWithDefaults instantiates a new AlbumStatisticsResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumStatisticsResourceWithDefaults() *AlbumStatisticsResource { + this := AlbumStatisticsResource{} + return &this +} + +// GetTrackFileCount returns the TrackFileCount field value if set, zero value otherwise. +func (o *AlbumStatisticsResource) GetTrackFileCount() int32 { + if o == nil || isNil(o.TrackFileCount) { + var ret int32 + return ret + } + return *o.TrackFileCount +} + +// GetTrackFileCountOk returns a tuple with the TrackFileCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStatisticsResource) GetTrackFileCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileCount) { + return nil, false + } + return o.TrackFileCount, true +} + +// HasTrackFileCount returns a boolean if a field has been set. +func (o *AlbumStatisticsResource) HasTrackFileCount() bool { + if o != nil && !isNil(o.TrackFileCount) { + return true + } + + return false +} + +// SetTrackFileCount gets a reference to the given int32 and assigns it to the TrackFileCount field. +func (o *AlbumStatisticsResource) SetTrackFileCount(v int32) { + o.TrackFileCount = &v +} + +// GetTrackCount returns the TrackCount field value if set, zero value otherwise. +func (o *AlbumStatisticsResource) GetTrackCount() int32 { + if o == nil || isNil(o.TrackCount) { + var ret int32 + return ret + } + return *o.TrackCount +} + +// GetTrackCountOk returns a tuple with the TrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStatisticsResource) GetTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackCount) { + return nil, false + } + return o.TrackCount, true +} + +// HasTrackCount returns a boolean if a field has been set. +func (o *AlbumStatisticsResource) HasTrackCount() bool { + if o != nil && !isNil(o.TrackCount) { + return true + } + + return false +} + +// SetTrackCount gets a reference to the given int32 and assigns it to the TrackCount field. +func (o *AlbumStatisticsResource) SetTrackCount(v int32) { + o.TrackCount = &v +} + +// GetTotalTrackCount returns the TotalTrackCount field value if set, zero value otherwise. +func (o *AlbumStatisticsResource) GetTotalTrackCount() int32 { + if o == nil || isNil(o.TotalTrackCount) { + var ret int32 + return ret + } + return *o.TotalTrackCount +} + +// GetTotalTrackCountOk returns a tuple with the TotalTrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStatisticsResource) GetTotalTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TotalTrackCount) { + return nil, false + } + return o.TotalTrackCount, true +} + +// HasTotalTrackCount returns a boolean if a field has been set. +func (o *AlbumStatisticsResource) HasTotalTrackCount() bool { + if o != nil && !isNil(o.TotalTrackCount) { + return true + } + + return false +} + +// SetTotalTrackCount gets a reference to the given int32 and assigns it to the TotalTrackCount field. +func (o *AlbumStatisticsResource) SetTotalTrackCount(v int32) { + o.TotalTrackCount = &v +} + +// GetSizeOnDisk returns the SizeOnDisk field value if set, zero value otherwise. +func (o *AlbumStatisticsResource) GetSizeOnDisk() int64 { + if o == nil || isNil(o.SizeOnDisk) { + var ret int64 + return ret + } + return *o.SizeOnDisk +} + +// GetSizeOnDiskOk returns a tuple with the SizeOnDisk field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStatisticsResource) GetSizeOnDiskOk() (*int64, bool) { + if o == nil || isNil(o.SizeOnDisk) { + return nil, false + } + return o.SizeOnDisk, true +} + +// HasSizeOnDisk returns a boolean if a field has been set. +func (o *AlbumStatisticsResource) HasSizeOnDisk() bool { + if o != nil && !isNil(o.SizeOnDisk) { + return true + } + + return false +} + +// SetSizeOnDisk gets a reference to the given int64 and assigns it to the SizeOnDisk field. +func (o *AlbumStatisticsResource) SetSizeOnDisk(v int64) { + o.SizeOnDisk = &v +} + +// GetPercentOfTracks returns the PercentOfTracks field value if set, zero value otherwise. +func (o *AlbumStatisticsResource) GetPercentOfTracks() float64 { + if o == nil || isNil(o.PercentOfTracks) { + var ret float64 + return ret + } + return *o.PercentOfTracks +} + +// GetPercentOfTracksOk returns a tuple with the PercentOfTracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStatisticsResource) GetPercentOfTracksOk() (*float64, bool) { + if o == nil || isNil(o.PercentOfTracks) { + return nil, false + } + return o.PercentOfTracks, true +} + +// HasPercentOfTracks returns a boolean if a field has been set. +func (o *AlbumStatisticsResource) HasPercentOfTracks() bool { + if o != nil && !isNil(o.PercentOfTracks) { + return true + } + + return false +} + +// SetPercentOfTracks gets a reference to the given float64 and assigns it to the PercentOfTracks field. +func (o *AlbumStatisticsResource) SetPercentOfTracks(v float64) { + o.PercentOfTracks = &v +} + +func (o AlbumStatisticsResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.TrackFileCount) { + toSerialize["trackFileCount"] = o.TrackFileCount + } + if !isNil(o.TrackCount) { + toSerialize["trackCount"] = o.TrackCount + } + if !isNil(o.TotalTrackCount) { + toSerialize["totalTrackCount"] = o.TotalTrackCount + } + if !isNil(o.SizeOnDisk) { + toSerialize["sizeOnDisk"] = o.SizeOnDisk + } + if !isNil(o.PercentOfTracks) { + toSerialize["percentOfTracks"] = o.PercentOfTracks + } + return json.Marshal(toSerialize) +} + +type NullableAlbumStatisticsResource struct { + value *AlbumStatisticsResource + isSet bool +} + +func (v NullableAlbumStatisticsResource) Get() *AlbumStatisticsResource { + return v.value +} + +func (v *NullableAlbumStatisticsResource) Set(val *AlbumStatisticsResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumStatisticsResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumStatisticsResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumStatisticsResource(val *AlbumStatisticsResource) *NullableAlbumStatisticsResource { + return &NullableAlbumStatisticsResource{value: val, isSet: true} +} + +func (v NullableAlbumStatisticsResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumStatisticsResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_studio_artist_resource.go b/lidarr/model_album_studio_artist_resource.go new file mode 100644 index 0000000..5facc4b --- /dev/null +++ b/lidarr/model_album_studio_artist_resource.go @@ -0,0 +1,198 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumStudioArtistResource struct for AlbumStudioArtistResource +type AlbumStudioArtistResource struct { + Id *int32 `json:"id,omitempty"` + Monitored NullableBool `json:"monitored,omitempty"` + Albums []*AlbumResource `json:"albums,omitempty"` +} + +// NewAlbumStudioArtistResource instantiates a new AlbumStudioArtistResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumStudioArtistResource() *AlbumStudioArtistResource { + this := AlbumStudioArtistResource{} + return &this +} + +// NewAlbumStudioArtistResourceWithDefaults instantiates a new AlbumStudioArtistResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumStudioArtistResourceWithDefaults() *AlbumStudioArtistResource { + this := AlbumStudioArtistResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AlbumStudioArtistResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStudioArtistResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AlbumStudioArtistResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *AlbumStudioArtistResource) SetId(v int32) { + o.Id = &v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumStudioArtistResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored.Get()) { + var ret bool + return ret + } + return *o.Monitored.Get() +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumStudioArtistResource) GetMonitoredOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.Monitored.Get(), o.Monitored.IsSet() +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AlbumStudioArtistResource) HasMonitored() bool { + if o != nil && o.Monitored.IsSet() { + return true + } + + return false +} + +// SetMonitored gets a reference to the given NullableBool and assigns it to the Monitored field. +func (o *AlbumStudioArtistResource) SetMonitored(v bool) { + o.Monitored.Set(&v) +} +// SetMonitoredNil sets the value for Monitored to be an explicit nil +func (o *AlbumStudioArtistResource) SetMonitoredNil() { + o.Monitored.Set(nil) +} + +// UnsetMonitored ensures that no value is present for Monitored, not even an explicit nil +func (o *AlbumStudioArtistResource) UnsetMonitored() { + o.Monitored.Unset() +} + +// GetAlbums returns the Albums field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumStudioArtistResource) GetAlbums() []*AlbumResource { + if o == nil { + var ret []*AlbumResource + return ret + } + return o.Albums +} + +// GetAlbumsOk returns a tuple with the Albums field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumStudioArtistResource) GetAlbumsOk() ([]*AlbumResource, bool) { + if o == nil || isNil(o.Albums) { + return nil, false + } + return o.Albums, true +} + +// HasAlbums returns a boolean if a field has been set. +func (o *AlbumStudioArtistResource) HasAlbums() bool { + if o != nil && isNil(o.Albums) { + return true + } + + return false +} + +// SetAlbums gets a reference to the given []AlbumResource and assigns it to the Albums field. +func (o *AlbumStudioArtistResource) SetAlbums(v []*AlbumResource) { + o.Albums = v +} + +func (o AlbumStudioArtistResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Monitored.IsSet() { + toSerialize["monitored"] = o.Monitored.Get() + } + if o.Albums != nil { + toSerialize["albums"] = o.Albums + } + return json.Marshal(toSerialize) +} + +type NullableAlbumStudioArtistResource struct { + value *AlbumStudioArtistResource + isSet bool +} + +func (v NullableAlbumStudioArtistResource) Get() *AlbumStudioArtistResource { + return v.value +} + +func (v *NullableAlbumStudioArtistResource) Set(val *AlbumStudioArtistResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumStudioArtistResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumStudioArtistResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumStudioArtistResource(val *AlbumStudioArtistResource) *NullableAlbumStudioArtistResource { + return &NullableAlbumStudioArtistResource{value: val, isSet: true} +} + +func (v NullableAlbumStudioArtistResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumStudioArtistResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_album_studio_resource.go b/lidarr/model_album_studio_resource.go new file mode 100644 index 0000000..62b8407 --- /dev/null +++ b/lidarr/model_album_studio_resource.go @@ -0,0 +1,188 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumStudioResource struct for AlbumStudioResource +type AlbumStudioResource struct { + Artist []*AlbumStudioArtistResource `json:"artist,omitempty"` + MonitoringOptions *MonitoringOptions `json:"monitoringOptions,omitempty"` + MonitorNewItems *NewItemMonitorTypes `json:"monitorNewItems,omitempty"` +} + +// NewAlbumStudioResource instantiates a new AlbumStudioResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumStudioResource() *AlbumStudioResource { + this := AlbumStudioResource{} + return &this +} + +// NewAlbumStudioResourceWithDefaults instantiates a new AlbumStudioResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumStudioResourceWithDefaults() *AlbumStudioResource { + this := AlbumStudioResource{} + return &this +} + +// GetArtist returns the Artist field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumStudioResource) GetArtist() []*AlbumStudioArtistResource { + if o == nil { + var ret []*AlbumStudioArtistResource + return ret + } + return o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumStudioResource) GetArtistOk() ([]*AlbumStudioArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *AlbumStudioResource) HasArtist() bool { + if o != nil && isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given []AlbumStudioArtistResource and assigns it to the Artist field. +func (o *AlbumStudioResource) SetArtist(v []*AlbumStudioArtistResource) { + o.Artist = v +} + +// GetMonitoringOptions returns the MonitoringOptions field value if set, zero value otherwise. +func (o *AlbumStudioResource) GetMonitoringOptions() MonitoringOptions { + if o == nil || isNil(o.MonitoringOptions) { + var ret MonitoringOptions + return ret + } + return *o.MonitoringOptions +} + +// GetMonitoringOptionsOk returns a tuple with the MonitoringOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStudioResource) GetMonitoringOptionsOk() (*MonitoringOptions, bool) { + if o == nil || isNil(o.MonitoringOptions) { + return nil, false + } + return o.MonitoringOptions, true +} + +// HasMonitoringOptions returns a boolean if a field has been set. +func (o *AlbumStudioResource) HasMonitoringOptions() bool { + if o != nil && !isNil(o.MonitoringOptions) { + return true + } + + return false +} + +// SetMonitoringOptions gets a reference to the given MonitoringOptions and assigns it to the MonitoringOptions field. +func (o *AlbumStudioResource) SetMonitoringOptions(v MonitoringOptions) { + o.MonitoringOptions = &v +} + +// GetMonitorNewItems returns the MonitorNewItems field value if set, zero value otherwise. +func (o *AlbumStudioResource) GetMonitorNewItems() NewItemMonitorTypes { + if o == nil || isNil(o.MonitorNewItems) { + var ret NewItemMonitorTypes + return ret + } + return *o.MonitorNewItems +} + +// GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumStudioResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.MonitorNewItems) { + return nil, false + } + return o.MonitorNewItems, true +} + +// HasMonitorNewItems returns a boolean if a field has been set. +func (o *AlbumStudioResource) HasMonitorNewItems() bool { + if o != nil && !isNil(o.MonitorNewItems) { + return true + } + + return false +} + +// SetMonitorNewItems gets a reference to the given NewItemMonitorTypes and assigns it to the MonitorNewItems field. +func (o *AlbumStudioResource) SetMonitorNewItems(v NewItemMonitorTypes) { + o.MonitorNewItems = &v +} + +func (o AlbumStudioResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Artist != nil { + toSerialize["artist"] = o.Artist + } + if !isNil(o.MonitoringOptions) { + toSerialize["monitoringOptions"] = o.MonitoringOptions + } + if !isNil(o.MonitorNewItems) { + toSerialize["monitorNewItems"] = o.MonitorNewItems + } + return json.Marshal(toSerialize) +} + +type NullableAlbumStudioResource struct { + value *AlbumStudioResource + isSet bool +} + +func (v NullableAlbumStudioResource) Get() *AlbumStudioResource { + return v.value +} + +func (v *NullableAlbumStudioResource) Set(val *AlbumStudioResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumStudioResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumStudioResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumStudioResource(val *AlbumStudioResource) *NullableAlbumStudioResource { + return &NullableAlbumStudioResource{value: val, isSet: true} +} + +func (v NullableAlbumStudioResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumStudioResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_albums_monitored_resource.go b/lidarr/model_albums_monitored_resource.go new file mode 100644 index 0000000..4999b5e --- /dev/null +++ b/lidarr/model_albums_monitored_resource.go @@ -0,0 +1,152 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// AlbumsMonitoredResource struct for AlbumsMonitoredResource +type AlbumsMonitoredResource struct { + AlbumIds []*int32 `json:"albumIds,omitempty"` + Monitored *bool `json:"monitored,omitempty"` +} + +// NewAlbumsMonitoredResource instantiates a new AlbumsMonitoredResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAlbumsMonitoredResource() *AlbumsMonitoredResource { + this := AlbumsMonitoredResource{} + return &this +} + +// NewAlbumsMonitoredResourceWithDefaults instantiates a new AlbumsMonitoredResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAlbumsMonitoredResourceWithDefaults() *AlbumsMonitoredResource { + this := AlbumsMonitoredResource{} + return &this +} + +// GetAlbumIds returns the AlbumIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlbumsMonitoredResource) GetAlbumIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.AlbumIds +} + +// GetAlbumIdsOk returns a tuple with the AlbumIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlbumsMonitoredResource) GetAlbumIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.AlbumIds) { + return nil, false + } + return o.AlbumIds, true +} + +// HasAlbumIds returns a boolean if a field has been set. +func (o *AlbumsMonitoredResource) HasAlbumIds() bool { + if o != nil && isNil(o.AlbumIds) { + return true + } + + return false +} + +// SetAlbumIds gets a reference to the given []int32 and assigns it to the AlbumIds field. +func (o *AlbumsMonitoredResource) SetAlbumIds(v []*int32) { + o.AlbumIds = v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *AlbumsMonitoredResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlbumsMonitoredResource) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *AlbumsMonitoredResource) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *AlbumsMonitoredResource) SetMonitored(v bool) { + o.Monitored = &v +} + +func (o AlbumsMonitoredResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.AlbumIds != nil { + toSerialize["albumIds"] = o.AlbumIds + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + return json.Marshal(toSerialize) +} + +type NullableAlbumsMonitoredResource struct { + value *AlbumsMonitoredResource + isSet bool +} + +func (v NullableAlbumsMonitoredResource) Get() *AlbumsMonitoredResource { + return v.value +} + +func (v *NullableAlbumsMonitoredResource) Set(val *AlbumsMonitoredResource) { + v.value = val + v.isSet = true +} + +func (v NullableAlbumsMonitoredResource) IsSet() bool { + return v.isSet +} + +func (v *NullableAlbumsMonitoredResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAlbumsMonitoredResource(val *AlbumsMonitoredResource) *NullableAlbumsMonitoredResource { + return &NullableAlbumsMonitoredResource{value: val, isSet: true} +} + +func (v NullableAlbumsMonitoredResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAlbumsMonitoredResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_allow_fingerprinting.go b/lidarr/model_allow_fingerprinting.go new file mode 100644 index 0000000..a6fe3a1 --- /dev/null +++ b/lidarr/model_allow_fingerprinting.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// AllowFingerprinting the model 'AllowFingerprinting' +type AllowFingerprinting string + +// List of AllowFingerprinting +const ( + ALLOWFINGERPRINTING_NEVER AllowFingerprinting = "never" + ALLOWFINGERPRINTING_NEW_FILES AllowFingerprinting = "newFiles" + ALLOWFINGERPRINTING_ALL_FILES AllowFingerprinting = "allFiles" +) + +// All allowed values of AllowFingerprinting enum +var AllowedAllowFingerprintingEnumValues = []AllowFingerprinting{ + "never", + "newFiles", + "allFiles", +} + +func (v *AllowFingerprinting) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AllowFingerprinting(value) + for _, existing := range AllowedAllowFingerprintingEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AllowFingerprinting", value) +} + +// NewAllowFingerprintingFromValue returns a pointer to a valid AllowFingerprinting +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAllowFingerprintingFromValue(v string) (*AllowFingerprinting, error) { + ev := AllowFingerprinting(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AllowFingerprinting: valid values are %v", v, AllowedAllowFingerprintingEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AllowFingerprinting) IsValid() bool { + for _, existing := range AllowedAllowFingerprintingEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to AllowFingerprinting value +func (v AllowFingerprinting) Ptr() *AllowFingerprinting { + return &v +} + +type NullableAllowFingerprinting struct { + value *AllowFingerprinting + isSet bool +} + +func (v NullableAllowFingerprinting) Get() *AllowFingerprinting { + return v.value +} + +func (v *NullableAllowFingerprinting) Set(val *AllowFingerprinting) { + v.value = val + v.isSet = true +} + +func (v NullableAllowFingerprinting) IsSet() bool { + return v.isSet +} + +func (v *NullableAllowFingerprinting) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAllowFingerprinting(val *AllowFingerprinting) *NullableAllowFingerprinting { + return &NullableAllowFingerprinting{value: val, isSet: true} +} + +func (v NullableAllowFingerprinting) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAllowFingerprinting) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_apply_tags.go b/lidarr/model_apply_tags.go new file mode 100644 index 0000000..fcf5499 --- /dev/null +++ b/lidarr/model_apply_tags.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ApplyTags the model 'ApplyTags' +type ApplyTags string + +// List of ApplyTags +const ( + APPLYTAGS_ADD ApplyTags = "add" + APPLYTAGS_REMOVE ApplyTags = "remove" + APPLYTAGS_REPLACE ApplyTags = "replace" +) + +// All allowed values of ApplyTags enum +var AllowedApplyTagsEnumValues = []ApplyTags{ + "add", + "remove", + "replace", +} + +func (v *ApplyTags) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ApplyTags(value) + for _, existing := range AllowedApplyTagsEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ApplyTags", value) +} + +// NewApplyTagsFromValue returns a pointer to a valid ApplyTags +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewApplyTagsFromValue(v string) (*ApplyTags, error) { + ev := ApplyTags(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ApplyTags: valid values are %v", v, AllowedApplyTagsEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ApplyTags) IsValid() bool { + for _, existing := range AllowedApplyTagsEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ApplyTags value +func (v ApplyTags) Ptr() *ApplyTags { + return &v +} + +type NullableApplyTags struct { + value *ApplyTags + isSet bool +} + +func (v NullableApplyTags) Get() *ApplyTags { + return v.value +} + +func (v *NullableApplyTags) Set(val *ApplyTags) { + v.value = val + v.isSet = true +} + +func (v NullableApplyTags) IsSet() bool { + return v.isSet +} + +func (v *NullableApplyTags) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableApplyTags(val *ApplyTags) *NullableApplyTags { + return &NullableApplyTags{value: val, isSet: true} +} + +func (v NullableApplyTags) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableApplyTags) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_artist.go b/lidarr/model_artist.go new file mode 100644 index 0000000..411eeaf --- /dev/null +++ b/lidarr/model_artist.go @@ -0,0 +1,871 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// Artist struct for Artist +type Artist struct { + Id *int32 `json:"id,omitempty"` + ArtistMetadataId *int32 `json:"artistMetadataId,omitempty"` + CleanName NullableString `json:"cleanName,omitempty"` + SortName NullableString `json:"sortName,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + MonitorNewItems *NewItemMonitorTypes `json:"monitorNewItems,omitempty"` + LastInfoSync NullableTime `json:"lastInfoSync,omitempty"` + Path NullableString `json:"path,omitempty"` + RootFolderPath NullableString `json:"rootFolderPath,omitempty"` + Added *time.Time `json:"added,omitempty"` + QualityProfileId *int32 `json:"qualityProfileId,omitempty"` + MetadataProfileId *int32 `json:"metadataProfileId,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + AddOptions *AddArtistOptions `json:"addOptions,omitempty"` + Metadata *ArtistMetadataLazyLoaded `json:"metadata,omitempty"` + QualityProfile *QualityProfileLazyLoaded `json:"qualityProfile,omitempty"` + MetadataProfile *MetadataProfileLazyLoaded `json:"metadataProfile,omitempty"` + Albums *AlbumListLazyLoaded `json:"albums,omitempty"` + Name NullableString `json:"name,omitempty"` + ForeignArtistId NullableString `json:"foreignArtistId,omitempty"` +} + +// NewArtist instantiates a new Artist object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtist() *Artist { + this := Artist{} + return &this +} + +// NewArtistWithDefaults instantiates a new Artist object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistWithDefaults() *Artist { + this := Artist{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *Artist) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Artist) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *Artist) SetId(v int32) { + o.Id = &v +} + +// GetArtistMetadataId returns the ArtistMetadataId field value if set, zero value otherwise. +func (o *Artist) GetArtistMetadataId() int32 { + if o == nil || isNil(o.ArtistMetadataId) { + var ret int32 + return ret + } + return *o.ArtistMetadataId +} + +// GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetArtistMetadataIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistMetadataId) { + return nil, false + } + return o.ArtistMetadataId, true +} + +// HasArtistMetadataId returns a boolean if a field has been set. +func (o *Artist) HasArtistMetadataId() bool { + if o != nil && !isNil(o.ArtistMetadataId) { + return true + } + + return false +} + +// SetArtistMetadataId gets a reference to the given int32 and assigns it to the ArtistMetadataId field. +func (o *Artist) SetArtistMetadataId(v int32) { + o.ArtistMetadataId = &v +} + +// GetCleanName returns the CleanName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetCleanName() string { + if o == nil || isNil(o.CleanName.Get()) { + var ret string + return ret + } + return *o.CleanName.Get() +} + +// GetCleanNameOk returns a tuple with the CleanName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetCleanNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CleanName.Get(), o.CleanName.IsSet() +} + +// HasCleanName returns a boolean if a field has been set. +func (o *Artist) HasCleanName() bool { + if o != nil && o.CleanName.IsSet() { + return true + } + + return false +} + +// SetCleanName gets a reference to the given NullableString and assigns it to the CleanName field. +func (o *Artist) SetCleanName(v string) { + o.CleanName.Set(&v) +} +// SetCleanNameNil sets the value for CleanName to be an explicit nil +func (o *Artist) SetCleanNameNil() { + o.CleanName.Set(nil) +} + +// UnsetCleanName ensures that no value is present for CleanName, not even an explicit nil +func (o *Artist) UnsetCleanName() { + o.CleanName.Unset() +} + +// GetSortName returns the SortName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetSortName() string { + if o == nil || isNil(o.SortName.Get()) { + var ret string + return ret + } + return *o.SortName.Get() +} + +// GetSortNameOk returns a tuple with the SortName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetSortNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortName.Get(), o.SortName.IsSet() +} + +// HasSortName returns a boolean if a field has been set. +func (o *Artist) HasSortName() bool { + if o != nil && o.SortName.IsSet() { + return true + } + + return false +} + +// SetSortName gets a reference to the given NullableString and assigns it to the SortName field. +func (o *Artist) SetSortName(v string) { + o.SortName.Set(&v) +} +// SetSortNameNil sets the value for SortName to be an explicit nil +func (o *Artist) SetSortNameNil() { + o.SortName.Set(nil) +} + +// UnsetSortName ensures that no value is present for SortName, not even an explicit nil +func (o *Artist) UnsetSortName() { + o.SortName.Unset() +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *Artist) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *Artist) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *Artist) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetMonitorNewItems returns the MonitorNewItems field value if set, zero value otherwise. +func (o *Artist) GetMonitorNewItems() NewItemMonitorTypes { + if o == nil || isNil(o.MonitorNewItems) { + var ret NewItemMonitorTypes + return ret + } + return *o.MonitorNewItems +} + +// GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.MonitorNewItems) { + return nil, false + } + return o.MonitorNewItems, true +} + +// HasMonitorNewItems returns a boolean if a field has been set. +func (o *Artist) HasMonitorNewItems() bool { + if o != nil && !isNil(o.MonitorNewItems) { + return true + } + + return false +} + +// SetMonitorNewItems gets a reference to the given NewItemMonitorTypes and assigns it to the MonitorNewItems field. +func (o *Artist) SetMonitorNewItems(v NewItemMonitorTypes) { + o.MonitorNewItems = &v +} + +// GetLastInfoSync returns the LastInfoSync field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetLastInfoSync() time.Time { + if o == nil || isNil(o.LastInfoSync.Get()) { + var ret time.Time + return ret + } + return *o.LastInfoSync.Get() +} + +// GetLastInfoSyncOk returns a tuple with the LastInfoSync field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetLastInfoSyncOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastInfoSync.Get(), o.LastInfoSync.IsSet() +} + +// HasLastInfoSync returns a boolean if a field has been set. +func (o *Artist) HasLastInfoSync() bool { + if o != nil && o.LastInfoSync.IsSet() { + return true + } + + return false +} + +// SetLastInfoSync gets a reference to the given NullableTime and assigns it to the LastInfoSync field. +func (o *Artist) SetLastInfoSync(v time.Time) { + o.LastInfoSync.Set(&v) +} +// SetLastInfoSyncNil sets the value for LastInfoSync to be an explicit nil +func (o *Artist) SetLastInfoSyncNil() { + o.LastInfoSync.Set(nil) +} + +// UnsetLastInfoSync ensures that no value is present for LastInfoSync, not even an explicit nil +func (o *Artist) UnsetLastInfoSync() { + o.LastInfoSync.Unset() +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *Artist) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *Artist) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *Artist) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *Artist) UnsetPath() { + o.Path.Unset() +} + +// GetRootFolderPath returns the RootFolderPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetRootFolderPath() string { + if o == nil || isNil(o.RootFolderPath.Get()) { + var ret string + return ret + } + return *o.RootFolderPath.Get() +} + +// GetRootFolderPathOk returns a tuple with the RootFolderPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetRootFolderPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RootFolderPath.Get(), o.RootFolderPath.IsSet() +} + +// HasRootFolderPath returns a boolean if a field has been set. +func (o *Artist) HasRootFolderPath() bool { + if o != nil && o.RootFolderPath.IsSet() { + return true + } + + return false +} + +// SetRootFolderPath gets a reference to the given NullableString and assigns it to the RootFolderPath field. +func (o *Artist) SetRootFolderPath(v string) { + o.RootFolderPath.Set(&v) +} +// SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil +func (o *Artist) SetRootFolderPathNil() { + o.RootFolderPath.Set(nil) +} + +// UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +func (o *Artist) UnsetRootFolderPath() { + o.RootFolderPath.Unset() +} + +// GetAdded returns the Added field value if set, zero value otherwise. +func (o *Artist) GetAdded() time.Time { + if o == nil || isNil(o.Added) { + var ret time.Time + return ret + } + return *o.Added +} + +// GetAddedOk returns a tuple with the Added field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetAddedOk() (*time.Time, bool) { + if o == nil || isNil(o.Added) { + return nil, false + } + return o.Added, true +} + +// HasAdded returns a boolean if a field has been set. +func (o *Artist) HasAdded() bool { + if o != nil && !isNil(o.Added) { + return true + } + + return false +} + +// SetAdded gets a reference to the given time.Time and assigns it to the Added field. +func (o *Artist) SetAdded(v time.Time) { + o.Added = &v +} + +// GetQualityProfileId returns the QualityProfileId field value if set, zero value otherwise. +func (o *Artist) GetQualityProfileId() int32 { + if o == nil || isNil(o.QualityProfileId) { + var ret int32 + return ret + } + return *o.QualityProfileId +} + +// GetQualityProfileIdOk returns a tuple with the QualityProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetQualityProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.QualityProfileId) { + return nil, false + } + return o.QualityProfileId, true +} + +// HasQualityProfileId returns a boolean if a field has been set. +func (o *Artist) HasQualityProfileId() bool { + if o != nil && !isNil(o.QualityProfileId) { + return true + } + + return false +} + +// SetQualityProfileId gets a reference to the given int32 and assigns it to the QualityProfileId field. +func (o *Artist) SetQualityProfileId(v int32) { + o.QualityProfileId = &v +} + +// GetMetadataProfileId returns the MetadataProfileId field value if set, zero value otherwise. +func (o *Artist) GetMetadataProfileId() int32 { + if o == nil || isNil(o.MetadataProfileId) { + var ret int32 + return ret + } + return *o.MetadataProfileId +} + +// GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetMetadataProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.MetadataProfileId) { + return nil, false + } + return o.MetadataProfileId, true +} + +// HasMetadataProfileId returns a boolean if a field has been set. +func (o *Artist) HasMetadataProfileId() bool { + if o != nil && !isNil(o.MetadataProfileId) { + return true + } + + return false +} + +// SetMetadataProfileId gets a reference to the given int32 and assigns it to the MetadataProfileId field. +func (o *Artist) SetMetadataProfileId(v int32) { + o.MetadataProfileId = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *Artist) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *Artist) SetTags(v []*int32) { + o.Tags = v +} + +// GetAddOptions returns the AddOptions field value if set, zero value otherwise. +func (o *Artist) GetAddOptions() AddArtistOptions { + if o == nil || isNil(o.AddOptions) { + var ret AddArtistOptions + return ret + } + return *o.AddOptions +} + +// GetAddOptionsOk returns a tuple with the AddOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetAddOptionsOk() (*AddArtistOptions, bool) { + if o == nil || isNil(o.AddOptions) { + return nil, false + } + return o.AddOptions, true +} + +// HasAddOptions returns a boolean if a field has been set. +func (o *Artist) HasAddOptions() bool { + if o != nil && !isNil(o.AddOptions) { + return true + } + + return false +} + +// SetAddOptions gets a reference to the given AddArtistOptions and assigns it to the AddOptions field. +func (o *Artist) SetAddOptions(v AddArtistOptions) { + o.AddOptions = &v +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise. +func (o *Artist) GetMetadata() ArtistMetadataLazyLoaded { + if o == nil || isNil(o.Metadata) { + var ret ArtistMetadataLazyLoaded + return ret + } + return *o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetMetadataOk() (*ArtistMetadataLazyLoaded, bool) { + if o == nil || isNil(o.Metadata) { + return nil, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *Artist) HasMetadata() bool { + if o != nil && !isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given ArtistMetadataLazyLoaded and assigns it to the Metadata field. +func (o *Artist) SetMetadata(v ArtistMetadataLazyLoaded) { + o.Metadata = &v +} + +// GetQualityProfile returns the QualityProfile field value if set, zero value otherwise. +func (o *Artist) GetQualityProfile() QualityProfileLazyLoaded { + if o == nil || isNil(o.QualityProfile) { + var ret QualityProfileLazyLoaded + return ret + } + return *o.QualityProfile +} + +// GetQualityProfileOk returns a tuple with the QualityProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetQualityProfileOk() (*QualityProfileLazyLoaded, bool) { + if o == nil || isNil(o.QualityProfile) { + return nil, false + } + return o.QualityProfile, true +} + +// HasQualityProfile returns a boolean if a field has been set. +func (o *Artist) HasQualityProfile() bool { + if o != nil && !isNil(o.QualityProfile) { + return true + } + + return false +} + +// SetQualityProfile gets a reference to the given QualityProfileLazyLoaded and assigns it to the QualityProfile field. +func (o *Artist) SetQualityProfile(v QualityProfileLazyLoaded) { + o.QualityProfile = &v +} + +// GetMetadataProfile returns the MetadataProfile field value if set, zero value otherwise. +func (o *Artist) GetMetadataProfile() MetadataProfileLazyLoaded { + if o == nil || isNil(o.MetadataProfile) { + var ret MetadataProfileLazyLoaded + return ret + } + return *o.MetadataProfile +} + +// GetMetadataProfileOk returns a tuple with the MetadataProfile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetMetadataProfileOk() (*MetadataProfileLazyLoaded, bool) { + if o == nil || isNil(o.MetadataProfile) { + return nil, false + } + return o.MetadataProfile, true +} + +// HasMetadataProfile returns a boolean if a field has been set. +func (o *Artist) HasMetadataProfile() bool { + if o != nil && !isNil(o.MetadataProfile) { + return true + } + + return false +} + +// SetMetadataProfile gets a reference to the given MetadataProfileLazyLoaded and assigns it to the MetadataProfile field. +func (o *Artist) SetMetadataProfile(v MetadataProfileLazyLoaded) { + o.MetadataProfile = &v +} + +// GetAlbums returns the Albums field value if set, zero value otherwise. +func (o *Artist) GetAlbums() AlbumListLazyLoaded { + if o == nil || isNil(o.Albums) { + var ret AlbumListLazyLoaded + return ret + } + return *o.Albums +} + +// GetAlbumsOk returns a tuple with the Albums field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Artist) GetAlbumsOk() (*AlbumListLazyLoaded, bool) { + if o == nil || isNil(o.Albums) { + return nil, false + } + return o.Albums, true +} + +// HasAlbums returns a boolean if a field has been set. +func (o *Artist) HasAlbums() bool { + if o != nil && !isNil(o.Albums) { + return true + } + + return false +} + +// SetAlbums gets a reference to the given AlbumListLazyLoaded and assigns it to the Albums field. +func (o *Artist) SetAlbums(v AlbumListLazyLoaded) { + o.Albums = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Artist) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Artist) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Artist) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Artist) UnsetName() { + o.Name.Unset() +} + +// GetForeignArtistId returns the ForeignArtistId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Artist) GetForeignArtistId() string { + if o == nil || isNil(o.ForeignArtistId.Get()) { + var ret string + return ret + } + return *o.ForeignArtistId.Get() +} + +// GetForeignArtistIdOk returns a tuple with the ForeignArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Artist) GetForeignArtistIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignArtistId.Get(), o.ForeignArtistId.IsSet() +} + +// HasForeignArtistId returns a boolean if a field has been set. +func (o *Artist) HasForeignArtistId() bool { + if o != nil && o.ForeignArtistId.IsSet() { + return true + } + + return false +} + +// SetForeignArtistId gets a reference to the given NullableString and assigns it to the ForeignArtistId field. +func (o *Artist) SetForeignArtistId(v string) { + o.ForeignArtistId.Set(&v) +} +// SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil +func (o *Artist) SetForeignArtistIdNil() { + o.ForeignArtistId.Set(nil) +} + +// UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil +func (o *Artist) UnsetForeignArtistId() { + o.ForeignArtistId.Unset() +} + +func (o Artist) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistMetadataId) { + toSerialize["artistMetadataId"] = o.ArtistMetadataId + } + if o.CleanName.IsSet() { + toSerialize["cleanName"] = o.CleanName.Get() + } + if o.SortName.IsSet() { + toSerialize["sortName"] = o.SortName.Get() + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.MonitorNewItems) { + toSerialize["monitorNewItems"] = o.MonitorNewItems + } + if o.LastInfoSync.IsSet() { + toSerialize["lastInfoSync"] = o.LastInfoSync.Get() + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if o.RootFolderPath.IsSet() { + toSerialize["rootFolderPath"] = o.RootFolderPath.Get() + } + if !isNil(o.Added) { + toSerialize["added"] = o.Added + } + if !isNil(o.QualityProfileId) { + toSerialize["qualityProfileId"] = o.QualityProfileId + } + if !isNil(o.MetadataProfileId) { + toSerialize["metadataProfileId"] = o.MetadataProfileId + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if !isNil(o.AddOptions) { + toSerialize["addOptions"] = o.AddOptions + } + if !isNil(o.Metadata) { + toSerialize["metadata"] = o.Metadata + } + if !isNil(o.QualityProfile) { + toSerialize["qualityProfile"] = o.QualityProfile + } + if !isNil(o.MetadataProfile) { + toSerialize["metadataProfile"] = o.MetadataProfile + } + if !isNil(o.Albums) { + toSerialize["albums"] = o.Albums + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.ForeignArtistId.IsSet() { + toSerialize["foreignArtistId"] = o.ForeignArtistId.Get() + } + return json.Marshal(toSerialize) +} + +type NullableArtist struct { + value *Artist + isSet bool +} + +func (v NullableArtist) Get() *Artist { + return v.value +} + +func (v *NullableArtist) Set(val *Artist) { + v.value = val + v.isSet = true +} + +func (v NullableArtist) IsSet() bool { + return v.isSet +} + +func (v *NullableArtist) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtist(val *Artist) *NullableArtist { + return &NullableArtist{value: val, isSet: true} +} + +func (v NullableArtist) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtist) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_editor_resource.go b/lidarr/model_artist_editor_resource.go new file mode 100644 index 0000000..3888159 --- /dev/null +++ b/lidarr/model_artist_editor_resource.go @@ -0,0 +1,481 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistEditorResource struct for ArtistEditorResource +type ArtistEditorResource struct { + ArtistIds []*int32 `json:"artistIds,omitempty"` + Monitored NullableBool `json:"monitored,omitempty"` + MonitorNewItems *NewItemMonitorTypes `json:"monitorNewItems,omitempty"` + QualityProfileId NullableInt32 `json:"qualityProfileId,omitempty"` + MetadataProfileId NullableInt32 `json:"metadataProfileId,omitempty"` + RootFolderPath NullableString `json:"rootFolderPath,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + ApplyTags *ApplyTags `json:"applyTags,omitempty"` + MoveFiles *bool `json:"moveFiles,omitempty"` + DeleteFiles *bool `json:"deleteFiles,omitempty"` +} + +// NewArtistEditorResource instantiates a new ArtistEditorResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistEditorResource() *ArtistEditorResource { + this := ArtistEditorResource{} + return &this +} + +// NewArtistEditorResourceWithDefaults instantiates a new ArtistEditorResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistEditorResourceWithDefaults() *ArtistEditorResource { + this := ArtistEditorResource{} + return &this +} + +// GetArtistIds returns the ArtistIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetArtistIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.ArtistIds +} + +// GetArtistIdsOk returns a tuple with the ArtistIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetArtistIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.ArtistIds) { + return nil, false + } + return o.ArtistIds, true +} + +// HasArtistIds returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasArtistIds() bool { + if o != nil && isNil(o.ArtistIds) { + return true + } + + return false +} + +// SetArtistIds gets a reference to the given []int32 and assigns it to the ArtistIds field. +func (o *ArtistEditorResource) SetArtistIds(v []*int32) { + o.ArtistIds = v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored.Get()) { + var ret bool + return ret + } + return *o.Monitored.Get() +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetMonitoredOk() (*bool, bool) { + if o == nil { + return nil, false + } + return o.Monitored.Get(), o.Monitored.IsSet() +} + +// HasMonitored returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasMonitored() bool { + if o != nil && o.Monitored.IsSet() { + return true + } + + return false +} + +// SetMonitored gets a reference to the given NullableBool and assigns it to the Monitored field. +func (o *ArtistEditorResource) SetMonitored(v bool) { + o.Monitored.Set(&v) +} +// SetMonitoredNil sets the value for Monitored to be an explicit nil +func (o *ArtistEditorResource) SetMonitoredNil() { + o.Monitored.Set(nil) +} + +// UnsetMonitored ensures that no value is present for Monitored, not even an explicit nil +func (o *ArtistEditorResource) UnsetMonitored() { + o.Monitored.Unset() +} + +// GetMonitorNewItems returns the MonitorNewItems field value if set, zero value otherwise. +func (o *ArtistEditorResource) GetMonitorNewItems() NewItemMonitorTypes { + if o == nil || isNil(o.MonitorNewItems) { + var ret NewItemMonitorTypes + return ret + } + return *o.MonitorNewItems +} + +// GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistEditorResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.MonitorNewItems) { + return nil, false + } + return o.MonitorNewItems, true +} + +// HasMonitorNewItems returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasMonitorNewItems() bool { + if o != nil && !isNil(o.MonitorNewItems) { + return true + } + + return false +} + +// SetMonitorNewItems gets a reference to the given NewItemMonitorTypes and assigns it to the MonitorNewItems field. +func (o *ArtistEditorResource) SetMonitorNewItems(v NewItemMonitorTypes) { + o.MonitorNewItems = &v +} + +// GetQualityProfileId returns the QualityProfileId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetQualityProfileId() int32 { + if o == nil || isNil(o.QualityProfileId.Get()) { + var ret int32 + return ret + } + return *o.QualityProfileId.Get() +} + +// GetQualityProfileIdOk returns a tuple with the QualityProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetQualityProfileIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.QualityProfileId.Get(), o.QualityProfileId.IsSet() +} + +// HasQualityProfileId returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasQualityProfileId() bool { + if o != nil && o.QualityProfileId.IsSet() { + return true + } + + return false +} + +// SetQualityProfileId gets a reference to the given NullableInt32 and assigns it to the QualityProfileId field. +func (o *ArtistEditorResource) SetQualityProfileId(v int32) { + o.QualityProfileId.Set(&v) +} +// SetQualityProfileIdNil sets the value for QualityProfileId to be an explicit nil +func (o *ArtistEditorResource) SetQualityProfileIdNil() { + o.QualityProfileId.Set(nil) +} + +// UnsetQualityProfileId ensures that no value is present for QualityProfileId, not even an explicit nil +func (o *ArtistEditorResource) UnsetQualityProfileId() { + o.QualityProfileId.Unset() +} + +// GetMetadataProfileId returns the MetadataProfileId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetMetadataProfileId() int32 { + if o == nil || isNil(o.MetadataProfileId.Get()) { + var ret int32 + return ret + } + return *o.MetadataProfileId.Get() +} + +// GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetMetadataProfileIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.MetadataProfileId.Get(), o.MetadataProfileId.IsSet() +} + +// HasMetadataProfileId returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasMetadataProfileId() bool { + if o != nil && o.MetadataProfileId.IsSet() { + return true + } + + return false +} + +// SetMetadataProfileId gets a reference to the given NullableInt32 and assigns it to the MetadataProfileId field. +func (o *ArtistEditorResource) SetMetadataProfileId(v int32) { + o.MetadataProfileId.Set(&v) +} +// SetMetadataProfileIdNil sets the value for MetadataProfileId to be an explicit nil +func (o *ArtistEditorResource) SetMetadataProfileIdNil() { + o.MetadataProfileId.Set(nil) +} + +// UnsetMetadataProfileId ensures that no value is present for MetadataProfileId, not even an explicit nil +func (o *ArtistEditorResource) UnsetMetadataProfileId() { + o.MetadataProfileId.Unset() +} + +// GetRootFolderPath returns the RootFolderPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetRootFolderPath() string { + if o == nil || isNil(o.RootFolderPath.Get()) { + var ret string + return ret + } + return *o.RootFolderPath.Get() +} + +// GetRootFolderPathOk returns a tuple with the RootFolderPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetRootFolderPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RootFolderPath.Get(), o.RootFolderPath.IsSet() +} + +// HasRootFolderPath returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasRootFolderPath() bool { + if o != nil && o.RootFolderPath.IsSet() { + return true + } + + return false +} + +// SetRootFolderPath gets a reference to the given NullableString and assigns it to the RootFolderPath field. +func (o *ArtistEditorResource) SetRootFolderPath(v string) { + o.RootFolderPath.Set(&v) +} +// SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil +func (o *ArtistEditorResource) SetRootFolderPathNil() { + o.RootFolderPath.Set(nil) +} + +// UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +func (o *ArtistEditorResource) UnsetRootFolderPath() { + o.RootFolderPath.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistEditorResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistEditorResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *ArtistEditorResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetApplyTags returns the ApplyTags field value if set, zero value otherwise. +func (o *ArtistEditorResource) GetApplyTags() ApplyTags { + if o == nil || isNil(o.ApplyTags) { + var ret ApplyTags + return ret + } + return *o.ApplyTags +} + +// GetApplyTagsOk returns a tuple with the ApplyTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistEditorResource) GetApplyTagsOk() (*ApplyTags, bool) { + if o == nil || isNil(o.ApplyTags) { + return nil, false + } + return o.ApplyTags, true +} + +// HasApplyTags returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasApplyTags() bool { + if o != nil && !isNil(o.ApplyTags) { + return true + } + + return false +} + +// SetApplyTags gets a reference to the given ApplyTags and assigns it to the ApplyTags field. +func (o *ArtistEditorResource) SetApplyTags(v ApplyTags) { + o.ApplyTags = &v +} + +// GetMoveFiles returns the MoveFiles field value if set, zero value otherwise. +func (o *ArtistEditorResource) GetMoveFiles() bool { + if o == nil || isNil(o.MoveFiles) { + var ret bool + return ret + } + return *o.MoveFiles +} + +// GetMoveFilesOk returns a tuple with the MoveFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistEditorResource) GetMoveFilesOk() (*bool, bool) { + if o == nil || isNil(o.MoveFiles) { + return nil, false + } + return o.MoveFiles, true +} + +// HasMoveFiles returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasMoveFiles() bool { + if o != nil && !isNil(o.MoveFiles) { + return true + } + + return false +} + +// SetMoveFiles gets a reference to the given bool and assigns it to the MoveFiles field. +func (o *ArtistEditorResource) SetMoveFiles(v bool) { + o.MoveFiles = &v +} + +// GetDeleteFiles returns the DeleteFiles field value if set, zero value otherwise. +func (o *ArtistEditorResource) GetDeleteFiles() bool { + if o == nil || isNil(o.DeleteFiles) { + var ret bool + return ret + } + return *o.DeleteFiles +} + +// GetDeleteFilesOk returns a tuple with the DeleteFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistEditorResource) GetDeleteFilesOk() (*bool, bool) { + if o == nil || isNil(o.DeleteFiles) { + return nil, false + } + return o.DeleteFiles, true +} + +// HasDeleteFiles returns a boolean if a field has been set. +func (o *ArtistEditorResource) HasDeleteFiles() bool { + if o != nil && !isNil(o.DeleteFiles) { + return true + } + + return false +} + +// SetDeleteFiles gets a reference to the given bool and assigns it to the DeleteFiles field. +func (o *ArtistEditorResource) SetDeleteFiles(v bool) { + o.DeleteFiles = &v +} + +func (o ArtistEditorResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ArtistIds != nil { + toSerialize["artistIds"] = o.ArtistIds + } + if o.Monitored.IsSet() { + toSerialize["monitored"] = o.Monitored.Get() + } + if !isNil(o.MonitorNewItems) { + toSerialize["monitorNewItems"] = o.MonitorNewItems + } + if o.QualityProfileId.IsSet() { + toSerialize["qualityProfileId"] = o.QualityProfileId.Get() + } + if o.MetadataProfileId.IsSet() { + toSerialize["metadataProfileId"] = o.MetadataProfileId.Get() + } + if o.RootFolderPath.IsSet() { + toSerialize["rootFolderPath"] = o.RootFolderPath.Get() + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if !isNil(o.ApplyTags) { + toSerialize["applyTags"] = o.ApplyTags + } + if !isNil(o.MoveFiles) { + toSerialize["moveFiles"] = o.MoveFiles + } + if !isNil(o.DeleteFiles) { + toSerialize["deleteFiles"] = o.DeleteFiles + } + return json.Marshal(toSerialize) +} + +type NullableArtistEditorResource struct { + value *ArtistEditorResource + isSet bool +} + +func (v NullableArtistEditorResource) Get() *ArtistEditorResource { + return v.value +} + +func (v *NullableArtistEditorResource) Set(val *ArtistEditorResource) { + v.value = val + v.isSet = true +} + +func (v NullableArtistEditorResource) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistEditorResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistEditorResource(val *ArtistEditorResource) *NullableArtistEditorResource { + return &NullableArtistEditorResource{value: val, isSet: true} +} + +func (v NullableArtistEditorResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistEditorResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_lazy_loaded.go b/lidarr/model_artist_lazy_loaded.go new file mode 100644 index 0000000..dfe117e --- /dev/null +++ b/lidarr/model_artist_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistLazyLoaded struct for ArtistLazyLoaded +type ArtistLazyLoaded struct { + Value *Artist `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewArtistLazyLoaded instantiates a new ArtistLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistLazyLoaded() *ArtistLazyLoaded { + this := ArtistLazyLoaded{} + return &this +} + +// NewArtistLazyLoadedWithDefaults instantiates a new ArtistLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistLazyLoadedWithDefaults() *ArtistLazyLoaded { + this := ArtistLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ArtistLazyLoaded) GetValue() Artist { + if o == nil || isNil(o.Value) { + var ret Artist + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistLazyLoaded) GetValueOk() (*Artist, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *ArtistLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given Artist and assigns it to the Value field. +func (o *ArtistLazyLoaded) SetValue(v Artist) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *ArtistLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *ArtistLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *ArtistLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o ArtistLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableArtistLazyLoaded struct { + value *ArtistLazyLoaded + isSet bool +} + +func (v NullableArtistLazyLoaded) Get() *ArtistLazyLoaded { + return v.value +} + +func (v *NullableArtistLazyLoaded) Set(val *ArtistLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableArtistLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistLazyLoaded(val *ArtistLazyLoaded) *NullableArtistLazyLoaded { + return &NullableArtistLazyLoaded{value: val, isSet: true} +} + +func (v NullableArtistLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_metadata.go b/lidarr/model_artist_metadata.go new file mode 100644 index 0000000..1915264 --- /dev/null +++ b/lidarr/model_artist_metadata.go @@ -0,0 +1,639 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistMetadata struct for ArtistMetadata +type ArtistMetadata struct { + Id *int32 `json:"id,omitempty"` + ForeignArtistId NullableString `json:"foreignArtistId,omitempty"` + OldForeignArtistIds []*string `json:"oldForeignArtistIds,omitempty"` + Name NullableString `json:"name,omitempty"` + Aliases []*string `json:"aliases,omitempty"` + Overview NullableString `json:"overview,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Type NullableString `json:"type,omitempty"` + Status *ArtistStatusType `json:"status,omitempty"` + Images []*MediaCover `json:"images,omitempty"` + Links []*Links `json:"links,omitempty"` + Genres []*string `json:"genres,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + Members []*Member `json:"members,omitempty"` +} + +// NewArtistMetadata instantiates a new ArtistMetadata object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistMetadata() *ArtistMetadata { + this := ArtistMetadata{} + return &this +} + +// NewArtistMetadataWithDefaults instantiates a new ArtistMetadata object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistMetadataWithDefaults() *ArtistMetadata { + this := ArtistMetadata{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ArtistMetadata) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistMetadata) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ArtistMetadata) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ArtistMetadata) SetId(v int32) { + o.Id = &v +} + +// GetForeignArtistId returns the ForeignArtistId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetForeignArtistId() string { + if o == nil || isNil(o.ForeignArtistId.Get()) { + var ret string + return ret + } + return *o.ForeignArtistId.Get() +} + +// GetForeignArtistIdOk returns a tuple with the ForeignArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetForeignArtistIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignArtistId.Get(), o.ForeignArtistId.IsSet() +} + +// HasForeignArtistId returns a boolean if a field has been set. +func (o *ArtistMetadata) HasForeignArtistId() bool { + if o != nil && o.ForeignArtistId.IsSet() { + return true + } + + return false +} + +// SetForeignArtistId gets a reference to the given NullableString and assigns it to the ForeignArtistId field. +func (o *ArtistMetadata) SetForeignArtistId(v string) { + o.ForeignArtistId.Set(&v) +} +// SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil +func (o *ArtistMetadata) SetForeignArtistIdNil() { + o.ForeignArtistId.Set(nil) +} + +// UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil +func (o *ArtistMetadata) UnsetForeignArtistId() { + o.ForeignArtistId.Unset() +} + +// GetOldForeignArtistIds returns the OldForeignArtistIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetOldForeignArtistIds() []*string { + if o == nil { + var ret []*string + return ret + } + return o.OldForeignArtistIds +} + +// GetOldForeignArtistIdsOk returns a tuple with the OldForeignArtistIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetOldForeignArtistIdsOk() ([]*string, bool) { + if o == nil || isNil(o.OldForeignArtistIds) { + return nil, false + } + return o.OldForeignArtistIds, true +} + +// HasOldForeignArtistIds returns a boolean if a field has been set. +func (o *ArtistMetadata) HasOldForeignArtistIds() bool { + if o != nil && isNil(o.OldForeignArtistIds) { + return true + } + + return false +} + +// SetOldForeignArtistIds gets a reference to the given []string and assigns it to the OldForeignArtistIds field. +func (o *ArtistMetadata) SetOldForeignArtistIds(v []*string) { + o.OldForeignArtistIds = v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ArtistMetadata) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ArtistMetadata) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *ArtistMetadata) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ArtistMetadata) UnsetName() { + o.Name.Unset() +} + +// GetAliases returns the Aliases field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetAliases() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Aliases +} + +// GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetAliasesOk() ([]*string, bool) { + if o == nil || isNil(o.Aliases) { + return nil, false + } + return o.Aliases, true +} + +// HasAliases returns a boolean if a field has been set. +func (o *ArtistMetadata) HasAliases() bool { + if o != nil && isNil(o.Aliases) { + return true + } + + return false +} + +// SetAliases gets a reference to the given []string and assigns it to the Aliases field. +func (o *ArtistMetadata) SetAliases(v []*string) { + o.Aliases = v +} + +// GetOverview returns the Overview field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetOverview() string { + if o == nil || isNil(o.Overview.Get()) { + var ret string + return ret + } + return *o.Overview.Get() +} + +// GetOverviewOk returns a tuple with the Overview field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetOverviewOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Overview.Get(), o.Overview.IsSet() +} + +// HasOverview returns a boolean if a field has been set. +func (o *ArtistMetadata) HasOverview() bool { + if o != nil && o.Overview.IsSet() { + return true + } + + return false +} + +// SetOverview gets a reference to the given NullableString and assigns it to the Overview field. +func (o *ArtistMetadata) SetOverview(v string) { + o.Overview.Set(&v) +} +// SetOverviewNil sets the value for Overview to be an explicit nil +func (o *ArtistMetadata) SetOverviewNil() { + o.Overview.Set(nil) +} + +// UnsetOverview ensures that no value is present for Overview, not even an explicit nil +func (o *ArtistMetadata) UnsetOverview() { + o.Overview.Unset() +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *ArtistMetadata) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *ArtistMetadata) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *ArtistMetadata) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *ArtistMetadata) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetType() string { + if o == nil || isNil(o.Type.Get()) { + var ret string + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *ArtistMetadata) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullableString and assigns it to the Type field. +func (o *ArtistMetadata) SetType(v string) { + o.Type.Set(&v) +} +// SetTypeNil sets the value for Type to be an explicit nil +func (o *ArtistMetadata) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *ArtistMetadata) UnsetType() { + o.Type.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ArtistMetadata) GetStatus() ArtistStatusType { + if o == nil || isNil(o.Status) { + var ret ArtistStatusType + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistMetadata) GetStatusOk() (*ArtistStatusType, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *ArtistMetadata) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ArtistStatusType and assigns it to the Status field. +func (o *ArtistMetadata) SetStatus(v ArtistStatusType) { + o.Status = &v +} + +// GetImages returns the Images field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetImages() []*MediaCover { + if o == nil { + var ret []*MediaCover + return ret + } + return o.Images +} + +// GetImagesOk returns a tuple with the Images field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetImagesOk() ([]*MediaCover, bool) { + if o == nil || isNil(o.Images) { + return nil, false + } + return o.Images, true +} + +// HasImages returns a boolean if a field has been set. +func (o *ArtistMetadata) HasImages() bool { + if o != nil && isNil(o.Images) { + return true + } + + return false +} + +// SetImages gets a reference to the given []MediaCover and assigns it to the Images field. +func (o *ArtistMetadata) SetImages(v []*MediaCover) { + o.Images = v +} + +// GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetLinks() []*Links { + if o == nil { + var ret []*Links + return ret + } + return o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetLinksOk() ([]*Links, bool) { + if o == nil || isNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *ArtistMetadata) HasLinks() bool { + if o != nil && isNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given []Links and assigns it to the Links field. +func (o *ArtistMetadata) SetLinks(v []*Links) { + o.Links = v +} + +// GetGenres returns the Genres field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetGenres() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Genres +} + +// GetGenresOk returns a tuple with the Genres field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetGenresOk() ([]*string, bool) { + if o == nil || isNil(o.Genres) { + return nil, false + } + return o.Genres, true +} + +// HasGenres returns a boolean if a field has been set. +func (o *ArtistMetadata) HasGenres() bool { + if o != nil && isNil(o.Genres) { + return true + } + + return false +} + +// SetGenres gets a reference to the given []string and assigns it to the Genres field. +func (o *ArtistMetadata) SetGenres(v []*string) { + o.Genres = v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *ArtistMetadata) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistMetadata) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *ArtistMetadata) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *ArtistMetadata) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetMembers returns the Members field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistMetadata) GetMembers() []*Member { + if o == nil { + var ret []*Member + return ret + } + return o.Members +} + +// GetMembersOk returns a tuple with the Members field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistMetadata) GetMembersOk() ([]*Member, bool) { + if o == nil || isNil(o.Members) { + return nil, false + } + return o.Members, true +} + +// HasMembers returns a boolean if a field has been set. +func (o *ArtistMetadata) HasMembers() bool { + if o != nil && isNil(o.Members) { + return true + } + + return false +} + +// SetMembers gets a reference to the given []Member and assigns it to the Members field. +func (o *ArtistMetadata) SetMembers(v []*Member) { + o.Members = v +} + +func (o ArtistMetadata) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.ForeignArtistId.IsSet() { + toSerialize["foreignArtistId"] = o.ForeignArtistId.Get() + } + if o.OldForeignArtistIds != nil { + toSerialize["oldForeignArtistIds"] = o.OldForeignArtistIds + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Aliases != nil { + toSerialize["aliases"] = o.Aliases + } + if o.Overview.IsSet() { + toSerialize["overview"] = o.Overview.Get() + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.Images != nil { + toSerialize["images"] = o.Images + } + if o.Links != nil { + toSerialize["links"] = o.Links + } + if o.Genres != nil { + toSerialize["genres"] = o.Genres + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if o.Members != nil { + toSerialize["members"] = o.Members + } + return json.Marshal(toSerialize) +} + +type NullableArtistMetadata struct { + value *ArtistMetadata + isSet bool +} + +func (v NullableArtistMetadata) Get() *ArtistMetadata { + return v.value +} + +func (v *NullableArtistMetadata) Set(val *ArtistMetadata) { + v.value = val + v.isSet = true +} + +func (v NullableArtistMetadata) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistMetadata) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistMetadata(val *ArtistMetadata) *NullableArtistMetadata { + return &NullableArtistMetadata{value: val, isSet: true} +} + +func (v NullableArtistMetadata) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistMetadata) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_metadata_lazy_loaded.go b/lidarr/model_artist_metadata_lazy_loaded.go new file mode 100644 index 0000000..c131a5a --- /dev/null +++ b/lidarr/model_artist_metadata_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistMetadataLazyLoaded struct for ArtistMetadataLazyLoaded +type ArtistMetadataLazyLoaded struct { + Value *ArtistMetadata `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewArtistMetadataLazyLoaded instantiates a new ArtistMetadataLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistMetadataLazyLoaded() *ArtistMetadataLazyLoaded { + this := ArtistMetadataLazyLoaded{} + return &this +} + +// NewArtistMetadataLazyLoadedWithDefaults instantiates a new ArtistMetadataLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistMetadataLazyLoadedWithDefaults() *ArtistMetadataLazyLoaded { + this := ArtistMetadataLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *ArtistMetadataLazyLoaded) GetValue() ArtistMetadata { + if o == nil || isNil(o.Value) { + var ret ArtistMetadata + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistMetadataLazyLoaded) GetValueOk() (*ArtistMetadata, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *ArtistMetadataLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given ArtistMetadata and assigns it to the Value field. +func (o *ArtistMetadataLazyLoaded) SetValue(v ArtistMetadata) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *ArtistMetadataLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistMetadataLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *ArtistMetadataLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *ArtistMetadataLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o ArtistMetadataLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableArtistMetadataLazyLoaded struct { + value *ArtistMetadataLazyLoaded + isSet bool +} + +func (v NullableArtistMetadataLazyLoaded) Get() *ArtistMetadataLazyLoaded { + return v.value +} + +func (v *NullableArtistMetadataLazyLoaded) Set(val *ArtistMetadataLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableArtistMetadataLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistMetadataLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistMetadataLazyLoaded(val *ArtistMetadataLazyLoaded) *NullableArtistMetadataLazyLoaded { + return &NullableArtistMetadataLazyLoaded{value: val, isSet: true} +} + +func (v NullableArtistMetadataLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistMetadataLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_resource.go b/lidarr/model_artist_resource.go new file mode 100644 index 0000000..31d56ae --- /dev/null +++ b/lidarr/model_artist_resource.go @@ -0,0 +1,1393 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// ArtistResource struct for ArtistResource +type ArtistResource struct { + Id *int32 `json:"id,omitempty"` + ArtistMetadataId *int32 `json:"artistMetadataId,omitempty"` + Status *ArtistStatusType `json:"status,omitempty"` + Ended *bool `json:"ended,omitempty"` + ArtistName NullableString `json:"artistName,omitempty"` + ForeignArtistId NullableString `json:"foreignArtistId,omitempty"` + MbId NullableString `json:"mbId,omitempty"` + TadbId *int32 `json:"tadbId,omitempty"` + DiscogsId *int32 `json:"discogsId,omitempty"` + AllMusicId NullableString `json:"allMusicId,omitempty"` + Overview NullableString `json:"overview,omitempty"` + ArtistType NullableString `json:"artistType,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Links []*Links `json:"links,omitempty"` + NextAlbum *Album `json:"nextAlbum,omitempty"` + LastAlbum *Album `json:"lastAlbum,omitempty"` + Images []*MediaCover `json:"images,omitempty"` + Members []*Member `json:"members,omitempty"` + RemotePoster NullableString `json:"remotePoster,omitempty"` + Path NullableString `json:"path,omitempty"` + QualityProfileId *int32 `json:"qualityProfileId,omitempty"` + MetadataProfileId *int32 `json:"metadataProfileId,omitempty"` + Monitored *bool `json:"monitored,omitempty"` + MonitorNewItems *NewItemMonitorTypes `json:"monitorNewItems,omitempty"` + RootFolderPath NullableString `json:"rootFolderPath,omitempty"` + Genres []*string `json:"genres,omitempty"` + CleanName NullableString `json:"cleanName,omitempty"` + SortName NullableString `json:"sortName,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Added *time.Time `json:"added,omitempty"` + AddOptions *AddArtistOptions `json:"addOptions,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + Statistics *ArtistStatisticsResource `json:"statistics,omitempty"` +} + +// NewArtistResource instantiates a new ArtistResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistResource() *ArtistResource { + this := ArtistResource{} + return &this +} + +// NewArtistResourceWithDefaults instantiates a new ArtistResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistResourceWithDefaults() *ArtistResource { + this := ArtistResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ArtistResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ArtistResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ArtistResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistMetadataId returns the ArtistMetadataId field value if set, zero value otherwise. +func (o *ArtistResource) GetArtistMetadataId() int32 { + if o == nil || isNil(o.ArtistMetadataId) { + var ret int32 + return ret + } + return *o.ArtistMetadataId +} + +// GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetArtistMetadataIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistMetadataId) { + return nil, false + } + return o.ArtistMetadataId, true +} + +// HasArtistMetadataId returns a boolean if a field has been set. +func (o *ArtistResource) HasArtistMetadataId() bool { + if o != nil && !isNil(o.ArtistMetadataId) { + return true + } + + return false +} + +// SetArtistMetadataId gets a reference to the given int32 and assigns it to the ArtistMetadataId field. +func (o *ArtistResource) SetArtistMetadataId(v int32) { + o.ArtistMetadataId = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ArtistResource) GetStatus() ArtistStatusType { + if o == nil || isNil(o.Status) { + var ret ArtistStatusType + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetStatusOk() (*ArtistStatusType, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *ArtistResource) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ArtistStatusType and assigns it to the Status field. +func (o *ArtistResource) SetStatus(v ArtistStatusType) { + o.Status = &v +} + +// GetEnded returns the Ended field value if set, zero value otherwise. +func (o *ArtistResource) GetEnded() bool { + if o == nil || isNil(o.Ended) { + var ret bool + return ret + } + return *o.Ended +} + +// GetEndedOk returns a tuple with the Ended field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetEndedOk() (*bool, bool) { + if o == nil || isNil(o.Ended) { + return nil, false + } + return o.Ended, true +} + +// HasEnded returns a boolean if a field has been set. +func (o *ArtistResource) HasEnded() bool { + if o != nil && !isNil(o.Ended) { + return true + } + + return false +} + +// SetEnded gets a reference to the given bool and assigns it to the Ended field. +func (o *ArtistResource) SetEnded(v bool) { + o.Ended = &v +} + +// GetArtistName returns the ArtistName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetArtistName() string { + if o == nil || isNil(o.ArtistName.Get()) { + var ret string + return ret + } + return *o.ArtistName.Get() +} + +// GetArtistNameOk returns a tuple with the ArtistName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetArtistNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistName.Get(), o.ArtistName.IsSet() +} + +// HasArtistName returns a boolean if a field has been set. +func (o *ArtistResource) HasArtistName() bool { + if o != nil && o.ArtistName.IsSet() { + return true + } + + return false +} + +// SetArtistName gets a reference to the given NullableString and assigns it to the ArtistName field. +func (o *ArtistResource) SetArtistName(v string) { + o.ArtistName.Set(&v) +} +// SetArtistNameNil sets the value for ArtistName to be an explicit nil +func (o *ArtistResource) SetArtistNameNil() { + o.ArtistName.Set(nil) +} + +// UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +func (o *ArtistResource) UnsetArtistName() { + o.ArtistName.Unset() +} + +// GetForeignArtistId returns the ForeignArtistId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetForeignArtistId() string { + if o == nil || isNil(o.ForeignArtistId.Get()) { + var ret string + return ret + } + return *o.ForeignArtistId.Get() +} + +// GetForeignArtistIdOk returns a tuple with the ForeignArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetForeignArtistIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignArtistId.Get(), o.ForeignArtistId.IsSet() +} + +// HasForeignArtistId returns a boolean if a field has been set. +func (o *ArtistResource) HasForeignArtistId() bool { + if o != nil && o.ForeignArtistId.IsSet() { + return true + } + + return false +} + +// SetForeignArtistId gets a reference to the given NullableString and assigns it to the ForeignArtistId field. +func (o *ArtistResource) SetForeignArtistId(v string) { + o.ForeignArtistId.Set(&v) +} +// SetForeignArtistIdNil sets the value for ForeignArtistId to be an explicit nil +func (o *ArtistResource) SetForeignArtistIdNil() { + o.ForeignArtistId.Set(nil) +} + +// UnsetForeignArtistId ensures that no value is present for ForeignArtistId, not even an explicit nil +func (o *ArtistResource) UnsetForeignArtistId() { + o.ForeignArtistId.Unset() +} + +// GetMbId returns the MbId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetMbId() string { + if o == nil || isNil(o.MbId.Get()) { + var ret string + return ret + } + return *o.MbId.Get() +} + +// GetMbIdOk returns a tuple with the MbId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetMbIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MbId.Get(), o.MbId.IsSet() +} + +// HasMbId returns a boolean if a field has been set. +func (o *ArtistResource) HasMbId() bool { + if o != nil && o.MbId.IsSet() { + return true + } + + return false +} + +// SetMbId gets a reference to the given NullableString and assigns it to the MbId field. +func (o *ArtistResource) SetMbId(v string) { + o.MbId.Set(&v) +} +// SetMbIdNil sets the value for MbId to be an explicit nil +func (o *ArtistResource) SetMbIdNil() { + o.MbId.Set(nil) +} + +// UnsetMbId ensures that no value is present for MbId, not even an explicit nil +func (o *ArtistResource) UnsetMbId() { + o.MbId.Unset() +} + +// GetTadbId returns the TadbId field value if set, zero value otherwise. +func (o *ArtistResource) GetTadbId() int32 { + if o == nil || isNil(o.TadbId) { + var ret int32 + return ret + } + return *o.TadbId +} + +// GetTadbIdOk returns a tuple with the TadbId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetTadbIdOk() (*int32, bool) { + if o == nil || isNil(o.TadbId) { + return nil, false + } + return o.TadbId, true +} + +// HasTadbId returns a boolean if a field has been set. +func (o *ArtistResource) HasTadbId() bool { + if o != nil && !isNil(o.TadbId) { + return true + } + + return false +} + +// SetTadbId gets a reference to the given int32 and assigns it to the TadbId field. +func (o *ArtistResource) SetTadbId(v int32) { + o.TadbId = &v +} + +// GetDiscogsId returns the DiscogsId field value if set, zero value otherwise. +func (o *ArtistResource) GetDiscogsId() int32 { + if o == nil || isNil(o.DiscogsId) { + var ret int32 + return ret + } + return *o.DiscogsId +} + +// GetDiscogsIdOk returns a tuple with the DiscogsId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetDiscogsIdOk() (*int32, bool) { + if o == nil || isNil(o.DiscogsId) { + return nil, false + } + return o.DiscogsId, true +} + +// HasDiscogsId returns a boolean if a field has been set. +func (o *ArtistResource) HasDiscogsId() bool { + if o != nil && !isNil(o.DiscogsId) { + return true + } + + return false +} + +// SetDiscogsId gets a reference to the given int32 and assigns it to the DiscogsId field. +func (o *ArtistResource) SetDiscogsId(v int32) { + o.DiscogsId = &v +} + +// GetAllMusicId returns the AllMusicId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetAllMusicId() string { + if o == nil || isNil(o.AllMusicId.Get()) { + var ret string + return ret + } + return *o.AllMusicId.Get() +} + +// GetAllMusicIdOk returns a tuple with the AllMusicId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetAllMusicIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AllMusicId.Get(), o.AllMusicId.IsSet() +} + +// HasAllMusicId returns a boolean if a field has been set. +func (o *ArtistResource) HasAllMusicId() bool { + if o != nil && o.AllMusicId.IsSet() { + return true + } + + return false +} + +// SetAllMusicId gets a reference to the given NullableString and assigns it to the AllMusicId field. +func (o *ArtistResource) SetAllMusicId(v string) { + o.AllMusicId.Set(&v) +} +// SetAllMusicIdNil sets the value for AllMusicId to be an explicit nil +func (o *ArtistResource) SetAllMusicIdNil() { + o.AllMusicId.Set(nil) +} + +// UnsetAllMusicId ensures that no value is present for AllMusicId, not even an explicit nil +func (o *ArtistResource) UnsetAllMusicId() { + o.AllMusicId.Unset() +} + +// GetOverview returns the Overview field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetOverview() string { + if o == nil || isNil(o.Overview.Get()) { + var ret string + return ret + } + return *o.Overview.Get() +} + +// GetOverviewOk returns a tuple with the Overview field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetOverviewOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Overview.Get(), o.Overview.IsSet() +} + +// HasOverview returns a boolean if a field has been set. +func (o *ArtistResource) HasOverview() bool { + if o != nil && o.Overview.IsSet() { + return true + } + + return false +} + +// SetOverview gets a reference to the given NullableString and assigns it to the Overview field. +func (o *ArtistResource) SetOverview(v string) { + o.Overview.Set(&v) +} +// SetOverviewNil sets the value for Overview to be an explicit nil +func (o *ArtistResource) SetOverviewNil() { + o.Overview.Set(nil) +} + +// UnsetOverview ensures that no value is present for Overview, not even an explicit nil +func (o *ArtistResource) UnsetOverview() { + o.Overview.Unset() +} + +// GetArtistType returns the ArtistType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetArtistType() string { + if o == nil || isNil(o.ArtistType.Get()) { + var ret string + return ret + } + return *o.ArtistType.Get() +} + +// GetArtistTypeOk returns a tuple with the ArtistType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetArtistTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistType.Get(), o.ArtistType.IsSet() +} + +// HasArtistType returns a boolean if a field has been set. +func (o *ArtistResource) HasArtistType() bool { + if o != nil && o.ArtistType.IsSet() { + return true + } + + return false +} + +// SetArtistType gets a reference to the given NullableString and assigns it to the ArtistType field. +func (o *ArtistResource) SetArtistType(v string) { + o.ArtistType.Set(&v) +} +// SetArtistTypeNil sets the value for ArtistType to be an explicit nil +func (o *ArtistResource) SetArtistTypeNil() { + o.ArtistType.Set(nil) +} + +// UnsetArtistType ensures that no value is present for ArtistType, not even an explicit nil +func (o *ArtistResource) UnsetArtistType() { + o.ArtistType.Unset() +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *ArtistResource) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *ArtistResource) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *ArtistResource) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *ArtistResource) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetLinks returns the Links field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetLinks() []*Links { + if o == nil { + var ret []*Links + return ret + } + return o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetLinksOk() ([]*Links, bool) { + if o == nil || isNil(o.Links) { + return nil, false + } + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *ArtistResource) HasLinks() bool { + if o != nil && isNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given []Links and assigns it to the Links field. +func (o *ArtistResource) SetLinks(v []*Links) { + o.Links = v +} + +// GetNextAlbum returns the NextAlbum field value if set, zero value otherwise. +func (o *ArtistResource) GetNextAlbum() Album { + if o == nil || isNil(o.NextAlbum) { + var ret Album + return ret + } + return *o.NextAlbum +} + +// GetNextAlbumOk returns a tuple with the NextAlbum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetNextAlbumOk() (*Album, bool) { + if o == nil || isNil(o.NextAlbum) { + return nil, false + } + return o.NextAlbum, true +} + +// HasNextAlbum returns a boolean if a field has been set. +func (o *ArtistResource) HasNextAlbum() bool { + if o != nil && !isNil(o.NextAlbum) { + return true + } + + return false +} + +// SetNextAlbum gets a reference to the given Album and assigns it to the NextAlbum field. +func (o *ArtistResource) SetNextAlbum(v Album) { + o.NextAlbum = &v +} + +// GetLastAlbum returns the LastAlbum field value if set, zero value otherwise. +func (o *ArtistResource) GetLastAlbum() Album { + if o == nil || isNil(o.LastAlbum) { + var ret Album + return ret + } + return *o.LastAlbum +} + +// GetLastAlbumOk returns a tuple with the LastAlbum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetLastAlbumOk() (*Album, bool) { + if o == nil || isNil(o.LastAlbum) { + return nil, false + } + return o.LastAlbum, true +} + +// HasLastAlbum returns a boolean if a field has been set. +func (o *ArtistResource) HasLastAlbum() bool { + if o != nil && !isNil(o.LastAlbum) { + return true + } + + return false +} + +// SetLastAlbum gets a reference to the given Album and assigns it to the LastAlbum field. +func (o *ArtistResource) SetLastAlbum(v Album) { + o.LastAlbum = &v +} + +// GetImages returns the Images field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetImages() []*MediaCover { + if o == nil { + var ret []*MediaCover + return ret + } + return o.Images +} + +// GetImagesOk returns a tuple with the Images field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetImagesOk() ([]*MediaCover, bool) { + if o == nil || isNil(o.Images) { + return nil, false + } + return o.Images, true +} + +// HasImages returns a boolean if a field has been set. +func (o *ArtistResource) HasImages() bool { + if o != nil && isNil(o.Images) { + return true + } + + return false +} + +// SetImages gets a reference to the given []MediaCover and assigns it to the Images field. +func (o *ArtistResource) SetImages(v []*MediaCover) { + o.Images = v +} + +// GetMembers returns the Members field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetMembers() []*Member { + if o == nil { + var ret []*Member + return ret + } + return o.Members +} + +// GetMembersOk returns a tuple with the Members field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetMembersOk() ([]*Member, bool) { + if o == nil || isNil(o.Members) { + return nil, false + } + return o.Members, true +} + +// HasMembers returns a boolean if a field has been set. +func (o *ArtistResource) HasMembers() bool { + if o != nil && isNil(o.Members) { + return true + } + + return false +} + +// SetMembers gets a reference to the given []Member and assigns it to the Members field. +func (o *ArtistResource) SetMembers(v []*Member) { + o.Members = v +} + +// GetRemotePoster returns the RemotePoster field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetRemotePoster() string { + if o == nil || isNil(o.RemotePoster.Get()) { + var ret string + return ret + } + return *o.RemotePoster.Get() +} + +// GetRemotePosterOk returns a tuple with the RemotePoster field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetRemotePosterOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RemotePoster.Get(), o.RemotePoster.IsSet() +} + +// HasRemotePoster returns a boolean if a field has been set. +func (o *ArtistResource) HasRemotePoster() bool { + if o != nil && o.RemotePoster.IsSet() { + return true + } + + return false +} + +// SetRemotePoster gets a reference to the given NullableString and assigns it to the RemotePoster field. +func (o *ArtistResource) SetRemotePoster(v string) { + o.RemotePoster.Set(&v) +} +// SetRemotePosterNil sets the value for RemotePoster to be an explicit nil +func (o *ArtistResource) SetRemotePosterNil() { + o.RemotePoster.Set(nil) +} + +// UnsetRemotePoster ensures that no value is present for RemotePoster, not even an explicit nil +func (o *ArtistResource) UnsetRemotePoster() { + o.RemotePoster.Unset() +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *ArtistResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *ArtistResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *ArtistResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *ArtistResource) UnsetPath() { + o.Path.Unset() +} + +// GetQualityProfileId returns the QualityProfileId field value if set, zero value otherwise. +func (o *ArtistResource) GetQualityProfileId() int32 { + if o == nil || isNil(o.QualityProfileId) { + var ret int32 + return ret + } + return *o.QualityProfileId +} + +// GetQualityProfileIdOk returns a tuple with the QualityProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetQualityProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.QualityProfileId) { + return nil, false + } + return o.QualityProfileId, true +} + +// HasQualityProfileId returns a boolean if a field has been set. +func (o *ArtistResource) HasQualityProfileId() bool { + if o != nil && !isNil(o.QualityProfileId) { + return true + } + + return false +} + +// SetQualityProfileId gets a reference to the given int32 and assigns it to the QualityProfileId field. +func (o *ArtistResource) SetQualityProfileId(v int32) { + o.QualityProfileId = &v +} + +// GetMetadataProfileId returns the MetadataProfileId field value if set, zero value otherwise. +func (o *ArtistResource) GetMetadataProfileId() int32 { + if o == nil || isNil(o.MetadataProfileId) { + var ret int32 + return ret + } + return *o.MetadataProfileId +} + +// GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetMetadataProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.MetadataProfileId) { + return nil, false + } + return o.MetadataProfileId, true +} + +// HasMetadataProfileId returns a boolean if a field has been set. +func (o *ArtistResource) HasMetadataProfileId() bool { + if o != nil && !isNil(o.MetadataProfileId) { + return true + } + + return false +} + +// SetMetadataProfileId gets a reference to the given int32 and assigns it to the MetadataProfileId field. +func (o *ArtistResource) SetMetadataProfileId(v int32) { + o.MetadataProfileId = &v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *ArtistResource) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *ArtistResource) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *ArtistResource) SetMonitored(v bool) { + o.Monitored = &v +} + +// GetMonitorNewItems returns the MonitorNewItems field value if set, zero value otherwise. +func (o *ArtistResource) GetMonitorNewItems() NewItemMonitorTypes { + if o == nil || isNil(o.MonitorNewItems) { + var ret NewItemMonitorTypes + return ret + } + return *o.MonitorNewItems +} + +// GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.MonitorNewItems) { + return nil, false + } + return o.MonitorNewItems, true +} + +// HasMonitorNewItems returns a boolean if a field has been set. +func (o *ArtistResource) HasMonitorNewItems() bool { + if o != nil && !isNil(o.MonitorNewItems) { + return true + } + + return false +} + +// SetMonitorNewItems gets a reference to the given NewItemMonitorTypes and assigns it to the MonitorNewItems field. +func (o *ArtistResource) SetMonitorNewItems(v NewItemMonitorTypes) { + o.MonitorNewItems = &v +} + +// GetRootFolderPath returns the RootFolderPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetRootFolderPath() string { + if o == nil || isNil(o.RootFolderPath.Get()) { + var ret string + return ret + } + return *o.RootFolderPath.Get() +} + +// GetRootFolderPathOk returns a tuple with the RootFolderPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetRootFolderPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RootFolderPath.Get(), o.RootFolderPath.IsSet() +} + +// HasRootFolderPath returns a boolean if a field has been set. +func (o *ArtistResource) HasRootFolderPath() bool { + if o != nil && o.RootFolderPath.IsSet() { + return true + } + + return false +} + +// SetRootFolderPath gets a reference to the given NullableString and assigns it to the RootFolderPath field. +func (o *ArtistResource) SetRootFolderPath(v string) { + o.RootFolderPath.Set(&v) +} +// SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil +func (o *ArtistResource) SetRootFolderPathNil() { + o.RootFolderPath.Set(nil) +} + +// UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +func (o *ArtistResource) UnsetRootFolderPath() { + o.RootFolderPath.Unset() +} + +// GetGenres returns the Genres field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetGenres() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Genres +} + +// GetGenresOk returns a tuple with the Genres field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetGenresOk() ([]*string, bool) { + if o == nil || isNil(o.Genres) { + return nil, false + } + return o.Genres, true +} + +// HasGenres returns a boolean if a field has been set. +func (o *ArtistResource) HasGenres() bool { + if o != nil && isNil(o.Genres) { + return true + } + + return false +} + +// SetGenres gets a reference to the given []string and assigns it to the Genres field. +func (o *ArtistResource) SetGenres(v []*string) { + o.Genres = v +} + +// GetCleanName returns the CleanName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetCleanName() string { + if o == nil || isNil(o.CleanName.Get()) { + var ret string + return ret + } + return *o.CleanName.Get() +} + +// GetCleanNameOk returns a tuple with the CleanName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetCleanNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CleanName.Get(), o.CleanName.IsSet() +} + +// HasCleanName returns a boolean if a field has been set. +func (o *ArtistResource) HasCleanName() bool { + if o != nil && o.CleanName.IsSet() { + return true + } + + return false +} + +// SetCleanName gets a reference to the given NullableString and assigns it to the CleanName field. +func (o *ArtistResource) SetCleanName(v string) { + o.CleanName.Set(&v) +} +// SetCleanNameNil sets the value for CleanName to be an explicit nil +func (o *ArtistResource) SetCleanNameNil() { + o.CleanName.Set(nil) +} + +// UnsetCleanName ensures that no value is present for CleanName, not even an explicit nil +func (o *ArtistResource) UnsetCleanName() { + o.CleanName.Unset() +} + +// GetSortName returns the SortName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetSortName() string { + if o == nil || isNil(o.SortName.Get()) { + var ret string + return ret + } + return *o.SortName.Get() +} + +// GetSortNameOk returns a tuple with the SortName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetSortNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortName.Get(), o.SortName.IsSet() +} + +// HasSortName returns a boolean if a field has been set. +func (o *ArtistResource) HasSortName() bool { + if o != nil && o.SortName.IsSet() { + return true + } + + return false +} + +// SetSortName gets a reference to the given NullableString and assigns it to the SortName field. +func (o *ArtistResource) SetSortName(v string) { + o.SortName.Set(&v) +} +// SetSortNameNil sets the value for SortName to be an explicit nil +func (o *ArtistResource) SetSortNameNil() { + o.SortName.Set(nil) +} + +// UnsetSortName ensures that no value is present for SortName, not even an explicit nil +func (o *ArtistResource) UnsetSortName() { + o.SortName.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ArtistResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *ArtistResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetAdded returns the Added field value if set, zero value otherwise. +func (o *ArtistResource) GetAdded() time.Time { + if o == nil || isNil(o.Added) { + var ret time.Time + return ret + } + return *o.Added +} + +// GetAddedOk returns a tuple with the Added field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetAddedOk() (*time.Time, bool) { + if o == nil || isNil(o.Added) { + return nil, false + } + return o.Added, true +} + +// HasAdded returns a boolean if a field has been set. +func (o *ArtistResource) HasAdded() bool { + if o != nil && !isNil(o.Added) { + return true + } + + return false +} + +// SetAdded gets a reference to the given time.Time and assigns it to the Added field. +func (o *ArtistResource) SetAdded(v time.Time) { + o.Added = &v +} + +// GetAddOptions returns the AddOptions field value if set, zero value otherwise. +func (o *ArtistResource) GetAddOptions() AddArtistOptions { + if o == nil || isNil(o.AddOptions) { + var ret AddArtistOptions + return ret + } + return *o.AddOptions +} + +// GetAddOptionsOk returns a tuple with the AddOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetAddOptionsOk() (*AddArtistOptions, bool) { + if o == nil || isNil(o.AddOptions) { + return nil, false + } + return o.AddOptions, true +} + +// HasAddOptions returns a boolean if a field has been set. +func (o *ArtistResource) HasAddOptions() bool { + if o != nil && !isNil(o.AddOptions) { + return true + } + + return false +} + +// SetAddOptions gets a reference to the given AddArtistOptions and assigns it to the AddOptions field. +func (o *ArtistResource) SetAddOptions(v AddArtistOptions) { + o.AddOptions = &v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *ArtistResource) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *ArtistResource) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *ArtistResource) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetStatistics returns the Statistics field value if set, zero value otherwise. +func (o *ArtistResource) GetStatistics() ArtistStatisticsResource { + if o == nil || isNil(o.Statistics) { + var ret ArtistStatisticsResource + return ret + } + return *o.Statistics +} + +// GetStatisticsOk returns a tuple with the Statistics field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistResource) GetStatisticsOk() (*ArtistStatisticsResource, bool) { + if o == nil || isNil(o.Statistics) { + return nil, false + } + return o.Statistics, true +} + +// HasStatistics returns a boolean if a field has been set. +func (o *ArtistResource) HasStatistics() bool { + if o != nil && !isNil(o.Statistics) { + return true + } + + return false +} + +// SetStatistics gets a reference to the given ArtistStatisticsResource and assigns it to the Statistics field. +func (o *ArtistResource) SetStatistics(v ArtistStatisticsResource) { + o.Statistics = &v +} + +func (o ArtistResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistMetadataId) { + toSerialize["artistMetadataId"] = o.ArtistMetadataId + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.Ended) { + toSerialize["ended"] = o.Ended + } + if o.ArtistName.IsSet() { + toSerialize["artistName"] = o.ArtistName.Get() + } + if o.ForeignArtistId.IsSet() { + toSerialize["foreignArtistId"] = o.ForeignArtistId.Get() + } + if o.MbId.IsSet() { + toSerialize["mbId"] = o.MbId.Get() + } + if !isNil(o.TadbId) { + toSerialize["tadbId"] = o.TadbId + } + if !isNil(o.DiscogsId) { + toSerialize["discogsId"] = o.DiscogsId + } + if o.AllMusicId.IsSet() { + toSerialize["allMusicId"] = o.AllMusicId.Get() + } + if o.Overview.IsSet() { + toSerialize["overview"] = o.Overview.Get() + } + if o.ArtistType.IsSet() { + toSerialize["artistType"] = o.ArtistType.Get() + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if o.Links != nil { + toSerialize["links"] = o.Links + } + if !isNil(o.NextAlbum) { + toSerialize["nextAlbum"] = o.NextAlbum + } + if !isNil(o.LastAlbum) { + toSerialize["lastAlbum"] = o.LastAlbum + } + if o.Images != nil { + toSerialize["images"] = o.Images + } + if o.Members != nil { + toSerialize["members"] = o.Members + } + if o.RemotePoster.IsSet() { + toSerialize["remotePoster"] = o.RemotePoster.Get() + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if !isNil(o.QualityProfileId) { + toSerialize["qualityProfileId"] = o.QualityProfileId + } + if !isNil(o.MetadataProfileId) { + toSerialize["metadataProfileId"] = o.MetadataProfileId + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + if !isNil(o.MonitorNewItems) { + toSerialize["monitorNewItems"] = o.MonitorNewItems + } + if o.RootFolderPath.IsSet() { + toSerialize["rootFolderPath"] = o.RootFolderPath.Get() + } + if o.Genres != nil { + toSerialize["genres"] = o.Genres + } + if o.CleanName.IsSet() { + toSerialize["cleanName"] = o.CleanName.Get() + } + if o.SortName.IsSet() { + toSerialize["sortName"] = o.SortName.Get() + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if !isNil(o.Added) { + toSerialize["added"] = o.Added + } + if !isNil(o.AddOptions) { + toSerialize["addOptions"] = o.AddOptions + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if !isNil(o.Statistics) { + toSerialize["statistics"] = o.Statistics + } + return json.Marshal(toSerialize) +} + +type NullableArtistResource struct { + value *ArtistResource + isSet bool +} + +func (v NullableArtistResource) Get() *ArtistResource { + return v.value +} + +func (v *NullableArtistResource) Set(val *ArtistResource) { + v.value = val + v.isSet = true +} + +func (v NullableArtistResource) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistResource(val *ArtistResource) *NullableArtistResource { + return &NullableArtistResource{value: val, isSet: true} +} + +func (v NullableArtistResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_statistics_resource.go b/lidarr/model_artist_statistics_resource.go new file mode 100644 index 0000000..994c9c6 --- /dev/null +++ b/lidarr/model_artist_statistics_resource.go @@ -0,0 +1,295 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistStatisticsResource struct for ArtistStatisticsResource +type ArtistStatisticsResource struct { + AlbumCount *int32 `json:"albumCount,omitempty"` + TrackFileCount *int32 `json:"trackFileCount,omitempty"` + TrackCount *int32 `json:"trackCount,omitempty"` + TotalTrackCount *int32 `json:"totalTrackCount,omitempty"` + SizeOnDisk *int64 `json:"sizeOnDisk,omitempty"` + PercentOfTracks *float64 `json:"percentOfTracks,omitempty"` +} + +// NewArtistStatisticsResource instantiates a new ArtistStatisticsResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistStatisticsResource() *ArtistStatisticsResource { + this := ArtistStatisticsResource{} + return &this +} + +// NewArtistStatisticsResourceWithDefaults instantiates a new ArtistStatisticsResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistStatisticsResourceWithDefaults() *ArtistStatisticsResource { + this := ArtistStatisticsResource{} + return &this +} + +// GetAlbumCount returns the AlbumCount field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetAlbumCount() int32 { + if o == nil || isNil(o.AlbumCount) { + var ret int32 + return ret + } + return *o.AlbumCount +} + +// GetAlbumCountOk returns a tuple with the AlbumCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetAlbumCountOk() (*int32, bool) { + if o == nil || isNil(o.AlbumCount) { + return nil, false + } + return o.AlbumCount, true +} + +// HasAlbumCount returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasAlbumCount() bool { + if o != nil && !isNil(o.AlbumCount) { + return true + } + + return false +} + +// SetAlbumCount gets a reference to the given int32 and assigns it to the AlbumCount field. +func (o *ArtistStatisticsResource) SetAlbumCount(v int32) { + o.AlbumCount = &v +} + +// GetTrackFileCount returns the TrackFileCount field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetTrackFileCount() int32 { + if o == nil || isNil(o.TrackFileCount) { + var ret int32 + return ret + } + return *o.TrackFileCount +} + +// GetTrackFileCountOk returns a tuple with the TrackFileCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetTrackFileCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileCount) { + return nil, false + } + return o.TrackFileCount, true +} + +// HasTrackFileCount returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasTrackFileCount() bool { + if o != nil && !isNil(o.TrackFileCount) { + return true + } + + return false +} + +// SetTrackFileCount gets a reference to the given int32 and assigns it to the TrackFileCount field. +func (o *ArtistStatisticsResource) SetTrackFileCount(v int32) { + o.TrackFileCount = &v +} + +// GetTrackCount returns the TrackCount field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetTrackCount() int32 { + if o == nil || isNil(o.TrackCount) { + var ret int32 + return ret + } + return *o.TrackCount +} + +// GetTrackCountOk returns a tuple with the TrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TrackCount) { + return nil, false + } + return o.TrackCount, true +} + +// HasTrackCount returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasTrackCount() bool { + if o != nil && !isNil(o.TrackCount) { + return true + } + + return false +} + +// SetTrackCount gets a reference to the given int32 and assigns it to the TrackCount field. +func (o *ArtistStatisticsResource) SetTrackCount(v int32) { + o.TrackCount = &v +} + +// GetTotalTrackCount returns the TotalTrackCount field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetTotalTrackCount() int32 { + if o == nil || isNil(o.TotalTrackCount) { + var ret int32 + return ret + } + return *o.TotalTrackCount +} + +// GetTotalTrackCountOk returns a tuple with the TotalTrackCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetTotalTrackCountOk() (*int32, bool) { + if o == nil || isNil(o.TotalTrackCount) { + return nil, false + } + return o.TotalTrackCount, true +} + +// HasTotalTrackCount returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasTotalTrackCount() bool { + if o != nil && !isNil(o.TotalTrackCount) { + return true + } + + return false +} + +// SetTotalTrackCount gets a reference to the given int32 and assigns it to the TotalTrackCount field. +func (o *ArtistStatisticsResource) SetTotalTrackCount(v int32) { + o.TotalTrackCount = &v +} + +// GetSizeOnDisk returns the SizeOnDisk field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetSizeOnDisk() int64 { + if o == nil || isNil(o.SizeOnDisk) { + var ret int64 + return ret + } + return *o.SizeOnDisk +} + +// GetSizeOnDiskOk returns a tuple with the SizeOnDisk field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetSizeOnDiskOk() (*int64, bool) { + if o == nil || isNil(o.SizeOnDisk) { + return nil, false + } + return o.SizeOnDisk, true +} + +// HasSizeOnDisk returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasSizeOnDisk() bool { + if o != nil && !isNil(o.SizeOnDisk) { + return true + } + + return false +} + +// SetSizeOnDisk gets a reference to the given int64 and assigns it to the SizeOnDisk field. +func (o *ArtistStatisticsResource) SetSizeOnDisk(v int64) { + o.SizeOnDisk = &v +} + +// GetPercentOfTracks returns the PercentOfTracks field value if set, zero value otherwise. +func (o *ArtistStatisticsResource) GetPercentOfTracks() float64 { + if o == nil || isNil(o.PercentOfTracks) { + var ret float64 + return ret + } + return *o.PercentOfTracks +} + +// GetPercentOfTracksOk returns a tuple with the PercentOfTracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistStatisticsResource) GetPercentOfTracksOk() (*float64, bool) { + if o == nil || isNil(o.PercentOfTracks) { + return nil, false + } + return o.PercentOfTracks, true +} + +// HasPercentOfTracks returns a boolean if a field has been set. +func (o *ArtistStatisticsResource) HasPercentOfTracks() bool { + if o != nil && !isNil(o.PercentOfTracks) { + return true + } + + return false +} + +// SetPercentOfTracks gets a reference to the given float64 and assigns it to the PercentOfTracks field. +func (o *ArtistStatisticsResource) SetPercentOfTracks(v float64) { + o.PercentOfTracks = &v +} + +func (o ArtistStatisticsResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.AlbumCount) { + toSerialize["albumCount"] = o.AlbumCount + } + if !isNil(o.TrackFileCount) { + toSerialize["trackFileCount"] = o.TrackFileCount + } + if !isNil(o.TrackCount) { + toSerialize["trackCount"] = o.TrackCount + } + if !isNil(o.TotalTrackCount) { + toSerialize["totalTrackCount"] = o.TotalTrackCount + } + if !isNil(o.SizeOnDisk) { + toSerialize["sizeOnDisk"] = o.SizeOnDisk + } + if !isNil(o.PercentOfTracks) { + toSerialize["percentOfTracks"] = o.PercentOfTracks + } + return json.Marshal(toSerialize) +} + +type NullableArtistStatisticsResource struct { + value *ArtistStatisticsResource + isSet bool +} + +func (v NullableArtistStatisticsResource) Get() *ArtistStatisticsResource { + return v.value +} + +func (v *NullableArtistStatisticsResource) Set(val *ArtistStatisticsResource) { + v.value = val + v.isSet = true +} + +func (v NullableArtistStatisticsResource) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistStatisticsResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistStatisticsResource(val *ArtistStatisticsResource) *NullableArtistStatisticsResource { + return &NullableArtistStatisticsResource{value: val, isSet: true} +} + +func (v NullableArtistStatisticsResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistStatisticsResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_artist_status_type.go b/lidarr/model_artist_status_type.go new file mode 100644 index 0000000..6c0a28e --- /dev/null +++ b/lidarr/model_artist_status_type.go @@ -0,0 +1,111 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ArtistStatusType the model 'ArtistStatusType' +type ArtistStatusType string + +// List of ArtistStatusType +const ( + ARTISTSTATUSTYPE_CONTINUING ArtistStatusType = "continuing" + ARTISTSTATUSTYPE_ENDED ArtistStatusType = "ended" +) + +// All allowed values of ArtistStatusType enum +var AllowedArtistStatusTypeEnumValues = []ArtistStatusType{ + "continuing", + "ended", +} + +func (v *ArtistStatusType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ArtistStatusType(value) + for _, existing := range AllowedArtistStatusTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ArtistStatusType", value) +} + +// NewArtistStatusTypeFromValue returns a pointer to a valid ArtistStatusType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewArtistStatusTypeFromValue(v string) (*ArtistStatusType, error) { + ev := ArtistStatusType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ArtistStatusType: valid values are %v", v, AllowedArtistStatusTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ArtistStatusType) IsValid() bool { + for _, existing := range AllowedArtistStatusTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ArtistStatusType value +func (v ArtistStatusType) Ptr() *ArtistStatusType { + return &v +} + +type NullableArtistStatusType struct { + value *ArtistStatusType + isSet bool +} + +func (v NullableArtistStatusType) Get() *ArtistStatusType { + return v.value +} + +func (v *NullableArtistStatusType) Set(val *ArtistStatusType) { + v.value = val + v.isSet = true +} + +func (v NullableArtistStatusType) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistStatusType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistStatusType(val *ArtistStatusType) *NullableArtistStatusType { + return &NullableArtistStatusType{value: val, isSet: true} +} + +func (v NullableArtistStatusType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistStatusType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_artist_title_info.go b/lidarr/model_artist_title_info.go new file mode 100644 index 0000000..0f8d6d3 --- /dev/null +++ b/lidarr/model_artist_title_info.go @@ -0,0 +1,207 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ArtistTitleInfo struct for ArtistTitleInfo +type ArtistTitleInfo struct { + Title NullableString `json:"title,omitempty"` + TitleWithoutYear NullableString `json:"titleWithoutYear,omitempty"` + Year *int32 `json:"year,omitempty"` +} + +// NewArtistTitleInfo instantiates a new ArtistTitleInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewArtistTitleInfo() *ArtistTitleInfo { + this := ArtistTitleInfo{} + return &this +} + +// NewArtistTitleInfoWithDefaults instantiates a new ArtistTitleInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArtistTitleInfoWithDefaults() *ArtistTitleInfo { + this := ArtistTitleInfo{} + return &this +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistTitleInfo) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistTitleInfo) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *ArtistTitleInfo) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *ArtistTitleInfo) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *ArtistTitleInfo) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *ArtistTitleInfo) UnsetTitle() { + o.Title.Unset() +} + +// GetTitleWithoutYear returns the TitleWithoutYear field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ArtistTitleInfo) GetTitleWithoutYear() string { + if o == nil || isNil(o.TitleWithoutYear.Get()) { + var ret string + return ret + } + return *o.TitleWithoutYear.Get() +} + +// GetTitleWithoutYearOk returns a tuple with the TitleWithoutYear field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ArtistTitleInfo) GetTitleWithoutYearOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TitleWithoutYear.Get(), o.TitleWithoutYear.IsSet() +} + +// HasTitleWithoutYear returns a boolean if a field has been set. +func (o *ArtistTitleInfo) HasTitleWithoutYear() bool { + if o != nil && o.TitleWithoutYear.IsSet() { + return true + } + + return false +} + +// SetTitleWithoutYear gets a reference to the given NullableString and assigns it to the TitleWithoutYear field. +func (o *ArtistTitleInfo) SetTitleWithoutYear(v string) { + o.TitleWithoutYear.Set(&v) +} +// SetTitleWithoutYearNil sets the value for TitleWithoutYear to be an explicit nil +func (o *ArtistTitleInfo) SetTitleWithoutYearNil() { + o.TitleWithoutYear.Set(nil) +} + +// UnsetTitleWithoutYear ensures that no value is present for TitleWithoutYear, not even an explicit nil +func (o *ArtistTitleInfo) UnsetTitleWithoutYear() { + o.TitleWithoutYear.Unset() +} + +// GetYear returns the Year field value if set, zero value otherwise. +func (o *ArtistTitleInfo) GetYear() int32 { + if o == nil || isNil(o.Year) { + var ret int32 + return ret + } + return *o.Year +} + +// GetYearOk returns a tuple with the Year field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ArtistTitleInfo) GetYearOk() (*int32, bool) { + if o == nil || isNil(o.Year) { + return nil, false + } + return o.Year, true +} + +// HasYear returns a boolean if a field has been set. +func (o *ArtistTitleInfo) HasYear() bool { + if o != nil && !isNil(o.Year) { + return true + } + + return false +} + +// SetYear gets a reference to the given int32 and assigns it to the Year field. +func (o *ArtistTitleInfo) SetYear(v int32) { + o.Year = &v +} + +func (o ArtistTitleInfo) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.TitleWithoutYear.IsSet() { + toSerialize["titleWithoutYear"] = o.TitleWithoutYear.Get() + } + if !isNil(o.Year) { + toSerialize["year"] = o.Year + } + return json.Marshal(toSerialize) +} + +type NullableArtistTitleInfo struct { + value *ArtistTitleInfo + isSet bool +} + +func (v NullableArtistTitleInfo) Get() *ArtistTitleInfo { + return v.value +} + +func (v *NullableArtistTitleInfo) Set(val *ArtistTitleInfo) { + v.value = val + v.isSet = true +} + +func (v NullableArtistTitleInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableArtistTitleInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArtistTitleInfo(val *ArtistTitleInfo) *NullableArtistTitleInfo { + return &NullableArtistTitleInfo{value: val, isSet: true} +} + +func (v NullableArtistTitleInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArtistTitleInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_authentication_type.go b/lidarr/model_authentication_type.go new file mode 100644 index 0000000..6192db5 --- /dev/null +++ b/lidarr/model_authentication_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// AuthenticationType the model 'AuthenticationType' +type AuthenticationType string + +// List of AuthenticationType +const ( + AUTHENTICATIONTYPE_NONE AuthenticationType = "none" + AUTHENTICATIONTYPE_BASIC AuthenticationType = "basic" + AUTHENTICATIONTYPE_FORMS AuthenticationType = "forms" +) + +// All allowed values of AuthenticationType enum +var AllowedAuthenticationTypeEnumValues = []AuthenticationType{ + "none", + "basic", + "forms", +} + +func (v *AuthenticationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := AuthenticationType(value) + for _, existing := range AllowedAuthenticationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid AuthenticationType", value) +} + +// NewAuthenticationTypeFromValue returns a pointer to a valid AuthenticationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewAuthenticationTypeFromValue(v string) (*AuthenticationType, error) { + ev := AuthenticationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for AuthenticationType: valid values are %v", v, AllowedAuthenticationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v AuthenticationType) IsValid() bool { + for _, existing := range AllowedAuthenticationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to AuthenticationType value +func (v AuthenticationType) Ptr() *AuthenticationType { + return &v +} + +type NullableAuthenticationType struct { + value *AuthenticationType + isSet bool +} + +func (v NullableAuthenticationType) Get() *AuthenticationType { + return v.value +} + +func (v *NullableAuthenticationType) Set(val *AuthenticationType) { + v.value = val + v.isSet = true +} + +func (v NullableAuthenticationType) IsSet() bool { + return v.isSet +} + +func (v *NullableAuthenticationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAuthenticationType(val *AuthenticationType) *NullableAuthenticationType { + return &NullableAuthenticationType{value: val, isSet: true} +} + +func (v NullableAuthenticationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAuthenticationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_backup_resource.go b/lidarr/model_backup_resource.go new file mode 100644 index 0000000..4d7f328 --- /dev/null +++ b/lidarr/model_backup_resource.go @@ -0,0 +1,316 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// BackupResource struct for BackupResource +type BackupResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Path NullableString `json:"path,omitempty"` + Type *BackupType `json:"type,omitempty"` + Size *int64 `json:"size,omitempty"` + Time *time.Time `json:"time,omitempty"` +} + +// NewBackupResource instantiates a new BackupResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBackupResource() *BackupResource { + this := BackupResource{} + return &this +} + +// NewBackupResourceWithDefaults instantiates a new BackupResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBackupResourceWithDefaults() *BackupResource { + this := BackupResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BackupResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BackupResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BackupResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *BackupResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BackupResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BackupResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *BackupResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *BackupResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *BackupResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *BackupResource) UnsetName() { + o.Name.Unset() +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BackupResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BackupResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *BackupResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *BackupResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *BackupResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *BackupResource) UnsetPath() { + o.Path.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *BackupResource) GetType() BackupType { + if o == nil || isNil(o.Type) { + var ret BackupType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BackupResource) GetTypeOk() (*BackupType, bool) { + if o == nil || isNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *BackupResource) HasType() bool { + if o != nil && !isNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given BackupType and assigns it to the Type field. +func (o *BackupResource) SetType(v BackupType) { + o.Type = &v +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *BackupResource) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BackupResource) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *BackupResource) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *BackupResource) SetSize(v int64) { + o.Size = &v +} + +// GetTime returns the Time field value if set, zero value otherwise. +func (o *BackupResource) GetTime() time.Time { + if o == nil || isNil(o.Time) { + var ret time.Time + return ret + } + return *o.Time +} + +// GetTimeOk returns a tuple with the Time field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BackupResource) GetTimeOk() (*time.Time, bool) { + if o == nil || isNil(o.Time) { + return nil, false + } + return o.Time, true +} + +// HasTime returns a boolean if a field has been set. +func (o *BackupResource) HasTime() bool { + if o != nil && !isNil(o.Time) { + return true + } + + return false +} + +// SetTime gets a reference to the given time.Time and assigns it to the Time field. +func (o *BackupResource) SetTime(v time.Time) { + o.Time = &v +} + +func (o BackupResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if !isNil(o.Type) { + toSerialize["type"] = o.Type + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Time) { + toSerialize["time"] = o.Time + } + return json.Marshal(toSerialize) +} + +type NullableBackupResource struct { + value *BackupResource + isSet bool +} + +func (v NullableBackupResource) Get() *BackupResource { + return v.value +} + +func (v *NullableBackupResource) Set(val *BackupResource) { + v.value = val + v.isSet = true +} + +func (v NullableBackupResource) IsSet() bool { + return v.isSet +} + +func (v *NullableBackupResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBackupResource(val *BackupResource) *NullableBackupResource { + return &NullableBackupResource{value: val, isSet: true} +} + +func (v NullableBackupResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBackupResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_backup_type.go b/lidarr/model_backup_type.go new file mode 100644 index 0000000..caf6464 --- /dev/null +++ b/lidarr/model_backup_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// BackupType the model 'BackupType' +type BackupType string + +// List of BackupType +const ( + BACKUPTYPE_SCHEDULED BackupType = "scheduled" + BACKUPTYPE_MANUAL BackupType = "manual" + BACKUPTYPE_UPDATE BackupType = "update" +) + +// All allowed values of BackupType enum +var AllowedBackupTypeEnumValues = []BackupType{ + "scheduled", + "manual", + "update", +} + +func (v *BackupType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := BackupType(value) + for _, existing := range AllowedBackupTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid BackupType", value) +} + +// NewBackupTypeFromValue returns a pointer to a valid BackupType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewBackupTypeFromValue(v string) (*BackupType, error) { + ev := BackupType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for BackupType: valid values are %v", v, AllowedBackupTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v BackupType) IsValid() bool { + for _, existing := range AllowedBackupTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to BackupType value +func (v BackupType) Ptr() *BackupType { + return &v +} + +type NullableBackupType struct { + value *BackupType + isSet bool +} + +func (v NullableBackupType) Get() *BackupType { + return v.value +} + +func (v *NullableBackupType) Set(val *BackupType) { + v.value = val + v.isSet = true +} + +func (v NullableBackupType) IsSet() bool { + return v.isSet +} + +func (v *NullableBackupType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBackupType(val *BackupType) *NullableBackupType { + return &NullableBackupType{value: val, isSet: true} +} + +func (v NullableBackupType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBackupType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_blocklist_bulk_resource.go b/lidarr/model_blocklist_bulk_resource.go new file mode 100644 index 0000000..9e2822f --- /dev/null +++ b/lidarr/model_blocklist_bulk_resource.go @@ -0,0 +1,116 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// BlocklistBulkResource struct for BlocklistBulkResource +type BlocklistBulkResource struct { + Ids []*int32 `json:"ids,omitempty"` +} + +// NewBlocklistBulkResource instantiates a new BlocklistBulkResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBlocklistBulkResource() *BlocklistBulkResource { + this := BlocklistBulkResource{} + return &this +} + +// NewBlocklistBulkResourceWithDefaults instantiates a new BlocklistBulkResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBlocklistBulkResourceWithDefaults() *BlocklistBulkResource { + this := BlocklistBulkResource{} + return &this +} + +// GetIds returns the Ids field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistBulkResource) GetIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Ids +} + +// GetIdsOk returns a tuple with the Ids field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistBulkResource) GetIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.Ids) { + return nil, false + } + return o.Ids, true +} + +// HasIds returns a boolean if a field has been set. +func (o *BlocklistBulkResource) HasIds() bool { + if o != nil && isNil(o.Ids) { + return true + } + + return false +} + +// SetIds gets a reference to the given []int32 and assigns it to the Ids field. +func (o *BlocklistBulkResource) SetIds(v []*int32) { + o.Ids = v +} + +func (o BlocklistBulkResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Ids != nil { + toSerialize["ids"] = o.Ids + } + return json.Marshal(toSerialize) +} + +type NullableBlocklistBulkResource struct { + value *BlocklistBulkResource + isSet bool +} + +func (v NullableBlocklistBulkResource) Get() *BlocklistBulkResource { + return v.value +} + +func (v *NullableBlocklistBulkResource) Set(val *BlocklistBulkResource) { + v.value = val + v.isSet = true +} + +func (v NullableBlocklistBulkResource) IsSet() bool { + return v.isSet +} + +func (v *NullableBlocklistBulkResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlocklistBulkResource(val *BlocklistBulkResource) *NullableBlocklistBulkResource { + return &NullableBlocklistBulkResource{value: val, isSet: true} +} + +func (v NullableBlocklistBulkResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlocklistBulkResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_blocklist_resource.go b/lidarr/model_blocklist_resource.go new file mode 100644 index 0000000..d1f7509 --- /dev/null +++ b/lidarr/model_blocklist_resource.go @@ -0,0 +1,471 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// BlocklistResource struct for BlocklistResource +type BlocklistResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + AlbumIds []*int32 `json:"albumIds,omitempty"` + SourceTitle NullableString `json:"sourceTitle,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + Date *time.Time `json:"date,omitempty"` + Protocol *DownloadProtocol `json:"protocol,omitempty"` + Indexer NullableString `json:"indexer,omitempty"` + Message NullableString `json:"message,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` +} + +// NewBlocklistResource instantiates a new BlocklistResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBlocklistResource() *BlocklistResource { + this := BlocklistResource{} + return &this +} + +// NewBlocklistResourceWithDefaults instantiates a new BlocklistResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBlocklistResourceWithDefaults() *BlocklistResource { + this := BlocklistResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *BlocklistResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *BlocklistResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *BlocklistResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *BlocklistResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *BlocklistResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *BlocklistResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetAlbumIds returns the AlbumIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResource) GetAlbumIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.AlbumIds +} + +// GetAlbumIdsOk returns a tuple with the AlbumIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResource) GetAlbumIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.AlbumIds) { + return nil, false + } + return o.AlbumIds, true +} + +// HasAlbumIds returns a boolean if a field has been set. +func (o *BlocklistResource) HasAlbumIds() bool { + if o != nil && isNil(o.AlbumIds) { + return true + } + + return false +} + +// SetAlbumIds gets a reference to the given []int32 and assigns it to the AlbumIds field. +func (o *BlocklistResource) SetAlbumIds(v []*int32) { + o.AlbumIds = v +} + +// GetSourceTitle returns the SourceTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResource) GetSourceTitle() string { + if o == nil || isNil(o.SourceTitle.Get()) { + var ret string + return ret + } + return *o.SourceTitle.Get() +} + +// GetSourceTitleOk returns a tuple with the SourceTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResource) GetSourceTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SourceTitle.Get(), o.SourceTitle.IsSet() +} + +// HasSourceTitle returns a boolean if a field has been set. +func (o *BlocklistResource) HasSourceTitle() bool { + if o != nil && o.SourceTitle.IsSet() { + return true + } + + return false +} + +// SetSourceTitle gets a reference to the given NullableString and assigns it to the SourceTitle field. +func (o *BlocklistResource) SetSourceTitle(v string) { + o.SourceTitle.Set(&v) +} +// SetSourceTitleNil sets the value for SourceTitle to be an explicit nil +func (o *BlocklistResource) SetSourceTitleNil() { + o.SourceTitle.Set(nil) +} + +// UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil +func (o *BlocklistResource) UnsetSourceTitle() { + o.SourceTitle.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *BlocklistResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *BlocklistResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *BlocklistResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetDate returns the Date field value if set, zero value otherwise. +func (o *BlocklistResource) GetDate() time.Time { + if o == nil || isNil(o.Date) { + var ret time.Time + return ret + } + return *o.Date +} + +// GetDateOk returns a tuple with the Date field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetDateOk() (*time.Time, bool) { + if o == nil || isNil(o.Date) { + return nil, false + } + return o.Date, true +} + +// HasDate returns a boolean if a field has been set. +func (o *BlocklistResource) HasDate() bool { + if o != nil && !isNil(o.Date) { + return true + } + + return false +} + +// SetDate gets a reference to the given time.Time and assigns it to the Date field. +func (o *BlocklistResource) SetDate(v time.Time) { + o.Date = &v +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *BlocklistResource) GetProtocol() DownloadProtocol { + if o == nil || isNil(o.Protocol) { + var ret DownloadProtocol + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *BlocklistResource) HasProtocol() bool { + if o != nil && !isNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given DownloadProtocol and assigns it to the Protocol field. +func (o *BlocklistResource) SetProtocol(v DownloadProtocol) { + o.Protocol = &v +} + +// GetIndexer returns the Indexer field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResource) GetIndexer() string { + if o == nil || isNil(o.Indexer.Get()) { + var ret string + return ret + } + return *o.Indexer.Get() +} + +// GetIndexerOk returns a tuple with the Indexer field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResource) GetIndexerOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Indexer.Get(), o.Indexer.IsSet() +} + +// HasIndexer returns a boolean if a field has been set. +func (o *BlocklistResource) HasIndexer() bool { + if o != nil && o.Indexer.IsSet() { + return true + } + + return false +} + +// SetIndexer gets a reference to the given NullableString and assigns it to the Indexer field. +func (o *BlocklistResource) SetIndexer(v string) { + o.Indexer.Set(&v) +} +// SetIndexerNil sets the value for Indexer to be an explicit nil +func (o *BlocklistResource) SetIndexerNil() { + o.Indexer.Set(nil) +} + +// UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +func (o *BlocklistResource) UnsetIndexer() { + o.Indexer.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResource) GetMessage() string { + if o == nil || isNil(o.Message.Get()) { + var ret string + return ret + } + return *o.Message.Get() +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResource) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Message.Get(), o.Message.IsSet() +} + +// HasMessage returns a boolean if a field has been set. +func (o *BlocklistResource) HasMessage() bool { + if o != nil && o.Message.IsSet() { + return true + } + + return false +} + +// SetMessage gets a reference to the given NullableString and assigns it to the Message field. +func (o *BlocklistResource) SetMessage(v string) { + o.Message.Set(&v) +} +// SetMessageNil sets the value for Message to be an explicit nil +func (o *BlocklistResource) SetMessageNil() { + o.Message.Set(nil) +} + +// UnsetMessage ensures that no value is present for Message, not even an explicit nil +func (o *BlocklistResource) UnsetMessage() { + o.Message.Unset() +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *BlocklistResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *BlocklistResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *BlocklistResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +func (o BlocklistResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if o.AlbumIds != nil { + toSerialize["albumIds"] = o.AlbumIds + } + if o.SourceTitle.IsSet() { + toSerialize["sourceTitle"] = o.SourceTitle.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.Date) { + toSerialize["date"] = o.Date + } + if !isNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + if o.Indexer.IsSet() { + toSerialize["indexer"] = o.Indexer.Get() + } + if o.Message.IsSet() { + toSerialize["message"] = o.Message.Get() + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + return json.Marshal(toSerialize) +} + +type NullableBlocklistResource struct { + value *BlocklistResource + isSet bool +} + +func (v NullableBlocklistResource) Get() *BlocklistResource { + return v.value +} + +func (v *NullableBlocklistResource) Set(val *BlocklistResource) { + v.value = val + v.isSet = true +} + +func (v NullableBlocklistResource) IsSet() bool { + return v.isSet +} + +func (v *NullableBlocklistResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlocklistResource(val *BlocklistResource) *NullableBlocklistResource { + return &NullableBlocklistResource{value: val, isSet: true} +} + +func (v NullableBlocklistResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlocklistResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_blocklist_resource_paging_resource.go b/lidarr/model_blocklist_resource_paging_resource.go new file mode 100644 index 0000000..b99203f --- /dev/null +++ b/lidarr/model_blocklist_resource_paging_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// BlocklistResourcePagingResource struct for BlocklistResourcePagingResource +type BlocklistResourcePagingResource struct { + Page *int32 `json:"page,omitempty"` + PageSize *int32 `json:"pageSize,omitempty"` + SortKey NullableString `json:"sortKey,omitempty"` + SortDirection *SortDirection `json:"sortDirection,omitempty"` + Filters []*PagingResourceFilter `json:"filters,omitempty"` + TotalRecords *int32 `json:"totalRecords,omitempty"` + Records []*BlocklistResource `json:"records,omitempty"` +} + +// NewBlocklistResourcePagingResource instantiates a new BlocklistResourcePagingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewBlocklistResourcePagingResource() *BlocklistResourcePagingResource { + this := BlocklistResourcePagingResource{} + return &this +} + +// NewBlocklistResourcePagingResourceWithDefaults instantiates a new BlocklistResourcePagingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewBlocklistResourcePagingResourceWithDefaults() *BlocklistResourcePagingResource { + this := BlocklistResourcePagingResource{} + return &this +} + +// GetPage returns the Page field value if set, zero value otherwise. +func (o *BlocklistResourcePagingResource) GetPage() int32 { + if o == nil || isNil(o.Page) { + var ret int32 + return ret + } + return *o.Page +} + +// GetPageOk returns a tuple with the Page field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResourcePagingResource) GetPageOk() (*int32, bool) { + if o == nil || isNil(o.Page) { + return nil, false + } + return o.Page, true +} + +// HasPage returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasPage() bool { + if o != nil && !isNil(o.Page) { + return true + } + + return false +} + +// SetPage gets a reference to the given int32 and assigns it to the Page field. +func (o *BlocklistResourcePagingResource) SetPage(v int32) { + o.Page = &v +} + +// GetPageSize returns the PageSize field value if set, zero value otherwise. +func (o *BlocklistResourcePagingResource) GetPageSize() int32 { + if o == nil || isNil(o.PageSize) { + var ret int32 + return ret + } + return *o.PageSize +} + +// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResourcePagingResource) GetPageSizeOk() (*int32, bool) { + if o == nil || isNil(o.PageSize) { + return nil, false + } + return o.PageSize, true +} + +// HasPageSize returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasPageSize() bool { + if o != nil && !isNil(o.PageSize) { + return true + } + + return false +} + +// SetPageSize gets a reference to the given int32 and assigns it to the PageSize field. +func (o *BlocklistResourcePagingResource) SetPageSize(v int32) { + o.PageSize = &v +} + +// GetSortKey returns the SortKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResourcePagingResource) GetSortKey() string { + if o == nil || isNil(o.SortKey.Get()) { + var ret string + return ret + } + return *o.SortKey.Get() +} + +// GetSortKeyOk returns a tuple with the SortKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResourcePagingResource) GetSortKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortKey.Get(), o.SortKey.IsSet() +} + +// HasSortKey returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasSortKey() bool { + if o != nil && o.SortKey.IsSet() { + return true + } + + return false +} + +// SetSortKey gets a reference to the given NullableString and assigns it to the SortKey field. +func (o *BlocklistResourcePagingResource) SetSortKey(v string) { + o.SortKey.Set(&v) +} +// SetSortKeyNil sets the value for SortKey to be an explicit nil +func (o *BlocklistResourcePagingResource) SetSortKeyNil() { + o.SortKey.Set(nil) +} + +// UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +func (o *BlocklistResourcePagingResource) UnsetSortKey() { + o.SortKey.Unset() +} + +// GetSortDirection returns the SortDirection field value if set, zero value otherwise. +func (o *BlocklistResourcePagingResource) GetSortDirection() SortDirection { + if o == nil || isNil(o.SortDirection) { + var ret SortDirection + return ret + } + return *o.SortDirection +} + +// GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool) { + if o == nil || isNil(o.SortDirection) { + return nil, false + } + return o.SortDirection, true +} + +// HasSortDirection returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasSortDirection() bool { + if o != nil && !isNil(o.SortDirection) { + return true + } + + return false +} + +// SetSortDirection gets a reference to the given SortDirection and assigns it to the SortDirection field. +func (o *BlocklistResourcePagingResource) SetSortDirection(v SortDirection) { + o.SortDirection = &v +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResourcePagingResource) GetFilters() []*PagingResourceFilter { + if o == nil { + var ret []*PagingResourceFilter + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResourcePagingResource) GetFiltersOk() ([]*PagingResourceFilter, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []PagingResourceFilter and assigns it to the Filters field. +func (o *BlocklistResourcePagingResource) SetFilters(v []*PagingResourceFilter) { + o.Filters = v +} + +// GetTotalRecords returns the TotalRecords field value if set, zero value otherwise. +func (o *BlocklistResourcePagingResource) GetTotalRecords() int32 { + if o == nil || isNil(o.TotalRecords) { + var ret int32 + return ret + } + return *o.TotalRecords +} + +// GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *BlocklistResourcePagingResource) GetTotalRecordsOk() (*int32, bool) { + if o == nil || isNil(o.TotalRecords) { + return nil, false + } + return o.TotalRecords, true +} + +// HasTotalRecords returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasTotalRecords() bool { + if o != nil && !isNil(o.TotalRecords) { + return true + } + + return false +} + +// SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field. +func (o *BlocklistResourcePagingResource) SetTotalRecords(v int32) { + o.TotalRecords = &v +} + +// GetRecords returns the Records field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *BlocklistResourcePagingResource) GetRecords() []*BlocklistResource { + if o == nil { + var ret []*BlocklistResource + return ret + } + return o.Records +} + +// GetRecordsOk returns a tuple with the Records field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *BlocklistResourcePagingResource) GetRecordsOk() ([]*BlocklistResource, bool) { + if o == nil || isNil(o.Records) { + return nil, false + } + return o.Records, true +} + +// HasRecords returns a boolean if a field has been set. +func (o *BlocklistResourcePagingResource) HasRecords() bool { + if o != nil && isNil(o.Records) { + return true + } + + return false +} + +// SetRecords gets a reference to the given []BlocklistResource and assigns it to the Records field. +func (o *BlocklistResourcePagingResource) SetRecords(v []*BlocklistResource) { + o.Records = v +} + +func (o BlocklistResourcePagingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Page) { + toSerialize["page"] = o.Page + } + if !isNil(o.PageSize) { + toSerialize["pageSize"] = o.PageSize + } + if o.SortKey.IsSet() { + toSerialize["sortKey"] = o.SortKey.Get() + } + if !isNil(o.SortDirection) { + toSerialize["sortDirection"] = o.SortDirection + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + if !isNil(o.TotalRecords) { + toSerialize["totalRecords"] = o.TotalRecords + } + if o.Records != nil { + toSerialize["records"] = o.Records + } + return json.Marshal(toSerialize) +} + +type NullableBlocklistResourcePagingResource struct { + value *BlocklistResourcePagingResource + isSet bool +} + +func (v NullableBlocklistResourcePagingResource) Get() *BlocklistResourcePagingResource { + return v.value +} + +func (v *NullableBlocklistResourcePagingResource) Set(val *BlocklistResourcePagingResource) { + v.value = val + v.isSet = true +} + +func (v NullableBlocklistResourcePagingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableBlocklistResourcePagingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBlocklistResourcePagingResource(val *BlocklistResourcePagingResource) *NullableBlocklistResourcePagingResource { + return &NullableBlocklistResourcePagingResource{value: val, isSet: true} +} + +func (v NullableBlocklistResourcePagingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBlocklistResourcePagingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_certificate_validation_type.go b/lidarr/model_certificate_validation_type.go new file mode 100644 index 0000000..a2acb77 --- /dev/null +++ b/lidarr/model_certificate_validation_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// CertificateValidationType the model 'CertificateValidationType' +type CertificateValidationType string + +// List of CertificateValidationType +const ( + CERTIFICATEVALIDATIONTYPE_ENABLED CertificateValidationType = "enabled" + CERTIFICATEVALIDATIONTYPE_DISABLED_FOR_LOCAL_ADDRESSES CertificateValidationType = "disabledForLocalAddresses" + CERTIFICATEVALIDATIONTYPE_DISABLED CertificateValidationType = "disabled" +) + +// All allowed values of CertificateValidationType enum +var AllowedCertificateValidationTypeEnumValues = []CertificateValidationType{ + "enabled", + "disabledForLocalAddresses", + "disabled", +} + +func (v *CertificateValidationType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CertificateValidationType(value) + for _, existing := range AllowedCertificateValidationTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CertificateValidationType", value) +} + +// NewCertificateValidationTypeFromValue returns a pointer to a valid CertificateValidationType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCertificateValidationTypeFromValue(v string) (*CertificateValidationType, error) { + ev := CertificateValidationType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CertificateValidationType: valid values are %v", v, AllowedCertificateValidationTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CertificateValidationType) IsValid() bool { + for _, existing := range AllowedCertificateValidationTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CertificateValidationType value +func (v CertificateValidationType) Ptr() *CertificateValidationType { + return &v +} + +type NullableCertificateValidationType struct { + value *CertificateValidationType + isSet bool +} + +func (v NullableCertificateValidationType) Get() *CertificateValidationType { + return v.value +} + +func (v *NullableCertificateValidationType) Set(val *CertificateValidationType) { + v.value = val + v.isSet = true +} + +func (v NullableCertificateValidationType) IsSet() bool { + return v.isSet +} + +func (v *NullableCertificateValidationType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCertificateValidationType(val *CertificateValidationType) *NullableCertificateValidationType { + return &NullableCertificateValidationType{value: val, isSet: true} +} + +func (v NullableCertificateValidationType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCertificateValidationType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_command.go b/lidarr/model_command.go new file mode 100644 index 0000000..c838c49 --- /dev/null +++ b/lidarr/model_command.go @@ -0,0 +1,562 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// Command struct for Command +type Command struct { + SendUpdatesToClient *bool `json:"sendUpdatesToClient,omitempty"` + UpdateScheduledTask *bool `json:"updateScheduledTask,omitempty"` + CompletionMessage NullableString `json:"completionMessage,omitempty"` + RequiresDiskAccess *bool `json:"requiresDiskAccess,omitempty"` + IsExclusive *bool `json:"isExclusive,omitempty"` + IsTypeExclusive *bool `json:"isTypeExclusive,omitempty"` + Name NullableString `json:"name,omitempty"` + LastExecutionTime NullableTime `json:"lastExecutionTime,omitempty"` + LastStartTime NullableTime `json:"lastStartTime,omitempty"` + Trigger *CommandTrigger `json:"trigger,omitempty"` + SuppressMessages *bool `json:"suppressMessages,omitempty"` + ClientUserAgent NullableString `json:"clientUserAgent,omitempty"` +} + +// NewCommand instantiates a new Command object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommand() *Command { + this := Command{} + return &this +} + +// NewCommandWithDefaults instantiates a new Command object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommandWithDefaults() *Command { + this := Command{} + return &this +} + +// GetSendUpdatesToClient returns the SendUpdatesToClient field value if set, zero value otherwise. +func (o *Command) GetSendUpdatesToClient() bool { + if o == nil || isNil(o.SendUpdatesToClient) { + var ret bool + return ret + } + return *o.SendUpdatesToClient +} + +// GetSendUpdatesToClientOk returns a tuple with the SendUpdatesToClient field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetSendUpdatesToClientOk() (*bool, bool) { + if o == nil || isNil(o.SendUpdatesToClient) { + return nil, false + } + return o.SendUpdatesToClient, true +} + +// HasSendUpdatesToClient returns a boolean if a field has been set. +func (o *Command) HasSendUpdatesToClient() bool { + if o != nil && !isNil(o.SendUpdatesToClient) { + return true + } + + return false +} + +// SetSendUpdatesToClient gets a reference to the given bool and assigns it to the SendUpdatesToClient field. +func (o *Command) SetSendUpdatesToClient(v bool) { + o.SendUpdatesToClient = &v +} + +// GetUpdateScheduledTask returns the UpdateScheduledTask field value if set, zero value otherwise. +func (o *Command) GetUpdateScheduledTask() bool { + if o == nil || isNil(o.UpdateScheduledTask) { + var ret bool + return ret + } + return *o.UpdateScheduledTask +} + +// GetUpdateScheduledTaskOk returns a tuple with the UpdateScheduledTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetUpdateScheduledTaskOk() (*bool, bool) { + if o == nil || isNil(o.UpdateScheduledTask) { + return nil, false + } + return o.UpdateScheduledTask, true +} + +// HasUpdateScheduledTask returns a boolean if a field has been set. +func (o *Command) HasUpdateScheduledTask() bool { + if o != nil && !isNil(o.UpdateScheduledTask) { + return true + } + + return false +} + +// SetUpdateScheduledTask gets a reference to the given bool and assigns it to the UpdateScheduledTask field. +func (o *Command) SetUpdateScheduledTask(v bool) { + o.UpdateScheduledTask = &v +} + +// GetCompletionMessage returns the CompletionMessage field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Command) GetCompletionMessage() string { + if o == nil || isNil(o.CompletionMessage.Get()) { + var ret string + return ret + } + return *o.CompletionMessage.Get() +} + +// GetCompletionMessageOk returns a tuple with the CompletionMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Command) GetCompletionMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CompletionMessage.Get(), o.CompletionMessage.IsSet() +} + +// HasCompletionMessage returns a boolean if a field has been set. +func (o *Command) HasCompletionMessage() bool { + if o != nil && o.CompletionMessage.IsSet() { + return true + } + + return false +} + +// SetCompletionMessage gets a reference to the given NullableString and assigns it to the CompletionMessage field. +func (o *Command) SetCompletionMessage(v string) { + o.CompletionMessage.Set(&v) +} +// SetCompletionMessageNil sets the value for CompletionMessage to be an explicit nil +func (o *Command) SetCompletionMessageNil() { + o.CompletionMessage.Set(nil) +} + +// UnsetCompletionMessage ensures that no value is present for CompletionMessage, not even an explicit nil +func (o *Command) UnsetCompletionMessage() { + o.CompletionMessage.Unset() +} + +// GetRequiresDiskAccess returns the RequiresDiskAccess field value if set, zero value otherwise. +func (o *Command) GetRequiresDiskAccess() bool { + if o == nil || isNil(o.RequiresDiskAccess) { + var ret bool + return ret + } + return *o.RequiresDiskAccess +} + +// GetRequiresDiskAccessOk returns a tuple with the RequiresDiskAccess field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetRequiresDiskAccessOk() (*bool, bool) { + if o == nil || isNil(o.RequiresDiskAccess) { + return nil, false + } + return o.RequiresDiskAccess, true +} + +// HasRequiresDiskAccess returns a boolean if a field has been set. +func (o *Command) HasRequiresDiskAccess() bool { + if o != nil && !isNil(o.RequiresDiskAccess) { + return true + } + + return false +} + +// SetRequiresDiskAccess gets a reference to the given bool and assigns it to the RequiresDiskAccess field. +func (o *Command) SetRequiresDiskAccess(v bool) { + o.RequiresDiskAccess = &v +} + +// GetIsExclusive returns the IsExclusive field value if set, zero value otherwise. +func (o *Command) GetIsExclusive() bool { + if o == nil || isNil(o.IsExclusive) { + var ret bool + return ret + } + return *o.IsExclusive +} + +// GetIsExclusiveOk returns a tuple with the IsExclusive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetIsExclusiveOk() (*bool, bool) { + if o == nil || isNil(o.IsExclusive) { + return nil, false + } + return o.IsExclusive, true +} + +// HasIsExclusive returns a boolean if a field has been set. +func (o *Command) HasIsExclusive() bool { + if o != nil && !isNil(o.IsExclusive) { + return true + } + + return false +} + +// SetIsExclusive gets a reference to the given bool and assigns it to the IsExclusive field. +func (o *Command) SetIsExclusive(v bool) { + o.IsExclusive = &v +} + +// GetIsTypeExclusive returns the IsTypeExclusive field value if set, zero value otherwise. +func (o *Command) GetIsTypeExclusive() bool { + if o == nil || isNil(o.IsTypeExclusive) { + var ret bool + return ret + } + return *o.IsTypeExclusive +} + +// GetIsTypeExclusiveOk returns a tuple with the IsTypeExclusive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetIsTypeExclusiveOk() (*bool, bool) { + if o == nil || isNil(o.IsTypeExclusive) { + return nil, false + } + return o.IsTypeExclusive, true +} + +// HasIsTypeExclusive returns a boolean if a field has been set. +func (o *Command) HasIsTypeExclusive() bool { + if o != nil && !isNil(o.IsTypeExclusive) { + return true + } + + return false +} + +// SetIsTypeExclusive gets a reference to the given bool and assigns it to the IsTypeExclusive field. +func (o *Command) SetIsTypeExclusive(v bool) { + o.IsTypeExclusive = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Command) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Command) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Command) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Command) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Command) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Command) UnsetName() { + o.Name.Unset() +} + +// GetLastExecutionTime returns the LastExecutionTime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Command) GetLastExecutionTime() time.Time { + if o == nil || isNil(o.LastExecutionTime.Get()) { + var ret time.Time + return ret + } + return *o.LastExecutionTime.Get() +} + +// GetLastExecutionTimeOk returns a tuple with the LastExecutionTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Command) GetLastExecutionTimeOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastExecutionTime.Get(), o.LastExecutionTime.IsSet() +} + +// HasLastExecutionTime returns a boolean if a field has been set. +func (o *Command) HasLastExecutionTime() bool { + if o != nil && o.LastExecutionTime.IsSet() { + return true + } + + return false +} + +// SetLastExecutionTime gets a reference to the given NullableTime and assigns it to the LastExecutionTime field. +func (o *Command) SetLastExecutionTime(v time.Time) { + o.LastExecutionTime.Set(&v) +} +// SetLastExecutionTimeNil sets the value for LastExecutionTime to be an explicit nil +func (o *Command) SetLastExecutionTimeNil() { + o.LastExecutionTime.Set(nil) +} + +// UnsetLastExecutionTime ensures that no value is present for LastExecutionTime, not even an explicit nil +func (o *Command) UnsetLastExecutionTime() { + o.LastExecutionTime.Unset() +} + +// GetLastStartTime returns the LastStartTime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Command) GetLastStartTime() time.Time { + if o == nil || isNil(o.LastStartTime.Get()) { + var ret time.Time + return ret + } + return *o.LastStartTime.Get() +} + +// GetLastStartTimeOk returns a tuple with the LastStartTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Command) GetLastStartTimeOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastStartTime.Get(), o.LastStartTime.IsSet() +} + +// HasLastStartTime returns a boolean if a field has been set. +func (o *Command) HasLastStartTime() bool { + if o != nil && o.LastStartTime.IsSet() { + return true + } + + return false +} + +// SetLastStartTime gets a reference to the given NullableTime and assigns it to the LastStartTime field. +func (o *Command) SetLastStartTime(v time.Time) { + o.LastStartTime.Set(&v) +} +// SetLastStartTimeNil sets the value for LastStartTime to be an explicit nil +func (o *Command) SetLastStartTimeNil() { + o.LastStartTime.Set(nil) +} + +// UnsetLastStartTime ensures that no value is present for LastStartTime, not even an explicit nil +func (o *Command) UnsetLastStartTime() { + o.LastStartTime.Unset() +} + +// GetTrigger returns the Trigger field value if set, zero value otherwise. +func (o *Command) GetTrigger() CommandTrigger { + if o == nil || isNil(o.Trigger) { + var ret CommandTrigger + return ret + } + return *o.Trigger +} + +// GetTriggerOk returns a tuple with the Trigger field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetTriggerOk() (*CommandTrigger, bool) { + if o == nil || isNil(o.Trigger) { + return nil, false + } + return o.Trigger, true +} + +// HasTrigger returns a boolean if a field has been set. +func (o *Command) HasTrigger() bool { + if o != nil && !isNil(o.Trigger) { + return true + } + + return false +} + +// SetTrigger gets a reference to the given CommandTrigger and assigns it to the Trigger field. +func (o *Command) SetTrigger(v CommandTrigger) { + o.Trigger = &v +} + +// GetSuppressMessages returns the SuppressMessages field value if set, zero value otherwise. +func (o *Command) GetSuppressMessages() bool { + if o == nil || isNil(o.SuppressMessages) { + var ret bool + return ret + } + return *o.SuppressMessages +} + +// GetSuppressMessagesOk returns a tuple with the SuppressMessages field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Command) GetSuppressMessagesOk() (*bool, bool) { + if o == nil || isNil(o.SuppressMessages) { + return nil, false + } + return o.SuppressMessages, true +} + +// HasSuppressMessages returns a boolean if a field has been set. +func (o *Command) HasSuppressMessages() bool { + if o != nil && !isNil(o.SuppressMessages) { + return true + } + + return false +} + +// SetSuppressMessages gets a reference to the given bool and assigns it to the SuppressMessages field. +func (o *Command) SetSuppressMessages(v bool) { + o.SuppressMessages = &v +} + +// GetClientUserAgent returns the ClientUserAgent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Command) GetClientUserAgent() string { + if o == nil || isNil(o.ClientUserAgent.Get()) { + var ret string + return ret + } + return *o.ClientUserAgent.Get() +} + +// GetClientUserAgentOk returns a tuple with the ClientUserAgent field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Command) GetClientUserAgentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ClientUserAgent.Get(), o.ClientUserAgent.IsSet() +} + +// HasClientUserAgent returns a boolean if a field has been set. +func (o *Command) HasClientUserAgent() bool { + if o != nil && o.ClientUserAgent.IsSet() { + return true + } + + return false +} + +// SetClientUserAgent gets a reference to the given NullableString and assigns it to the ClientUserAgent field. +func (o *Command) SetClientUserAgent(v string) { + o.ClientUserAgent.Set(&v) +} +// SetClientUserAgentNil sets the value for ClientUserAgent to be an explicit nil +func (o *Command) SetClientUserAgentNil() { + o.ClientUserAgent.Set(nil) +} + +// UnsetClientUserAgent ensures that no value is present for ClientUserAgent, not even an explicit nil +func (o *Command) UnsetClientUserAgent() { + o.ClientUserAgent.Unset() +} + +func (o Command) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.SendUpdatesToClient) { + toSerialize["sendUpdatesToClient"] = o.SendUpdatesToClient + } + if !isNil(o.UpdateScheduledTask) { + toSerialize["updateScheduledTask"] = o.UpdateScheduledTask + } + if o.CompletionMessage.IsSet() { + toSerialize["completionMessage"] = o.CompletionMessage.Get() + } + if !isNil(o.RequiresDiskAccess) { + toSerialize["requiresDiskAccess"] = o.RequiresDiskAccess + } + if !isNil(o.IsExclusive) { + toSerialize["isExclusive"] = o.IsExclusive + } + if !isNil(o.IsTypeExclusive) { + toSerialize["isTypeExclusive"] = o.IsTypeExclusive + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.LastExecutionTime.IsSet() { + toSerialize["lastExecutionTime"] = o.LastExecutionTime.Get() + } + if o.LastStartTime.IsSet() { + toSerialize["lastStartTime"] = o.LastStartTime.Get() + } + if !isNil(o.Trigger) { + toSerialize["trigger"] = o.Trigger + } + if !isNil(o.SuppressMessages) { + toSerialize["suppressMessages"] = o.SuppressMessages + } + if o.ClientUserAgent.IsSet() { + toSerialize["clientUserAgent"] = o.ClientUserAgent.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCommand struct { + value *Command + isSet bool +} + +func (v NullableCommand) Get() *Command { + return v.value +} + +func (v *NullableCommand) Set(val *Command) { + v.value = val + v.isSet = true +} + +func (v NullableCommand) IsSet() bool { + return v.isSet +} + +func (v *NullableCommand) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommand(val *Command) *NullableCommand { + return &NullableCommand{value: val, isSet: true} +} + +func (v NullableCommand) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommand) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_command_priority.go b/lidarr/model_command_priority.go new file mode 100644 index 0000000..39b82ec --- /dev/null +++ b/lidarr/model_command_priority.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// CommandPriority the model 'CommandPriority' +type CommandPriority string + +// List of CommandPriority +const ( + COMMANDPRIORITY_NORMAL CommandPriority = "normal" + COMMANDPRIORITY_HIGH CommandPriority = "high" + COMMANDPRIORITY_LOW CommandPriority = "low" +) + +// All allowed values of CommandPriority enum +var AllowedCommandPriorityEnumValues = []CommandPriority{ + "normal", + "high", + "low", +} + +func (v *CommandPriority) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CommandPriority(value) + for _, existing := range AllowedCommandPriorityEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CommandPriority", value) +} + +// NewCommandPriorityFromValue returns a pointer to a valid CommandPriority +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCommandPriorityFromValue(v string) (*CommandPriority, error) { + ev := CommandPriority(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CommandPriority: valid values are %v", v, AllowedCommandPriorityEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CommandPriority) IsValid() bool { + for _, existing := range AllowedCommandPriorityEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CommandPriority value +func (v CommandPriority) Ptr() *CommandPriority { + return &v +} + +type NullableCommandPriority struct { + value *CommandPriority + isSet bool +} + +func (v NullableCommandPriority) Get() *CommandPriority { + return v.value +} + +func (v *NullableCommandPriority) Set(val *CommandPriority) { + v.value = val + v.isSet = true +} + +func (v NullableCommandPriority) IsSet() bool { + return v.isSet +} + +func (v *NullableCommandPriority) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommandPriority(val *CommandPriority) *NullableCommandPriority { + return &NullableCommandPriority{value: val, isSet: true} +} + +func (v NullableCommandPriority) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommandPriority) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_command_resource.go b/lidarr/model_command_resource.go new file mode 100644 index 0000000..3a2a5b4 --- /dev/null +++ b/lidarr/model_command_resource.go @@ -0,0 +1,818 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// CommandResource struct for CommandResource +type CommandResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + CommandName NullableString `json:"commandName,omitempty"` + Message NullableString `json:"message,omitempty"` + Body *Command `json:"body,omitempty"` + Priority *CommandPriority `json:"priority,omitempty"` + Status *CommandStatus `json:"status,omitempty"` + Queued *time.Time `json:"queued,omitempty"` + Started NullableTime `json:"started,omitempty"` + Ended NullableTime `json:"ended,omitempty"` + Duration *TimeSpan `json:"duration,omitempty"` + Exception NullableString `json:"exception,omitempty"` + Trigger *CommandTrigger `json:"trigger,omitempty"` + ClientUserAgent NullableString `json:"clientUserAgent,omitempty"` + StateChangeTime NullableTime `json:"stateChangeTime,omitempty"` + SendUpdatesToClient *bool `json:"sendUpdatesToClient,omitempty"` + UpdateScheduledTask *bool `json:"updateScheduledTask,omitempty"` + LastExecutionTime NullableTime `json:"lastExecutionTime,omitempty"` +} + +// NewCommandResource instantiates a new CommandResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCommandResource() *CommandResource { + this := CommandResource{} + return &this +} + +// NewCommandResourceWithDefaults instantiates a new CommandResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommandResourceWithDefaults() *CommandResource { + this := CommandResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *CommandResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CommandResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *CommandResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *CommandResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *CommandResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *CommandResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *CommandResource) UnsetName() { + o.Name.Unset() +} + +// GetCommandName returns the CommandName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetCommandName() string { + if o == nil || isNil(o.CommandName.Get()) { + var ret string + return ret + } + return *o.CommandName.Get() +} + +// GetCommandNameOk returns a tuple with the CommandName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetCommandNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CommandName.Get(), o.CommandName.IsSet() +} + +// HasCommandName returns a boolean if a field has been set. +func (o *CommandResource) HasCommandName() bool { + if o != nil && o.CommandName.IsSet() { + return true + } + + return false +} + +// SetCommandName gets a reference to the given NullableString and assigns it to the CommandName field. +func (o *CommandResource) SetCommandName(v string) { + o.CommandName.Set(&v) +} +// SetCommandNameNil sets the value for CommandName to be an explicit nil +func (o *CommandResource) SetCommandNameNil() { + o.CommandName.Set(nil) +} + +// UnsetCommandName ensures that no value is present for CommandName, not even an explicit nil +func (o *CommandResource) UnsetCommandName() { + o.CommandName.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetMessage() string { + if o == nil || isNil(o.Message.Get()) { + var ret string + return ret + } + return *o.Message.Get() +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Message.Get(), o.Message.IsSet() +} + +// HasMessage returns a boolean if a field has been set. +func (o *CommandResource) HasMessage() bool { + if o != nil && o.Message.IsSet() { + return true + } + + return false +} + +// SetMessage gets a reference to the given NullableString and assigns it to the Message field. +func (o *CommandResource) SetMessage(v string) { + o.Message.Set(&v) +} +// SetMessageNil sets the value for Message to be an explicit nil +func (o *CommandResource) SetMessageNil() { + o.Message.Set(nil) +} + +// UnsetMessage ensures that no value is present for Message, not even an explicit nil +func (o *CommandResource) UnsetMessage() { + o.Message.Unset() +} + +// GetBody returns the Body field value if set, zero value otherwise. +func (o *CommandResource) GetBody() Command { + if o == nil || isNil(o.Body) { + var ret Command + return ret + } + return *o.Body +} + +// GetBodyOk returns a tuple with the Body field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetBodyOk() (*Command, bool) { + if o == nil || isNil(o.Body) { + return nil, false + } + return o.Body, true +} + +// HasBody returns a boolean if a field has been set. +func (o *CommandResource) HasBody() bool { + if o != nil && !isNil(o.Body) { + return true + } + + return false +} + +// SetBody gets a reference to the given Command and assigns it to the Body field. +func (o *CommandResource) SetBody(v Command) { + o.Body = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *CommandResource) GetPriority() CommandPriority { + if o == nil || isNil(o.Priority) { + var ret CommandPriority + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetPriorityOk() (*CommandPriority, bool) { + if o == nil || isNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *CommandResource) HasPriority() bool { + if o != nil && !isNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given CommandPriority and assigns it to the Priority field. +func (o *CommandResource) SetPriority(v CommandPriority) { + o.Priority = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CommandResource) GetStatus() CommandStatus { + if o == nil || isNil(o.Status) { + var ret CommandStatus + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetStatusOk() (*CommandStatus, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CommandResource) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given CommandStatus and assigns it to the Status field. +func (o *CommandResource) SetStatus(v CommandStatus) { + o.Status = &v +} + +// GetQueued returns the Queued field value if set, zero value otherwise. +func (o *CommandResource) GetQueued() time.Time { + if o == nil || isNil(o.Queued) { + var ret time.Time + return ret + } + return *o.Queued +} + +// GetQueuedOk returns a tuple with the Queued field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetQueuedOk() (*time.Time, bool) { + if o == nil || isNil(o.Queued) { + return nil, false + } + return o.Queued, true +} + +// HasQueued returns a boolean if a field has been set. +func (o *CommandResource) HasQueued() bool { + if o != nil && !isNil(o.Queued) { + return true + } + + return false +} + +// SetQueued gets a reference to the given time.Time and assigns it to the Queued field. +func (o *CommandResource) SetQueued(v time.Time) { + o.Queued = &v +} + +// GetStarted returns the Started field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetStarted() time.Time { + if o == nil || isNil(o.Started.Get()) { + var ret time.Time + return ret + } + return *o.Started.Get() +} + +// GetStartedOk returns a tuple with the Started field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetStartedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Started.Get(), o.Started.IsSet() +} + +// HasStarted returns a boolean if a field has been set. +func (o *CommandResource) HasStarted() bool { + if o != nil && o.Started.IsSet() { + return true + } + + return false +} + +// SetStarted gets a reference to the given NullableTime and assigns it to the Started field. +func (o *CommandResource) SetStarted(v time.Time) { + o.Started.Set(&v) +} +// SetStartedNil sets the value for Started to be an explicit nil +func (o *CommandResource) SetStartedNil() { + o.Started.Set(nil) +} + +// UnsetStarted ensures that no value is present for Started, not even an explicit nil +func (o *CommandResource) UnsetStarted() { + o.Started.Unset() +} + +// GetEnded returns the Ended field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetEnded() time.Time { + if o == nil || isNil(o.Ended.Get()) { + var ret time.Time + return ret + } + return *o.Ended.Get() +} + +// GetEndedOk returns a tuple with the Ended field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetEndedOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.Ended.Get(), o.Ended.IsSet() +} + +// HasEnded returns a boolean if a field has been set. +func (o *CommandResource) HasEnded() bool { + if o != nil && o.Ended.IsSet() { + return true + } + + return false +} + +// SetEnded gets a reference to the given NullableTime and assigns it to the Ended field. +func (o *CommandResource) SetEnded(v time.Time) { + o.Ended.Set(&v) +} +// SetEndedNil sets the value for Ended to be an explicit nil +func (o *CommandResource) SetEndedNil() { + o.Ended.Set(nil) +} + +// UnsetEnded ensures that no value is present for Ended, not even an explicit nil +func (o *CommandResource) UnsetEnded() { + o.Ended.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *CommandResource) GetDuration() TimeSpan { + if o == nil || isNil(o.Duration) { + var ret TimeSpan + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetDurationOk() (*TimeSpan, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *CommandResource) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given TimeSpan and assigns it to the Duration field. +func (o *CommandResource) SetDuration(v TimeSpan) { + o.Duration = &v +} + +// GetException returns the Exception field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetException() string { + if o == nil || isNil(o.Exception.Get()) { + var ret string + return ret + } + return *o.Exception.Get() +} + +// GetExceptionOk returns a tuple with the Exception field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetExceptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Exception.Get(), o.Exception.IsSet() +} + +// HasException returns a boolean if a field has been set. +func (o *CommandResource) HasException() bool { + if o != nil && o.Exception.IsSet() { + return true + } + + return false +} + +// SetException gets a reference to the given NullableString and assigns it to the Exception field. +func (o *CommandResource) SetException(v string) { + o.Exception.Set(&v) +} +// SetExceptionNil sets the value for Exception to be an explicit nil +func (o *CommandResource) SetExceptionNil() { + o.Exception.Set(nil) +} + +// UnsetException ensures that no value is present for Exception, not even an explicit nil +func (o *CommandResource) UnsetException() { + o.Exception.Unset() +} + +// GetTrigger returns the Trigger field value if set, zero value otherwise. +func (o *CommandResource) GetTrigger() CommandTrigger { + if o == nil || isNil(o.Trigger) { + var ret CommandTrigger + return ret + } + return *o.Trigger +} + +// GetTriggerOk returns a tuple with the Trigger field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetTriggerOk() (*CommandTrigger, bool) { + if o == nil || isNil(o.Trigger) { + return nil, false + } + return o.Trigger, true +} + +// HasTrigger returns a boolean if a field has been set. +func (o *CommandResource) HasTrigger() bool { + if o != nil && !isNil(o.Trigger) { + return true + } + + return false +} + +// SetTrigger gets a reference to the given CommandTrigger and assigns it to the Trigger field. +func (o *CommandResource) SetTrigger(v CommandTrigger) { + o.Trigger = &v +} + +// GetClientUserAgent returns the ClientUserAgent field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetClientUserAgent() string { + if o == nil || isNil(o.ClientUserAgent.Get()) { + var ret string + return ret + } + return *o.ClientUserAgent.Get() +} + +// GetClientUserAgentOk returns a tuple with the ClientUserAgent field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetClientUserAgentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ClientUserAgent.Get(), o.ClientUserAgent.IsSet() +} + +// HasClientUserAgent returns a boolean if a field has been set. +func (o *CommandResource) HasClientUserAgent() bool { + if o != nil && o.ClientUserAgent.IsSet() { + return true + } + + return false +} + +// SetClientUserAgent gets a reference to the given NullableString and assigns it to the ClientUserAgent field. +func (o *CommandResource) SetClientUserAgent(v string) { + o.ClientUserAgent.Set(&v) +} +// SetClientUserAgentNil sets the value for ClientUserAgent to be an explicit nil +func (o *CommandResource) SetClientUserAgentNil() { + o.ClientUserAgent.Set(nil) +} + +// UnsetClientUserAgent ensures that no value is present for ClientUserAgent, not even an explicit nil +func (o *CommandResource) UnsetClientUserAgent() { + o.ClientUserAgent.Unset() +} + +// GetStateChangeTime returns the StateChangeTime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetStateChangeTime() time.Time { + if o == nil || isNil(o.StateChangeTime.Get()) { + var ret time.Time + return ret + } + return *o.StateChangeTime.Get() +} + +// GetStateChangeTimeOk returns a tuple with the StateChangeTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetStateChangeTimeOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.StateChangeTime.Get(), o.StateChangeTime.IsSet() +} + +// HasStateChangeTime returns a boolean if a field has been set. +func (o *CommandResource) HasStateChangeTime() bool { + if o != nil && o.StateChangeTime.IsSet() { + return true + } + + return false +} + +// SetStateChangeTime gets a reference to the given NullableTime and assigns it to the StateChangeTime field. +func (o *CommandResource) SetStateChangeTime(v time.Time) { + o.StateChangeTime.Set(&v) +} +// SetStateChangeTimeNil sets the value for StateChangeTime to be an explicit nil +func (o *CommandResource) SetStateChangeTimeNil() { + o.StateChangeTime.Set(nil) +} + +// UnsetStateChangeTime ensures that no value is present for StateChangeTime, not even an explicit nil +func (o *CommandResource) UnsetStateChangeTime() { + o.StateChangeTime.Unset() +} + +// GetSendUpdatesToClient returns the SendUpdatesToClient field value if set, zero value otherwise. +func (o *CommandResource) GetSendUpdatesToClient() bool { + if o == nil || isNil(o.SendUpdatesToClient) { + var ret bool + return ret + } + return *o.SendUpdatesToClient +} + +// GetSendUpdatesToClientOk returns a tuple with the SendUpdatesToClient field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetSendUpdatesToClientOk() (*bool, bool) { + if o == nil || isNil(o.SendUpdatesToClient) { + return nil, false + } + return o.SendUpdatesToClient, true +} + +// HasSendUpdatesToClient returns a boolean if a field has been set. +func (o *CommandResource) HasSendUpdatesToClient() bool { + if o != nil && !isNil(o.SendUpdatesToClient) { + return true + } + + return false +} + +// SetSendUpdatesToClient gets a reference to the given bool and assigns it to the SendUpdatesToClient field. +func (o *CommandResource) SetSendUpdatesToClient(v bool) { + o.SendUpdatesToClient = &v +} + +// GetUpdateScheduledTask returns the UpdateScheduledTask field value if set, zero value otherwise. +func (o *CommandResource) GetUpdateScheduledTask() bool { + if o == nil || isNil(o.UpdateScheduledTask) { + var ret bool + return ret + } + return *o.UpdateScheduledTask +} + +// GetUpdateScheduledTaskOk returns a tuple with the UpdateScheduledTask field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommandResource) GetUpdateScheduledTaskOk() (*bool, bool) { + if o == nil || isNil(o.UpdateScheduledTask) { + return nil, false + } + return o.UpdateScheduledTask, true +} + +// HasUpdateScheduledTask returns a boolean if a field has been set. +func (o *CommandResource) HasUpdateScheduledTask() bool { + if o != nil && !isNil(o.UpdateScheduledTask) { + return true + } + + return false +} + +// SetUpdateScheduledTask gets a reference to the given bool and assigns it to the UpdateScheduledTask field. +func (o *CommandResource) SetUpdateScheduledTask(v bool) { + o.UpdateScheduledTask = &v +} + +// GetLastExecutionTime returns the LastExecutionTime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CommandResource) GetLastExecutionTime() time.Time { + if o == nil || isNil(o.LastExecutionTime.Get()) { + var ret time.Time + return ret + } + return *o.LastExecutionTime.Get() +} + +// GetLastExecutionTimeOk returns a tuple with the LastExecutionTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CommandResource) GetLastExecutionTimeOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastExecutionTime.Get(), o.LastExecutionTime.IsSet() +} + +// HasLastExecutionTime returns a boolean if a field has been set. +func (o *CommandResource) HasLastExecutionTime() bool { + if o != nil && o.LastExecutionTime.IsSet() { + return true + } + + return false +} + +// SetLastExecutionTime gets a reference to the given NullableTime and assigns it to the LastExecutionTime field. +func (o *CommandResource) SetLastExecutionTime(v time.Time) { + o.LastExecutionTime.Set(&v) +} +// SetLastExecutionTimeNil sets the value for LastExecutionTime to be an explicit nil +func (o *CommandResource) SetLastExecutionTimeNil() { + o.LastExecutionTime.Set(nil) +} + +// UnsetLastExecutionTime ensures that no value is present for LastExecutionTime, not even an explicit nil +func (o *CommandResource) UnsetLastExecutionTime() { + o.LastExecutionTime.Unset() +} + +func (o CommandResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.CommandName.IsSet() { + toSerialize["commandName"] = o.CommandName.Get() + } + if o.Message.IsSet() { + toSerialize["message"] = o.Message.Get() + } + if !isNil(o.Body) { + toSerialize["body"] = o.Body + } + if !isNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.Queued) { + toSerialize["queued"] = o.Queued + } + if o.Started.IsSet() { + toSerialize["started"] = o.Started.Get() + } + if o.Ended.IsSet() { + toSerialize["ended"] = o.Ended.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if o.Exception.IsSet() { + toSerialize["exception"] = o.Exception.Get() + } + if !isNil(o.Trigger) { + toSerialize["trigger"] = o.Trigger + } + if o.ClientUserAgent.IsSet() { + toSerialize["clientUserAgent"] = o.ClientUserAgent.Get() + } + if o.StateChangeTime.IsSet() { + toSerialize["stateChangeTime"] = o.StateChangeTime.Get() + } + if !isNil(o.SendUpdatesToClient) { + toSerialize["sendUpdatesToClient"] = o.SendUpdatesToClient + } + if !isNil(o.UpdateScheduledTask) { + toSerialize["updateScheduledTask"] = o.UpdateScheduledTask + } + if o.LastExecutionTime.IsSet() { + toSerialize["lastExecutionTime"] = o.LastExecutionTime.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCommandResource struct { + value *CommandResource + isSet bool +} + +func (v NullableCommandResource) Get() *CommandResource { + return v.value +} + +func (v *NullableCommandResource) Set(val *CommandResource) { + v.value = val + v.isSet = true +} + +func (v NullableCommandResource) IsSet() bool { + return v.isSet +} + +func (v *NullableCommandResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommandResource(val *CommandResource) *NullableCommandResource { + return &NullableCommandResource{value: val, isSet: true} +} + +func (v NullableCommandResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommandResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_command_status.go b/lidarr/model_command_status.go new file mode 100644 index 0000000..aba8eca --- /dev/null +++ b/lidarr/model_command_status.go @@ -0,0 +1,121 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// CommandStatus the model 'CommandStatus' +type CommandStatus string + +// List of CommandStatus +const ( + COMMANDSTATUS_QUEUED CommandStatus = "queued" + COMMANDSTATUS_STARTED CommandStatus = "started" + COMMANDSTATUS_COMPLETED CommandStatus = "completed" + COMMANDSTATUS_FAILED CommandStatus = "failed" + COMMANDSTATUS_ABORTED CommandStatus = "aborted" + COMMANDSTATUS_CANCELLED CommandStatus = "cancelled" + COMMANDSTATUS_ORPHANED CommandStatus = "orphaned" +) + +// All allowed values of CommandStatus enum +var AllowedCommandStatusEnumValues = []CommandStatus{ + "queued", + "started", + "completed", + "failed", + "aborted", + "cancelled", + "orphaned", +} + +func (v *CommandStatus) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CommandStatus(value) + for _, existing := range AllowedCommandStatusEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CommandStatus", value) +} + +// NewCommandStatusFromValue returns a pointer to a valid CommandStatus +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCommandStatusFromValue(v string) (*CommandStatus, error) { + ev := CommandStatus(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CommandStatus: valid values are %v", v, AllowedCommandStatusEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CommandStatus) IsValid() bool { + for _, existing := range AllowedCommandStatusEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CommandStatus value +func (v CommandStatus) Ptr() *CommandStatus { + return &v +} + +type NullableCommandStatus struct { + value *CommandStatus + isSet bool +} + +func (v NullableCommandStatus) Get() *CommandStatus { + return v.value +} + +func (v *NullableCommandStatus) Set(val *CommandStatus) { + v.value = val + v.isSet = true +} + +func (v NullableCommandStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableCommandStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommandStatus(val *CommandStatus) *NullableCommandStatus { + return &NullableCommandStatus{value: val, isSet: true} +} + +func (v NullableCommandStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommandStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_command_trigger.go b/lidarr/model_command_trigger.go new file mode 100644 index 0000000..cce4acd --- /dev/null +++ b/lidarr/model_command_trigger.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// CommandTrigger the model 'CommandTrigger' +type CommandTrigger string + +// List of CommandTrigger +const ( + COMMANDTRIGGER_UNSPECIFIED CommandTrigger = "unspecified" + COMMANDTRIGGER_MANUAL CommandTrigger = "manual" + COMMANDTRIGGER_SCHEDULED CommandTrigger = "scheduled" +) + +// All allowed values of CommandTrigger enum +var AllowedCommandTriggerEnumValues = []CommandTrigger{ + "unspecified", + "manual", + "scheduled", +} + +func (v *CommandTrigger) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := CommandTrigger(value) + for _, existing := range AllowedCommandTriggerEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid CommandTrigger", value) +} + +// NewCommandTriggerFromValue returns a pointer to a valid CommandTrigger +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewCommandTriggerFromValue(v string) (*CommandTrigger, error) { + ev := CommandTrigger(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for CommandTrigger: valid values are %v", v, AllowedCommandTriggerEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v CommandTrigger) IsValid() bool { + for _, existing := range AllowedCommandTriggerEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to CommandTrigger value +func (v CommandTrigger) Ptr() *CommandTrigger { + return &v +} + +type NullableCommandTrigger struct { + value *CommandTrigger + isSet bool +} + +func (v NullableCommandTrigger) Get() *CommandTrigger { + return v.value +} + +func (v *NullableCommandTrigger) Set(val *CommandTrigger) { + v.value = val + v.isSet = true +} + +func (v NullableCommandTrigger) IsSet() bool { + return v.isSet +} + +func (v *NullableCommandTrigger) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommandTrigger(val *CommandTrigger) *NullableCommandTrigger { + return &NullableCommandTrigger{value: val, isSet: true} +} + +func (v NullableCommandTrigger) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommandTrigger) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_custom_filter_resource.go b/lidarr/model_custom_filter_resource.go new file mode 100644 index 0000000..0ed1119 --- /dev/null +++ b/lidarr/model_custom_filter_resource.go @@ -0,0 +1,244 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// CustomFilterResource struct for CustomFilterResource +type CustomFilterResource struct { + Id *int32 `json:"id,omitempty"` + Type NullableString `json:"type,omitempty"` + Label NullableString `json:"label,omitempty"` + Filters []*map[string]interface{} `json:"filters,omitempty"` +} + +// NewCustomFilterResource instantiates a new CustomFilterResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCustomFilterResource() *CustomFilterResource { + this := CustomFilterResource{} + return &this +} + +// NewCustomFilterResourceWithDefaults instantiates a new CustomFilterResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCustomFilterResourceWithDefaults() *CustomFilterResource { + this := CustomFilterResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *CustomFilterResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CustomFilterResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CustomFilterResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *CustomFilterResource) SetId(v int32) { + o.Id = &v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CustomFilterResource) GetType() string { + if o == nil || isNil(o.Type.Get()) { + var ret string + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CustomFilterResource) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *CustomFilterResource) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullableString and assigns it to the Type field. +func (o *CustomFilterResource) SetType(v string) { + o.Type.Set(&v) +} +// SetTypeNil sets the value for Type to be an explicit nil +func (o *CustomFilterResource) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *CustomFilterResource) UnsetType() { + o.Type.Unset() +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CustomFilterResource) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CustomFilterResource) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *CustomFilterResource) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *CustomFilterResource) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *CustomFilterResource) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *CustomFilterResource) UnsetLabel() { + o.Label.Unset() +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CustomFilterResource) GetFilters() []*map[string]interface{} { + if o == nil { + var ret []*map[string]interface{} + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CustomFilterResource) GetFiltersOk() ([]*map[string]interface{}, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *CustomFilterResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []map[string]interface{} and assigns it to the Filters field. +func (o *CustomFilterResource) SetFilters(v []*map[string]interface{}) { + o.Filters = v +} + +func (o CustomFilterResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + return json.Marshal(toSerialize) +} + +type NullableCustomFilterResource struct { + value *CustomFilterResource + isSet bool +} + +func (v NullableCustomFilterResource) Get() *CustomFilterResource { + return v.value +} + +func (v *NullableCustomFilterResource) Set(val *CustomFilterResource) { + v.value = val + v.isSet = true +} + +func (v NullableCustomFilterResource) IsSet() bool { + return v.isSet +} + +func (v *NullableCustomFilterResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCustomFilterResource(val *CustomFilterResource) *NullableCustomFilterResource { + return &NullableCustomFilterResource{value: val, isSet: true} +} + +func (v NullableCustomFilterResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCustomFilterResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_delay_profile_resource.go b/lidarr/model_delay_profile_resource.go new file mode 100644 index 0000000..348f3c2 --- /dev/null +++ b/lidarr/model_delay_profile_resource.go @@ -0,0 +1,368 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// DelayProfileResource struct for DelayProfileResource +type DelayProfileResource struct { + Id *int32 `json:"id,omitempty"` + EnableUsenet *bool `json:"enableUsenet,omitempty"` + EnableTorrent *bool `json:"enableTorrent,omitempty"` + PreferredProtocol *DownloadProtocol `json:"preferredProtocol,omitempty"` + UsenetDelay *int32 `json:"usenetDelay,omitempty"` + TorrentDelay *int32 `json:"torrentDelay,omitempty"` + Order *int32 `json:"order,omitempty"` + Tags []*int32 `json:"tags,omitempty"` +} + +// NewDelayProfileResource instantiates a new DelayProfileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDelayProfileResource() *DelayProfileResource { + this := DelayProfileResource{} + return &this +} + +// NewDelayProfileResourceWithDefaults instantiates a new DelayProfileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDelayProfileResourceWithDefaults() *DelayProfileResource { + this := DelayProfileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *DelayProfileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DelayProfileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *DelayProfileResource) SetId(v int32) { + o.Id = &v +} + +// GetEnableUsenet returns the EnableUsenet field value if set, zero value otherwise. +func (o *DelayProfileResource) GetEnableUsenet() bool { + if o == nil || isNil(o.EnableUsenet) { + var ret bool + return ret + } + return *o.EnableUsenet +} + +// GetEnableUsenetOk returns a tuple with the EnableUsenet field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetEnableUsenetOk() (*bool, bool) { + if o == nil || isNil(o.EnableUsenet) { + return nil, false + } + return o.EnableUsenet, true +} + +// HasEnableUsenet returns a boolean if a field has been set. +func (o *DelayProfileResource) HasEnableUsenet() bool { + if o != nil && !isNil(o.EnableUsenet) { + return true + } + + return false +} + +// SetEnableUsenet gets a reference to the given bool and assigns it to the EnableUsenet field. +func (o *DelayProfileResource) SetEnableUsenet(v bool) { + o.EnableUsenet = &v +} + +// GetEnableTorrent returns the EnableTorrent field value if set, zero value otherwise. +func (o *DelayProfileResource) GetEnableTorrent() bool { + if o == nil || isNil(o.EnableTorrent) { + var ret bool + return ret + } + return *o.EnableTorrent +} + +// GetEnableTorrentOk returns a tuple with the EnableTorrent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetEnableTorrentOk() (*bool, bool) { + if o == nil || isNil(o.EnableTorrent) { + return nil, false + } + return o.EnableTorrent, true +} + +// HasEnableTorrent returns a boolean if a field has been set. +func (o *DelayProfileResource) HasEnableTorrent() bool { + if o != nil && !isNil(o.EnableTorrent) { + return true + } + + return false +} + +// SetEnableTorrent gets a reference to the given bool and assigns it to the EnableTorrent field. +func (o *DelayProfileResource) SetEnableTorrent(v bool) { + o.EnableTorrent = &v +} + +// GetPreferredProtocol returns the PreferredProtocol field value if set, zero value otherwise. +func (o *DelayProfileResource) GetPreferredProtocol() DownloadProtocol { + if o == nil || isNil(o.PreferredProtocol) { + var ret DownloadProtocol + return ret + } + return *o.PreferredProtocol +} + +// GetPreferredProtocolOk returns a tuple with the PreferredProtocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetPreferredProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.PreferredProtocol) { + return nil, false + } + return o.PreferredProtocol, true +} + +// HasPreferredProtocol returns a boolean if a field has been set. +func (o *DelayProfileResource) HasPreferredProtocol() bool { + if o != nil && !isNil(o.PreferredProtocol) { + return true + } + + return false +} + +// SetPreferredProtocol gets a reference to the given DownloadProtocol and assigns it to the PreferredProtocol field. +func (o *DelayProfileResource) SetPreferredProtocol(v DownloadProtocol) { + o.PreferredProtocol = &v +} + +// GetUsenetDelay returns the UsenetDelay field value if set, zero value otherwise. +func (o *DelayProfileResource) GetUsenetDelay() int32 { + if o == nil || isNil(o.UsenetDelay) { + var ret int32 + return ret + } + return *o.UsenetDelay +} + +// GetUsenetDelayOk returns a tuple with the UsenetDelay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetUsenetDelayOk() (*int32, bool) { + if o == nil || isNil(o.UsenetDelay) { + return nil, false + } + return o.UsenetDelay, true +} + +// HasUsenetDelay returns a boolean if a field has been set. +func (o *DelayProfileResource) HasUsenetDelay() bool { + if o != nil && !isNil(o.UsenetDelay) { + return true + } + + return false +} + +// SetUsenetDelay gets a reference to the given int32 and assigns it to the UsenetDelay field. +func (o *DelayProfileResource) SetUsenetDelay(v int32) { + o.UsenetDelay = &v +} + +// GetTorrentDelay returns the TorrentDelay field value if set, zero value otherwise. +func (o *DelayProfileResource) GetTorrentDelay() int32 { + if o == nil || isNil(o.TorrentDelay) { + var ret int32 + return ret + } + return *o.TorrentDelay +} + +// GetTorrentDelayOk returns a tuple with the TorrentDelay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetTorrentDelayOk() (*int32, bool) { + if o == nil || isNil(o.TorrentDelay) { + return nil, false + } + return o.TorrentDelay, true +} + +// HasTorrentDelay returns a boolean if a field has been set. +func (o *DelayProfileResource) HasTorrentDelay() bool { + if o != nil && !isNil(o.TorrentDelay) { + return true + } + + return false +} + +// SetTorrentDelay gets a reference to the given int32 and assigns it to the TorrentDelay field. +func (o *DelayProfileResource) SetTorrentDelay(v int32) { + o.TorrentDelay = &v +} + +// GetOrder returns the Order field value if set, zero value otherwise. +func (o *DelayProfileResource) GetOrder() int32 { + if o == nil || isNil(o.Order) { + var ret int32 + return ret + } + return *o.Order +} + +// GetOrderOk returns a tuple with the Order field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DelayProfileResource) GetOrderOk() (*int32, bool) { + if o == nil || isNil(o.Order) { + return nil, false + } + return o.Order, true +} + +// HasOrder returns a boolean if a field has been set. +func (o *DelayProfileResource) HasOrder() bool { + if o != nil && !isNil(o.Order) { + return true + } + + return false +} + +// SetOrder gets a reference to the given int32 and assigns it to the Order field. +func (o *DelayProfileResource) SetOrder(v int32) { + o.Order = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DelayProfileResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DelayProfileResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *DelayProfileResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *DelayProfileResource) SetTags(v []*int32) { + o.Tags = v +} + +func (o DelayProfileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.EnableUsenet) { + toSerialize["enableUsenet"] = o.EnableUsenet + } + if !isNil(o.EnableTorrent) { + toSerialize["enableTorrent"] = o.EnableTorrent + } + if !isNil(o.PreferredProtocol) { + toSerialize["preferredProtocol"] = o.PreferredProtocol + } + if !isNil(o.UsenetDelay) { + toSerialize["usenetDelay"] = o.UsenetDelay + } + if !isNil(o.TorrentDelay) { + toSerialize["torrentDelay"] = o.TorrentDelay + } + if !isNil(o.Order) { + toSerialize["order"] = o.Order + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + return json.Marshal(toSerialize) +} + +type NullableDelayProfileResource struct { + value *DelayProfileResource + isSet bool +} + +func (v NullableDelayProfileResource) Get() *DelayProfileResource { + return v.value +} + +func (v *NullableDelayProfileResource) Set(val *DelayProfileResource) { + v.value = val + v.isSet = true +} + +func (v NullableDelayProfileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableDelayProfileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDelayProfileResource(val *DelayProfileResource) *NullableDelayProfileResource { + return &NullableDelayProfileResource{value: val, isSet: true} +} + +func (v NullableDelayProfileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDelayProfileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_disk_space_resource.go b/lidarr/model_disk_space_resource.go new file mode 100644 index 0000000..881c8be --- /dev/null +++ b/lidarr/model_disk_space_resource.go @@ -0,0 +1,279 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// DiskSpaceResource struct for DiskSpaceResource +type DiskSpaceResource struct { + Id *int32 `json:"id,omitempty"` + Path NullableString `json:"path,omitempty"` + Label NullableString `json:"label,omitempty"` + FreeSpace *int64 `json:"freeSpace,omitempty"` + TotalSpace *int64 `json:"totalSpace,omitempty"` +} + +// NewDiskSpaceResource instantiates a new DiskSpaceResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDiskSpaceResource() *DiskSpaceResource { + this := DiskSpaceResource{} + return &this +} + +// NewDiskSpaceResourceWithDefaults instantiates a new DiskSpaceResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDiskSpaceResourceWithDefaults() *DiskSpaceResource { + this := DiskSpaceResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *DiskSpaceResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiskSpaceResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DiskSpaceResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *DiskSpaceResource) SetId(v int32) { + o.Id = &v +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DiskSpaceResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DiskSpaceResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *DiskSpaceResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *DiskSpaceResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *DiskSpaceResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *DiskSpaceResource) UnsetPath() { + o.Path.Unset() +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DiskSpaceResource) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DiskSpaceResource) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *DiskSpaceResource) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *DiskSpaceResource) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *DiskSpaceResource) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *DiskSpaceResource) UnsetLabel() { + o.Label.Unset() +} + +// GetFreeSpace returns the FreeSpace field value if set, zero value otherwise. +func (o *DiskSpaceResource) GetFreeSpace() int64 { + if o == nil || isNil(o.FreeSpace) { + var ret int64 + return ret + } + return *o.FreeSpace +} + +// GetFreeSpaceOk returns a tuple with the FreeSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiskSpaceResource) GetFreeSpaceOk() (*int64, bool) { + if o == nil || isNil(o.FreeSpace) { + return nil, false + } + return o.FreeSpace, true +} + +// HasFreeSpace returns a boolean if a field has been set. +func (o *DiskSpaceResource) HasFreeSpace() bool { + if o != nil && !isNil(o.FreeSpace) { + return true + } + + return false +} + +// SetFreeSpace gets a reference to the given int64 and assigns it to the FreeSpace field. +func (o *DiskSpaceResource) SetFreeSpace(v int64) { + o.FreeSpace = &v +} + +// GetTotalSpace returns the TotalSpace field value if set, zero value otherwise. +func (o *DiskSpaceResource) GetTotalSpace() int64 { + if o == nil || isNil(o.TotalSpace) { + var ret int64 + return ret + } + return *o.TotalSpace +} + +// GetTotalSpaceOk returns a tuple with the TotalSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiskSpaceResource) GetTotalSpaceOk() (*int64, bool) { + if o == nil || isNil(o.TotalSpace) { + return nil, false + } + return o.TotalSpace, true +} + +// HasTotalSpace returns a boolean if a field has been set. +func (o *DiskSpaceResource) HasTotalSpace() bool { + if o != nil && !isNil(o.TotalSpace) { + return true + } + + return false +} + +// SetTotalSpace gets a reference to the given int64 and assigns it to the TotalSpace field. +func (o *DiskSpaceResource) SetTotalSpace(v int64) { + o.TotalSpace = &v +} + +func (o DiskSpaceResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + if !isNil(o.FreeSpace) { + toSerialize["freeSpace"] = o.FreeSpace + } + if !isNil(o.TotalSpace) { + toSerialize["totalSpace"] = o.TotalSpace + } + return json.Marshal(toSerialize) +} + +type NullableDiskSpaceResource struct { + value *DiskSpaceResource + isSet bool +} + +func (v NullableDiskSpaceResource) Get() *DiskSpaceResource { + return v.value +} + +func (v *NullableDiskSpaceResource) Set(val *DiskSpaceResource) { + v.value = val + v.isSet = true +} + +func (v NullableDiskSpaceResource) IsSet() bool { + return v.isSet +} + +func (v *NullableDiskSpaceResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDiskSpaceResource(val *DiskSpaceResource) *NullableDiskSpaceResource { + return &NullableDiskSpaceResource{value: val, isSet: true} +} + +func (v NullableDiskSpaceResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDiskSpaceResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_download_client_config_resource.go b/lidarr/model_download_client_config_resource.go new file mode 100644 index 0000000..902c946 --- /dev/null +++ b/lidarr/model_download_client_config_resource.go @@ -0,0 +1,233 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// DownloadClientConfigResource struct for DownloadClientConfigResource +type DownloadClientConfigResource struct { + Id *int32 `json:"id,omitempty"` + DownloadClientWorkingFolders NullableString `json:"downloadClientWorkingFolders,omitempty"` + EnableCompletedDownloadHandling *bool `json:"enableCompletedDownloadHandling,omitempty"` + AutoRedownloadFailed *bool `json:"autoRedownloadFailed,omitempty"` +} + +// NewDownloadClientConfigResource instantiates a new DownloadClientConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDownloadClientConfigResource() *DownloadClientConfigResource { + this := DownloadClientConfigResource{} + return &this +} + +// NewDownloadClientConfigResourceWithDefaults instantiates a new DownloadClientConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDownloadClientConfigResourceWithDefaults() *DownloadClientConfigResource { + this := DownloadClientConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *DownloadClientConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DownloadClientConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *DownloadClientConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetDownloadClientWorkingFolders returns the DownloadClientWorkingFolders field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientConfigResource) GetDownloadClientWorkingFolders() string { + if o == nil || isNil(o.DownloadClientWorkingFolders.Get()) { + var ret string + return ret + } + return *o.DownloadClientWorkingFolders.Get() +} + +// GetDownloadClientWorkingFoldersOk returns a tuple with the DownloadClientWorkingFolders field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientConfigResource) GetDownloadClientWorkingFoldersOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadClientWorkingFolders.Get(), o.DownloadClientWorkingFolders.IsSet() +} + +// HasDownloadClientWorkingFolders returns a boolean if a field has been set. +func (o *DownloadClientConfigResource) HasDownloadClientWorkingFolders() bool { + if o != nil && o.DownloadClientWorkingFolders.IsSet() { + return true + } + + return false +} + +// SetDownloadClientWorkingFolders gets a reference to the given NullableString and assigns it to the DownloadClientWorkingFolders field. +func (o *DownloadClientConfigResource) SetDownloadClientWorkingFolders(v string) { + o.DownloadClientWorkingFolders.Set(&v) +} +// SetDownloadClientWorkingFoldersNil sets the value for DownloadClientWorkingFolders to be an explicit nil +func (o *DownloadClientConfigResource) SetDownloadClientWorkingFoldersNil() { + o.DownloadClientWorkingFolders.Set(nil) +} + +// UnsetDownloadClientWorkingFolders ensures that no value is present for DownloadClientWorkingFolders, not even an explicit nil +func (o *DownloadClientConfigResource) UnsetDownloadClientWorkingFolders() { + o.DownloadClientWorkingFolders.Unset() +} + +// GetEnableCompletedDownloadHandling returns the EnableCompletedDownloadHandling field value if set, zero value otherwise. +func (o *DownloadClientConfigResource) GetEnableCompletedDownloadHandling() bool { + if o == nil || isNil(o.EnableCompletedDownloadHandling) { + var ret bool + return ret + } + return *o.EnableCompletedDownloadHandling +} + +// GetEnableCompletedDownloadHandlingOk returns a tuple with the EnableCompletedDownloadHandling field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientConfigResource) GetEnableCompletedDownloadHandlingOk() (*bool, bool) { + if o == nil || isNil(o.EnableCompletedDownloadHandling) { + return nil, false + } + return o.EnableCompletedDownloadHandling, true +} + +// HasEnableCompletedDownloadHandling returns a boolean if a field has been set. +func (o *DownloadClientConfigResource) HasEnableCompletedDownloadHandling() bool { + if o != nil && !isNil(o.EnableCompletedDownloadHandling) { + return true + } + + return false +} + +// SetEnableCompletedDownloadHandling gets a reference to the given bool and assigns it to the EnableCompletedDownloadHandling field. +func (o *DownloadClientConfigResource) SetEnableCompletedDownloadHandling(v bool) { + o.EnableCompletedDownloadHandling = &v +} + +// GetAutoRedownloadFailed returns the AutoRedownloadFailed field value if set, zero value otherwise. +func (o *DownloadClientConfigResource) GetAutoRedownloadFailed() bool { + if o == nil || isNil(o.AutoRedownloadFailed) { + var ret bool + return ret + } + return *o.AutoRedownloadFailed +} + +// GetAutoRedownloadFailedOk returns a tuple with the AutoRedownloadFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientConfigResource) GetAutoRedownloadFailedOk() (*bool, bool) { + if o == nil || isNil(o.AutoRedownloadFailed) { + return nil, false + } + return o.AutoRedownloadFailed, true +} + +// HasAutoRedownloadFailed returns a boolean if a field has been set. +func (o *DownloadClientConfigResource) HasAutoRedownloadFailed() bool { + if o != nil && !isNil(o.AutoRedownloadFailed) { + return true + } + + return false +} + +// SetAutoRedownloadFailed gets a reference to the given bool and assigns it to the AutoRedownloadFailed field. +func (o *DownloadClientConfigResource) SetAutoRedownloadFailed(v bool) { + o.AutoRedownloadFailed = &v +} + +func (o DownloadClientConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.DownloadClientWorkingFolders.IsSet() { + toSerialize["downloadClientWorkingFolders"] = o.DownloadClientWorkingFolders.Get() + } + if !isNil(o.EnableCompletedDownloadHandling) { + toSerialize["enableCompletedDownloadHandling"] = o.EnableCompletedDownloadHandling + } + if !isNil(o.AutoRedownloadFailed) { + toSerialize["autoRedownloadFailed"] = o.AutoRedownloadFailed + } + return json.Marshal(toSerialize) +} + +type NullableDownloadClientConfigResource struct { + value *DownloadClientConfigResource + isSet bool +} + +func (v NullableDownloadClientConfigResource) Get() *DownloadClientConfigResource { + return v.value +} + +func (v *NullableDownloadClientConfigResource) Set(val *DownloadClientConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableDownloadClientConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableDownloadClientConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDownloadClientConfigResource(val *DownloadClientConfigResource) *NullableDownloadClientConfigResource { + return &NullableDownloadClientConfigResource{value: val, isSet: true} +} + +func (v NullableDownloadClientConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDownloadClientConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_download_client_resource.go b/lidarr/model_download_client_resource.go new file mode 100644 index 0000000..818eae0 --- /dev/null +++ b/lidarr/model_download_client_resource.go @@ -0,0 +1,672 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// DownloadClientResource struct for DownloadClientResource +type DownloadClientResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Fields []*Field `json:"fields,omitempty"` + ImplementationName NullableString `json:"implementationName,omitempty"` + Implementation NullableString `json:"implementation,omitempty"` + ConfigContract NullableString `json:"configContract,omitempty"` + InfoLink NullableString `json:"infoLink,omitempty"` + Message *ProviderMessage `json:"message,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Presets []*DownloadClientResource `json:"presets,omitempty"` + Enable *bool `json:"enable,omitempty"` + Protocol *DownloadProtocol `json:"protocol,omitempty"` + Priority *int32 `json:"priority,omitempty"` + RemoveCompletedDownloads *bool `json:"removeCompletedDownloads,omitempty"` + RemoveFailedDownloads *bool `json:"removeFailedDownloads,omitempty"` +} + +// NewDownloadClientResource instantiates a new DownloadClientResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewDownloadClientResource() *DownloadClientResource { + this := DownloadClientResource{} + return &this +} + +// NewDownloadClientResourceWithDefaults instantiates a new DownloadClientResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDownloadClientResourceWithDefaults() *DownloadClientResource { + this := DownloadClientResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *DownloadClientResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *DownloadClientResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *DownloadClientResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *DownloadClientResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *DownloadClientResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *DownloadClientResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *DownloadClientResource) UnsetName() { + o.Name.Unset() +} + +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetFields() []*Field { + if o == nil { + var ret []*Field + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetFieldsOk() ([]*Field, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *DownloadClientResource) HasFields() bool { + if o != nil && isNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given []Field and assigns it to the Fields field. +func (o *DownloadClientResource) SetFields(v []*Field) { + o.Fields = v +} + +// GetImplementationName returns the ImplementationName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetImplementationName() string { + if o == nil || isNil(o.ImplementationName.Get()) { + var ret string + return ret + } + return *o.ImplementationName.Get() +} + +// GetImplementationNameOk returns a tuple with the ImplementationName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetImplementationNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ImplementationName.Get(), o.ImplementationName.IsSet() +} + +// HasImplementationName returns a boolean if a field has been set. +func (o *DownloadClientResource) HasImplementationName() bool { + if o != nil && o.ImplementationName.IsSet() { + return true + } + + return false +} + +// SetImplementationName gets a reference to the given NullableString and assigns it to the ImplementationName field. +func (o *DownloadClientResource) SetImplementationName(v string) { + o.ImplementationName.Set(&v) +} +// SetImplementationNameNil sets the value for ImplementationName to be an explicit nil +func (o *DownloadClientResource) SetImplementationNameNil() { + o.ImplementationName.Set(nil) +} + +// UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +func (o *DownloadClientResource) UnsetImplementationName() { + o.ImplementationName.Unset() +} + +// GetImplementation returns the Implementation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetImplementation() string { + if o == nil || isNil(o.Implementation.Get()) { + var ret string + return ret + } + return *o.Implementation.Get() +} + +// GetImplementationOk returns a tuple with the Implementation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetImplementationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Implementation.Get(), o.Implementation.IsSet() +} + +// HasImplementation returns a boolean if a field has been set. +func (o *DownloadClientResource) HasImplementation() bool { + if o != nil && o.Implementation.IsSet() { + return true + } + + return false +} + +// SetImplementation gets a reference to the given NullableString and assigns it to the Implementation field. +func (o *DownloadClientResource) SetImplementation(v string) { + o.Implementation.Set(&v) +} +// SetImplementationNil sets the value for Implementation to be an explicit nil +func (o *DownloadClientResource) SetImplementationNil() { + o.Implementation.Set(nil) +} + +// UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +func (o *DownloadClientResource) UnsetImplementation() { + o.Implementation.Unset() +} + +// GetConfigContract returns the ConfigContract field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetConfigContract() string { + if o == nil || isNil(o.ConfigContract.Get()) { + var ret string + return ret + } + return *o.ConfigContract.Get() +} + +// GetConfigContractOk returns a tuple with the ConfigContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetConfigContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConfigContract.Get(), o.ConfigContract.IsSet() +} + +// HasConfigContract returns a boolean if a field has been set. +func (o *DownloadClientResource) HasConfigContract() bool { + if o != nil && o.ConfigContract.IsSet() { + return true + } + + return false +} + +// SetConfigContract gets a reference to the given NullableString and assigns it to the ConfigContract field. +func (o *DownloadClientResource) SetConfigContract(v string) { + o.ConfigContract.Set(&v) +} +// SetConfigContractNil sets the value for ConfigContract to be an explicit nil +func (o *DownloadClientResource) SetConfigContractNil() { + o.ConfigContract.Set(nil) +} + +// UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +func (o *DownloadClientResource) UnsetConfigContract() { + o.ConfigContract.Unset() +} + +// GetInfoLink returns the InfoLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetInfoLink() string { + if o == nil || isNil(o.InfoLink.Get()) { + var ret string + return ret + } + return *o.InfoLink.Get() +} + +// GetInfoLinkOk returns a tuple with the InfoLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetInfoLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoLink.Get(), o.InfoLink.IsSet() +} + +// HasInfoLink returns a boolean if a field has been set. +func (o *DownloadClientResource) HasInfoLink() bool { + if o != nil && o.InfoLink.IsSet() { + return true + } + + return false +} + +// SetInfoLink gets a reference to the given NullableString and assigns it to the InfoLink field. +func (o *DownloadClientResource) SetInfoLink(v string) { + o.InfoLink.Set(&v) +} +// SetInfoLinkNil sets the value for InfoLink to be an explicit nil +func (o *DownloadClientResource) SetInfoLinkNil() { + o.InfoLink.Set(nil) +} + +// UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +func (o *DownloadClientResource) UnsetInfoLink() { + o.InfoLink.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *DownloadClientResource) GetMessage() ProviderMessage { + if o == nil || isNil(o.Message) { + var ret ProviderMessage + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetMessageOk() (*ProviderMessage, bool) { + if o == nil || isNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *DownloadClientResource) HasMessage() bool { + if o != nil && !isNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ProviderMessage and assigns it to the Message field. +func (o *DownloadClientResource) SetMessage(v ProviderMessage) { + o.Message = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *DownloadClientResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *DownloadClientResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetPresets returns the Presets field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DownloadClientResource) GetPresets() []*DownloadClientResource { + if o == nil { + var ret []*DownloadClientResource + return ret + } + return o.Presets +} + +// GetPresetsOk returns a tuple with the Presets field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DownloadClientResource) GetPresetsOk() ([]*DownloadClientResource, bool) { + if o == nil || isNil(o.Presets) { + return nil, false + } + return o.Presets, true +} + +// HasPresets returns a boolean if a field has been set. +func (o *DownloadClientResource) HasPresets() bool { + if o != nil && isNil(o.Presets) { + return true + } + + return false +} + +// SetPresets gets a reference to the given []DownloadClientResource and assigns it to the Presets field. +func (o *DownloadClientResource) SetPresets(v []*DownloadClientResource) { + o.Presets = v +} + +// GetEnable returns the Enable field value if set, zero value otherwise. +func (o *DownloadClientResource) GetEnable() bool { + if o == nil || isNil(o.Enable) { + var ret bool + return ret + } + return *o.Enable +} + +// GetEnableOk returns a tuple with the Enable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetEnableOk() (*bool, bool) { + if o == nil || isNil(o.Enable) { + return nil, false + } + return o.Enable, true +} + +// HasEnable returns a boolean if a field has been set. +func (o *DownloadClientResource) HasEnable() bool { + if o != nil && !isNil(o.Enable) { + return true + } + + return false +} + +// SetEnable gets a reference to the given bool and assigns it to the Enable field. +func (o *DownloadClientResource) SetEnable(v bool) { + o.Enable = &v +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *DownloadClientResource) GetProtocol() DownloadProtocol { + if o == nil || isNil(o.Protocol) { + var ret DownloadProtocol + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *DownloadClientResource) HasProtocol() bool { + if o != nil && !isNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given DownloadProtocol and assigns it to the Protocol field. +func (o *DownloadClientResource) SetProtocol(v DownloadProtocol) { + o.Protocol = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *DownloadClientResource) GetPriority() int32 { + if o == nil || isNil(o.Priority) { + var ret int32 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetPriorityOk() (*int32, bool) { + if o == nil || isNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *DownloadClientResource) HasPriority() bool { + if o != nil && !isNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int32 and assigns it to the Priority field. +func (o *DownloadClientResource) SetPriority(v int32) { + o.Priority = &v +} + +// GetRemoveCompletedDownloads returns the RemoveCompletedDownloads field value if set, zero value otherwise. +func (o *DownloadClientResource) GetRemoveCompletedDownloads() bool { + if o == nil || isNil(o.RemoveCompletedDownloads) { + var ret bool + return ret + } + return *o.RemoveCompletedDownloads +} + +// GetRemoveCompletedDownloadsOk returns a tuple with the RemoveCompletedDownloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetRemoveCompletedDownloadsOk() (*bool, bool) { + if o == nil || isNil(o.RemoveCompletedDownloads) { + return nil, false + } + return o.RemoveCompletedDownloads, true +} + +// HasRemoveCompletedDownloads returns a boolean if a field has been set. +func (o *DownloadClientResource) HasRemoveCompletedDownloads() bool { + if o != nil && !isNil(o.RemoveCompletedDownloads) { + return true + } + + return false +} + +// SetRemoveCompletedDownloads gets a reference to the given bool and assigns it to the RemoveCompletedDownloads field. +func (o *DownloadClientResource) SetRemoveCompletedDownloads(v bool) { + o.RemoveCompletedDownloads = &v +} + +// GetRemoveFailedDownloads returns the RemoveFailedDownloads field value if set, zero value otherwise. +func (o *DownloadClientResource) GetRemoveFailedDownloads() bool { + if o == nil || isNil(o.RemoveFailedDownloads) { + var ret bool + return ret + } + return *o.RemoveFailedDownloads +} + +// GetRemoveFailedDownloadsOk returns a tuple with the RemoveFailedDownloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DownloadClientResource) GetRemoveFailedDownloadsOk() (*bool, bool) { + if o == nil || isNil(o.RemoveFailedDownloads) { + return nil, false + } + return o.RemoveFailedDownloads, true +} + +// HasRemoveFailedDownloads returns a boolean if a field has been set. +func (o *DownloadClientResource) HasRemoveFailedDownloads() bool { + if o != nil && !isNil(o.RemoveFailedDownloads) { + return true + } + + return false +} + +// SetRemoveFailedDownloads gets a reference to the given bool and assigns it to the RemoveFailedDownloads field. +func (o *DownloadClientResource) SetRemoveFailedDownloads(v bool) { + o.RemoveFailedDownloads = &v +} + +func (o DownloadClientResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.ImplementationName.IsSet() { + toSerialize["implementationName"] = o.ImplementationName.Get() + } + if o.Implementation.IsSet() { + toSerialize["implementation"] = o.Implementation.Get() + } + if o.ConfigContract.IsSet() { + toSerialize["configContract"] = o.ConfigContract.Get() + } + if o.InfoLink.IsSet() { + toSerialize["infoLink"] = o.InfoLink.Get() + } + if !isNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Presets != nil { + toSerialize["presets"] = o.Presets + } + if !isNil(o.Enable) { + toSerialize["enable"] = o.Enable + } + if !isNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + if !isNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !isNil(o.RemoveCompletedDownloads) { + toSerialize["removeCompletedDownloads"] = o.RemoveCompletedDownloads + } + if !isNil(o.RemoveFailedDownloads) { + toSerialize["removeFailedDownloads"] = o.RemoveFailedDownloads + } + return json.Marshal(toSerialize) +} + +type NullableDownloadClientResource struct { + value *DownloadClientResource + isSet bool +} + +func (v NullableDownloadClientResource) Get() *DownloadClientResource { + return v.value +} + +func (v *NullableDownloadClientResource) Set(val *DownloadClientResource) { + v.value = val + v.isSet = true +} + +func (v NullableDownloadClientResource) IsSet() bool { + return v.isSet +} + +func (v *NullableDownloadClientResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDownloadClientResource(val *DownloadClientResource) *NullableDownloadClientResource { + return &NullableDownloadClientResource{value: val, isSet: true} +} + +func (v NullableDownloadClientResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDownloadClientResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_download_protocol.go b/lidarr/model_download_protocol.go new file mode 100644 index 0000000..25dae1b --- /dev/null +++ b/lidarr/model_download_protocol.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// DownloadProtocol the model 'DownloadProtocol' +type DownloadProtocol string + +// List of DownloadProtocol +const ( + DOWNLOADPROTOCOL_UNKNOWN DownloadProtocol = "unknown" + DOWNLOADPROTOCOL_USENET DownloadProtocol = "usenet" + DOWNLOADPROTOCOL_TORRENT DownloadProtocol = "torrent" +) + +// All allowed values of DownloadProtocol enum +var AllowedDownloadProtocolEnumValues = []DownloadProtocol{ + "unknown", + "usenet", + "torrent", +} + +func (v *DownloadProtocol) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := DownloadProtocol(value) + for _, existing := range AllowedDownloadProtocolEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid DownloadProtocol", value) +} + +// NewDownloadProtocolFromValue returns a pointer to a valid DownloadProtocol +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewDownloadProtocolFromValue(v string) (*DownloadProtocol, error) { + ev := DownloadProtocol(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for DownloadProtocol: valid values are %v", v, AllowedDownloadProtocolEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v DownloadProtocol) IsValid() bool { + for _, existing := range AllowedDownloadProtocolEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to DownloadProtocol value +func (v DownloadProtocol) Ptr() *DownloadProtocol { + return &v +} + +type NullableDownloadProtocol struct { + value *DownloadProtocol + isSet bool +} + +func (v NullableDownloadProtocol) Get() *DownloadProtocol { + return v.value +} + +func (v *NullableDownloadProtocol) Set(val *DownloadProtocol) { + v.value = val + v.isSet = true +} + +func (v NullableDownloadProtocol) IsSet() bool { + return v.isSet +} + +func (v *NullableDownloadProtocol) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDownloadProtocol(val *DownloadProtocol) *NullableDownloadProtocol { + return &NullableDownloadProtocol{value: val, isSet: true} +} + +func (v NullableDownloadProtocol) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDownloadProtocol) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_entity_history_event_type.go b/lidarr/model_entity_history_event_type.go new file mode 100644 index 0000000..a688e9d --- /dev/null +++ b/lidarr/model_entity_history_event_type.go @@ -0,0 +1,129 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// EntityHistoryEventType the model 'EntityHistoryEventType' +type EntityHistoryEventType string + +// List of EntityHistoryEventType +const ( + ENTITYHISTORYEVENTTYPE_UNKNOWN EntityHistoryEventType = "unknown" + ENTITYHISTORYEVENTTYPE_GRABBED EntityHistoryEventType = "grabbed" + ENTITYHISTORYEVENTTYPE_ARTIST_FOLDER_IMPORTED EntityHistoryEventType = "artistFolderImported" + ENTITYHISTORYEVENTTYPE_TRACK_FILE_IMPORTED EntityHistoryEventType = "trackFileImported" + ENTITYHISTORYEVENTTYPE_DOWNLOAD_FAILED EntityHistoryEventType = "downloadFailed" + ENTITYHISTORYEVENTTYPE_TRACK_FILE_DELETED EntityHistoryEventType = "trackFileDeleted" + ENTITYHISTORYEVENTTYPE_TRACK_FILE_RENAMED EntityHistoryEventType = "trackFileRenamed" + ENTITYHISTORYEVENTTYPE_ALBUM_IMPORT_INCOMPLETE EntityHistoryEventType = "albumImportIncomplete" + ENTITYHISTORYEVENTTYPE_DOWNLOAD_IMPORTED EntityHistoryEventType = "downloadImported" + ENTITYHISTORYEVENTTYPE_TRACK_FILE_RETAGGED EntityHistoryEventType = "trackFileRetagged" + ENTITYHISTORYEVENTTYPE_DOWNLOAD_IGNORED EntityHistoryEventType = "downloadIgnored" +) + +// All allowed values of EntityHistoryEventType enum +var AllowedEntityHistoryEventTypeEnumValues = []EntityHistoryEventType{ + "unknown", + "grabbed", + "artistFolderImported", + "trackFileImported", + "downloadFailed", + "trackFileDeleted", + "trackFileRenamed", + "albumImportIncomplete", + "downloadImported", + "trackFileRetagged", + "downloadIgnored", +} + +func (v *EntityHistoryEventType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := EntityHistoryEventType(value) + for _, existing := range AllowedEntityHistoryEventTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid EntityHistoryEventType", value) +} + +// NewEntityHistoryEventTypeFromValue returns a pointer to a valid EntityHistoryEventType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewEntityHistoryEventTypeFromValue(v string) (*EntityHistoryEventType, error) { + ev := EntityHistoryEventType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for EntityHistoryEventType: valid values are %v", v, AllowedEntityHistoryEventTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v EntityHistoryEventType) IsValid() bool { + for _, existing := range AllowedEntityHistoryEventTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to EntityHistoryEventType value +func (v EntityHistoryEventType) Ptr() *EntityHistoryEventType { + return &v +} + +type NullableEntityHistoryEventType struct { + value *EntityHistoryEventType + isSet bool +} + +func (v NullableEntityHistoryEventType) Get() *EntityHistoryEventType { + return v.value +} + +func (v *NullableEntityHistoryEventType) Set(val *EntityHistoryEventType) { + v.value = val + v.isSet = true +} + +func (v NullableEntityHistoryEventType) IsSet() bool { + return v.isSet +} + +func (v *NullableEntityHistoryEventType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEntityHistoryEventType(val *EntityHistoryEventType) *NullableEntityHistoryEventType { + return &NullableEntityHistoryEventType{value: val, isSet: true} +} + +func (v NullableEntityHistoryEventType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEntityHistoryEventType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_field.go b/lidarr/model_field.go new file mode 100644 index 0000000..fd2739e --- /dev/null +++ b/lidarr/model_field.go @@ -0,0 +1,639 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Field struct for Field +type Field struct { + Order *int32 `json:"order,omitempty"` + Name NullableString `json:"name,omitempty"` + Label NullableString `json:"label,omitempty"` + Unit NullableString `json:"unit,omitempty"` + HelpText NullableString `json:"helpText,omitempty"` + HelpLink NullableString `json:"helpLink,omitempty"` + Value interface{} `json:"value,omitempty"` + Type NullableString `json:"type,omitempty"` + Advanced *bool `json:"advanced,omitempty"` + SelectOptions []*SelectOption `json:"selectOptions,omitempty"` + SelectOptionsProviderAction NullableString `json:"selectOptionsProviderAction,omitempty"` + Section NullableString `json:"section,omitempty"` + Hidden NullableString `json:"hidden,omitempty"` +} + +// NewField instantiates a new Field object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewField() *Field { + this := Field{} + return &this +} + +// NewFieldWithDefaults instantiates a new Field object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewFieldWithDefaults() *Field { + this := Field{} + return &this +} + +// GetOrder returns the Order field value if set, zero value otherwise. +func (o *Field) GetOrder() int32 { + if o == nil || isNil(o.Order) { + var ret int32 + return ret + } + return *o.Order +} + +// GetOrderOk returns a tuple with the Order field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Field) GetOrderOk() (*int32, bool) { + if o == nil || isNil(o.Order) { + return nil, false + } + return o.Order, true +} + +// HasOrder returns a boolean if a field has been set. +func (o *Field) HasOrder() bool { + if o != nil && !isNil(o.Order) { + return true + } + + return false +} + +// SetOrder gets a reference to the given int32 and assigns it to the Order field. +func (o *Field) SetOrder(v int32) { + o.Order = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Field) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Field) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Field) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Field) UnsetName() { + o.Name.Unset() +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *Field) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *Field) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *Field) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *Field) UnsetLabel() { + o.Label.Unset() +} + +// GetUnit returns the Unit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetUnit() string { + if o == nil || isNil(o.Unit.Get()) { + var ret string + return ret + } + return *o.Unit.Get() +} + +// GetUnitOk returns a tuple with the Unit field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Unit.Get(), o.Unit.IsSet() +} + +// HasUnit returns a boolean if a field has been set. +func (o *Field) HasUnit() bool { + if o != nil && o.Unit.IsSet() { + return true + } + + return false +} + +// SetUnit gets a reference to the given NullableString and assigns it to the Unit field. +func (o *Field) SetUnit(v string) { + o.Unit.Set(&v) +} +// SetUnitNil sets the value for Unit to be an explicit nil +func (o *Field) SetUnitNil() { + o.Unit.Set(nil) +} + +// UnsetUnit ensures that no value is present for Unit, not even an explicit nil +func (o *Field) UnsetUnit() { + o.Unit.Unset() +} + +// GetHelpText returns the HelpText field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetHelpText() string { + if o == nil || isNil(o.HelpText.Get()) { + var ret string + return ret + } + return *o.HelpText.Get() +} + +// GetHelpTextOk returns a tuple with the HelpText field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetHelpTextOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.HelpText.Get(), o.HelpText.IsSet() +} + +// HasHelpText returns a boolean if a field has been set. +func (o *Field) HasHelpText() bool { + if o != nil && o.HelpText.IsSet() { + return true + } + + return false +} + +// SetHelpText gets a reference to the given NullableString and assigns it to the HelpText field. +func (o *Field) SetHelpText(v string) { + o.HelpText.Set(&v) +} +// SetHelpTextNil sets the value for HelpText to be an explicit nil +func (o *Field) SetHelpTextNil() { + o.HelpText.Set(nil) +} + +// UnsetHelpText ensures that no value is present for HelpText, not even an explicit nil +func (o *Field) UnsetHelpText() { + o.HelpText.Unset() +} + +// GetHelpLink returns the HelpLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetHelpLink() string { + if o == nil || isNil(o.HelpLink.Get()) { + var ret string + return ret + } + return *o.HelpLink.Get() +} + +// GetHelpLinkOk returns a tuple with the HelpLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetHelpLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.HelpLink.Get(), o.HelpLink.IsSet() +} + +// HasHelpLink returns a boolean if a field has been set. +func (o *Field) HasHelpLink() bool { + if o != nil && o.HelpLink.IsSet() { + return true + } + + return false +} + +// SetHelpLink gets a reference to the given NullableString and assigns it to the HelpLink field. +func (o *Field) SetHelpLink(v string) { + o.HelpLink.Set(&v) +} +// SetHelpLinkNil sets the value for HelpLink to be an explicit nil +func (o *Field) SetHelpLinkNil() { + o.HelpLink.Set(nil) +} + +// UnsetHelpLink ensures that no value is present for HelpLink, not even an explicit nil +func (o *Field) UnsetHelpLink() { + o.HelpLink.Unset() +} + +// GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetValue() interface{} { + if o == nil { + var ret interface{} + return ret + } + return o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetValueOk() (*interface{}, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return &o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *Field) HasValue() bool { + if o != nil && isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given interface{} and assigns it to the Value field. +func (o *Field) SetValue(v interface{}) { + o.Value = v +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetType() string { + if o == nil || isNil(o.Type.Get()) { + var ret string + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *Field) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullableString and assigns it to the Type field. +func (o *Field) SetType(v string) { + o.Type.Set(&v) +} +// SetTypeNil sets the value for Type to be an explicit nil +func (o *Field) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *Field) UnsetType() { + o.Type.Unset() +} + +// GetAdvanced returns the Advanced field value if set, zero value otherwise. +func (o *Field) GetAdvanced() bool { + if o == nil || isNil(o.Advanced) { + var ret bool + return ret + } + return *o.Advanced +} + +// GetAdvancedOk returns a tuple with the Advanced field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Field) GetAdvancedOk() (*bool, bool) { + if o == nil || isNil(o.Advanced) { + return nil, false + } + return o.Advanced, true +} + +// HasAdvanced returns a boolean if a field has been set. +func (o *Field) HasAdvanced() bool { + if o != nil && !isNil(o.Advanced) { + return true + } + + return false +} + +// SetAdvanced gets a reference to the given bool and assigns it to the Advanced field. +func (o *Field) SetAdvanced(v bool) { + o.Advanced = &v +} + +// GetSelectOptions returns the SelectOptions field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetSelectOptions() []*SelectOption { + if o == nil { + var ret []*SelectOption + return ret + } + return o.SelectOptions +} + +// GetSelectOptionsOk returns a tuple with the SelectOptions field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetSelectOptionsOk() ([]*SelectOption, bool) { + if o == nil || isNil(o.SelectOptions) { + return nil, false + } + return o.SelectOptions, true +} + +// HasSelectOptions returns a boolean if a field has been set. +func (o *Field) HasSelectOptions() bool { + if o != nil && isNil(o.SelectOptions) { + return true + } + + return false +} + +// SetSelectOptions gets a reference to the given []SelectOption and assigns it to the SelectOptions field. +func (o *Field) SetSelectOptions(v []*SelectOption) { + o.SelectOptions = v +} + +// GetSelectOptionsProviderAction returns the SelectOptionsProviderAction field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetSelectOptionsProviderAction() string { + if o == nil || isNil(o.SelectOptionsProviderAction.Get()) { + var ret string + return ret + } + return *o.SelectOptionsProviderAction.Get() +} + +// GetSelectOptionsProviderActionOk returns a tuple with the SelectOptionsProviderAction field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetSelectOptionsProviderActionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SelectOptionsProviderAction.Get(), o.SelectOptionsProviderAction.IsSet() +} + +// HasSelectOptionsProviderAction returns a boolean if a field has been set. +func (o *Field) HasSelectOptionsProviderAction() bool { + if o != nil && o.SelectOptionsProviderAction.IsSet() { + return true + } + + return false +} + +// SetSelectOptionsProviderAction gets a reference to the given NullableString and assigns it to the SelectOptionsProviderAction field. +func (o *Field) SetSelectOptionsProviderAction(v string) { + o.SelectOptionsProviderAction.Set(&v) +} +// SetSelectOptionsProviderActionNil sets the value for SelectOptionsProviderAction to be an explicit nil +func (o *Field) SetSelectOptionsProviderActionNil() { + o.SelectOptionsProviderAction.Set(nil) +} + +// UnsetSelectOptionsProviderAction ensures that no value is present for SelectOptionsProviderAction, not even an explicit nil +func (o *Field) UnsetSelectOptionsProviderAction() { + o.SelectOptionsProviderAction.Unset() +} + +// GetSection returns the Section field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetSection() string { + if o == nil || isNil(o.Section.Get()) { + var ret string + return ret + } + return *o.Section.Get() +} + +// GetSectionOk returns a tuple with the Section field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetSectionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Section.Get(), o.Section.IsSet() +} + +// HasSection returns a boolean if a field has been set. +func (o *Field) HasSection() bool { + if o != nil && o.Section.IsSet() { + return true + } + + return false +} + +// SetSection gets a reference to the given NullableString and assigns it to the Section field. +func (o *Field) SetSection(v string) { + o.Section.Set(&v) +} +// SetSectionNil sets the value for Section to be an explicit nil +func (o *Field) SetSectionNil() { + o.Section.Set(nil) +} + +// UnsetSection ensures that no value is present for Section, not even an explicit nil +func (o *Field) UnsetSection() { + o.Section.Unset() +} + +// GetHidden returns the Hidden field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Field) GetHidden() string { + if o == nil || isNil(o.Hidden.Get()) { + var ret string + return ret + } + return *o.Hidden.Get() +} + +// GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Field) GetHiddenOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Hidden.Get(), o.Hidden.IsSet() +} + +// HasHidden returns a boolean if a field has been set. +func (o *Field) HasHidden() bool { + if o != nil && o.Hidden.IsSet() { + return true + } + + return false +} + +// SetHidden gets a reference to the given NullableString and assigns it to the Hidden field. +func (o *Field) SetHidden(v string) { + o.Hidden.Set(&v) +} +// SetHiddenNil sets the value for Hidden to be an explicit nil +func (o *Field) SetHiddenNil() { + o.Hidden.Set(nil) +} + +// UnsetHidden ensures that no value is present for Hidden, not even an explicit nil +func (o *Field) UnsetHidden() { + o.Hidden.Unset() +} + +func (o Field) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Order) { + toSerialize["order"] = o.Order + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + if o.Unit.IsSet() { + toSerialize["unit"] = o.Unit.Get() + } + if o.HelpText.IsSet() { + toSerialize["helpText"] = o.HelpText.Get() + } + if o.HelpLink.IsSet() { + toSerialize["helpLink"] = o.HelpLink.Get() + } + if o.Value != nil { + toSerialize["value"] = o.Value + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if !isNil(o.Advanced) { + toSerialize["advanced"] = o.Advanced + } + if o.SelectOptions != nil { + toSerialize["selectOptions"] = o.SelectOptions + } + if o.SelectOptionsProviderAction.IsSet() { + toSerialize["selectOptionsProviderAction"] = o.SelectOptionsProviderAction.Get() + } + if o.Section.IsSet() { + toSerialize["section"] = o.Section.Get() + } + if o.Hidden.IsSet() { + toSerialize["hidden"] = o.Hidden.Get() + } + return json.Marshal(toSerialize) +} + +type NullableField struct { + value *Field + isSet bool +} + +func (v NullableField) Get() *Field { + return v.value +} + +func (v *NullableField) Set(val *Field) { + v.value = val + v.isSet = true +} + +func (v NullableField) IsSet() bool { + return v.isSet +} + +func (v *NullableField) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableField(val *Field) *NullableField { + return &NullableField{value: val, isSet: true} +} + +func (v NullableField) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableField) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_file_date_type.go b/lidarr/model_file_date_type.go new file mode 100644 index 0000000..f5e66c3 --- /dev/null +++ b/lidarr/model_file_date_type.go @@ -0,0 +1,111 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// FileDateType the model 'FileDateType' +type FileDateType string + +// List of FileDateType +const ( + FILEDATETYPE_NONE FileDateType = "none" + FILEDATETYPE_ALBUM_RELEASE_DATE FileDateType = "albumReleaseDate" +) + +// All allowed values of FileDateType enum +var AllowedFileDateTypeEnumValues = []FileDateType{ + "none", + "albumReleaseDate", +} + +func (v *FileDateType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := FileDateType(value) + for _, existing := range AllowedFileDateTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid FileDateType", value) +} + +// NewFileDateTypeFromValue returns a pointer to a valid FileDateType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewFileDateTypeFromValue(v string) (*FileDateType, error) { + ev := FileDateType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for FileDateType: valid values are %v", v, AllowedFileDateTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v FileDateType) IsValid() bool { + for _, existing := range AllowedFileDateTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to FileDateType value +func (v FileDateType) Ptr() *FileDateType { + return &v +} + +type NullableFileDateType struct { + value *FileDateType + isSet bool +} + +func (v NullableFileDateType) Get() *FileDateType { + return v.value +} + +func (v *NullableFileDateType) Set(val *FileDateType) { + v.value = val + v.isSet = true +} + +func (v NullableFileDateType) IsSet() bool { + return v.isSet +} + +func (v *NullableFileDateType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFileDateType(val *FileDateType) *NullableFileDateType { + return &NullableFileDateType{value: val, isSet: true} +} + +func (v NullableFileDateType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFileDateType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_health_check_result.go b/lidarr/model_health_check_result.go new file mode 100644 index 0000000..7b47672 --- /dev/null +++ b/lidarr/model_health_check_result.go @@ -0,0 +1,115 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// HealthCheckResult the model 'HealthCheckResult' +type HealthCheckResult string + +// List of HealthCheckResult +const ( + HEALTHCHECKRESULT_OK HealthCheckResult = "ok" + HEALTHCHECKRESULT_NOTICE HealthCheckResult = "notice" + HEALTHCHECKRESULT_WARNING HealthCheckResult = "warning" + HEALTHCHECKRESULT_ERROR HealthCheckResult = "error" +) + +// All allowed values of HealthCheckResult enum +var AllowedHealthCheckResultEnumValues = []HealthCheckResult{ + "ok", + "notice", + "warning", + "error", +} + +func (v *HealthCheckResult) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := HealthCheckResult(value) + for _, existing := range AllowedHealthCheckResultEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid HealthCheckResult", value) +} + +// NewHealthCheckResultFromValue returns a pointer to a valid HealthCheckResult +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewHealthCheckResultFromValue(v string) (*HealthCheckResult, error) { + ev := HealthCheckResult(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for HealthCheckResult: valid values are %v", v, AllowedHealthCheckResultEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v HealthCheckResult) IsValid() bool { + for _, existing := range AllowedHealthCheckResultEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to HealthCheckResult value +func (v HealthCheckResult) Ptr() *HealthCheckResult { + return &v +} + +type NullableHealthCheckResult struct { + value *HealthCheckResult + isSet bool +} + +func (v NullableHealthCheckResult) Get() *HealthCheckResult { + return v.value +} + +func (v *NullableHealthCheckResult) Set(val *HealthCheckResult) { + v.value = val + v.isSet = true +} + +func (v NullableHealthCheckResult) IsSet() bool { + return v.isSet +} + +func (v *NullableHealthCheckResult) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHealthCheckResult(val *HealthCheckResult) *NullableHealthCheckResult { + return &NullableHealthCheckResult{value: val, isSet: true} +} + +func (v NullableHealthCheckResult) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHealthCheckResult) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_health_resource.go b/lidarr/model_health_resource.go new file mode 100644 index 0000000..ccf03aa --- /dev/null +++ b/lidarr/model_health_resource.go @@ -0,0 +1,279 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// HealthResource struct for HealthResource +type HealthResource struct { + Id *int32 `json:"id,omitempty"` + Source NullableString `json:"source,omitempty"` + Type *HealthCheckResult `json:"type,omitempty"` + Message NullableString `json:"message,omitempty"` + WikiUrl *HttpUri `json:"wikiUrl,omitempty"` +} + +// NewHealthResource instantiates a new HealthResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHealthResource() *HealthResource { + this := HealthResource{} + return &this +} + +// NewHealthResourceWithDefaults instantiates a new HealthResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHealthResourceWithDefaults() *HealthResource { + this := HealthResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *HealthResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *HealthResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *HealthResource) SetId(v int32) { + o.Id = &v +} + +// GetSource returns the Source field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HealthResource) GetSource() string { + if o == nil || isNil(o.Source.Get()) { + var ret string + return ret + } + return *o.Source.Get() +} + +// GetSourceOk returns a tuple with the Source field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HealthResource) GetSourceOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Source.Get(), o.Source.IsSet() +} + +// HasSource returns a boolean if a field has been set. +func (o *HealthResource) HasSource() bool { + if o != nil && o.Source.IsSet() { + return true + } + + return false +} + +// SetSource gets a reference to the given NullableString and assigns it to the Source field. +func (o *HealthResource) SetSource(v string) { + o.Source.Set(&v) +} +// SetSourceNil sets the value for Source to be an explicit nil +func (o *HealthResource) SetSourceNil() { + o.Source.Set(nil) +} + +// UnsetSource ensures that no value is present for Source, not even an explicit nil +func (o *HealthResource) UnsetSource() { + o.Source.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *HealthResource) GetType() HealthCheckResult { + if o == nil || isNil(o.Type) { + var ret HealthCheckResult + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthResource) GetTypeOk() (*HealthCheckResult, bool) { + if o == nil || isNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *HealthResource) HasType() bool { + if o != nil && !isNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given HealthCheckResult and assigns it to the Type field. +func (o *HealthResource) SetType(v HealthCheckResult) { + o.Type = &v +} + +// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HealthResource) GetMessage() string { + if o == nil || isNil(o.Message.Get()) { + var ret string + return ret + } + return *o.Message.Get() +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HealthResource) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Message.Get(), o.Message.IsSet() +} + +// HasMessage returns a boolean if a field has been set. +func (o *HealthResource) HasMessage() bool { + if o != nil && o.Message.IsSet() { + return true + } + + return false +} + +// SetMessage gets a reference to the given NullableString and assigns it to the Message field. +func (o *HealthResource) SetMessage(v string) { + o.Message.Set(&v) +} +// SetMessageNil sets the value for Message to be an explicit nil +func (o *HealthResource) SetMessageNil() { + o.Message.Set(nil) +} + +// UnsetMessage ensures that no value is present for Message, not even an explicit nil +func (o *HealthResource) UnsetMessage() { + o.Message.Unset() +} + +// GetWikiUrl returns the WikiUrl field value if set, zero value otherwise. +func (o *HealthResource) GetWikiUrl() HttpUri { + if o == nil || isNil(o.WikiUrl) { + var ret HttpUri + return ret + } + return *o.WikiUrl +} + +// GetWikiUrlOk returns a tuple with the WikiUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HealthResource) GetWikiUrlOk() (*HttpUri, bool) { + if o == nil || isNil(o.WikiUrl) { + return nil, false + } + return o.WikiUrl, true +} + +// HasWikiUrl returns a boolean if a field has been set. +func (o *HealthResource) HasWikiUrl() bool { + if o != nil && !isNil(o.WikiUrl) { + return true + } + + return false +} + +// SetWikiUrl gets a reference to the given HttpUri and assigns it to the WikiUrl field. +func (o *HealthResource) SetWikiUrl(v HttpUri) { + o.WikiUrl = &v +} + +func (o HealthResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Source.IsSet() { + toSerialize["source"] = o.Source.Get() + } + if !isNil(o.Type) { + toSerialize["type"] = o.Type + } + if o.Message.IsSet() { + toSerialize["message"] = o.Message.Get() + } + if !isNil(o.WikiUrl) { + toSerialize["wikiUrl"] = o.WikiUrl + } + return json.Marshal(toSerialize) +} + +type NullableHealthResource struct { + value *HealthResource + isSet bool +} + +func (v NullableHealthResource) Get() *HealthResource { + return v.value +} + +func (v *NullableHealthResource) Set(val *HealthResource) { + v.value = val + v.isSet = true +} + +func (v NullableHealthResource) IsSet() bool { + return v.isSet +} + +func (v *NullableHealthResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHealthResource(val *HealthResource) *NullableHealthResource { + return &NullableHealthResource{value: val, isSet: true} +} + +func (v NullableHealthResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHealthResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_history_resource.go b/lidarr/model_history_resource.go new file mode 100644 index 0000000..45c0c2c --- /dev/null +++ b/lidarr/model_history_resource.go @@ -0,0 +1,605 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// HistoryResource struct for HistoryResource +type HistoryResource struct { + Id *int32 `json:"id,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + TrackId *int32 `json:"trackId,omitempty"` + SourceTitle NullableString `json:"sourceTitle,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + QualityCutoffNotMet *bool `json:"qualityCutoffNotMet,omitempty"` + Date *time.Time `json:"date,omitempty"` + DownloadId NullableString `json:"downloadId,omitempty"` + EventType *EntityHistoryEventType `json:"eventType,omitempty"` + Data map[string]string `json:"data,omitempty"` + Album *AlbumResource `json:"album,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Track *TrackResource `json:"track,omitempty"` +} + +// NewHistoryResource instantiates a new HistoryResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHistoryResource() *HistoryResource { + this := HistoryResource{} + return &this +} + +// NewHistoryResourceWithDefaults instantiates a new HistoryResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHistoryResourceWithDefaults() *HistoryResource { + this := HistoryResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *HistoryResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *HistoryResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *HistoryResource) SetId(v int32) { + o.Id = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *HistoryResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *HistoryResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *HistoryResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *HistoryResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *HistoryResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *HistoryResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetTrackId returns the TrackId field value if set, zero value otherwise. +func (o *HistoryResource) GetTrackId() int32 { + if o == nil || isNil(o.TrackId) { + var ret int32 + return ret + } + return *o.TrackId +} + +// GetTrackIdOk returns a tuple with the TrackId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetTrackIdOk() (*int32, bool) { + if o == nil || isNil(o.TrackId) { + return nil, false + } + return o.TrackId, true +} + +// HasTrackId returns a boolean if a field has been set. +func (o *HistoryResource) HasTrackId() bool { + if o != nil && !isNil(o.TrackId) { + return true + } + + return false +} + +// SetTrackId gets a reference to the given int32 and assigns it to the TrackId field. +func (o *HistoryResource) SetTrackId(v int32) { + o.TrackId = &v +} + +// GetSourceTitle returns the SourceTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResource) GetSourceTitle() string { + if o == nil || isNil(o.SourceTitle.Get()) { + var ret string + return ret + } + return *o.SourceTitle.Get() +} + +// GetSourceTitleOk returns a tuple with the SourceTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResource) GetSourceTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SourceTitle.Get(), o.SourceTitle.IsSet() +} + +// HasSourceTitle returns a boolean if a field has been set. +func (o *HistoryResource) HasSourceTitle() bool { + if o != nil && o.SourceTitle.IsSet() { + return true + } + + return false +} + +// SetSourceTitle gets a reference to the given NullableString and assigns it to the SourceTitle field. +func (o *HistoryResource) SetSourceTitle(v string) { + o.SourceTitle.Set(&v) +} +// SetSourceTitleNil sets the value for SourceTitle to be an explicit nil +func (o *HistoryResource) SetSourceTitleNil() { + o.SourceTitle.Set(nil) +} + +// UnsetSourceTitle ensures that no value is present for SourceTitle, not even an explicit nil +func (o *HistoryResource) UnsetSourceTitle() { + o.SourceTitle.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *HistoryResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *HistoryResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *HistoryResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetQualityCutoffNotMet returns the QualityCutoffNotMet field value if set, zero value otherwise. +func (o *HistoryResource) GetQualityCutoffNotMet() bool { + if o == nil || isNil(o.QualityCutoffNotMet) { + var ret bool + return ret + } + return *o.QualityCutoffNotMet +} + +// GetQualityCutoffNotMetOk returns a tuple with the QualityCutoffNotMet field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetQualityCutoffNotMetOk() (*bool, bool) { + if o == nil || isNil(o.QualityCutoffNotMet) { + return nil, false + } + return o.QualityCutoffNotMet, true +} + +// HasQualityCutoffNotMet returns a boolean if a field has been set. +func (o *HistoryResource) HasQualityCutoffNotMet() bool { + if o != nil && !isNil(o.QualityCutoffNotMet) { + return true + } + + return false +} + +// SetQualityCutoffNotMet gets a reference to the given bool and assigns it to the QualityCutoffNotMet field. +func (o *HistoryResource) SetQualityCutoffNotMet(v bool) { + o.QualityCutoffNotMet = &v +} + +// GetDate returns the Date field value if set, zero value otherwise. +func (o *HistoryResource) GetDate() time.Time { + if o == nil || isNil(o.Date) { + var ret time.Time + return ret + } + return *o.Date +} + +// GetDateOk returns a tuple with the Date field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetDateOk() (*time.Time, bool) { + if o == nil || isNil(o.Date) { + return nil, false + } + return o.Date, true +} + +// HasDate returns a boolean if a field has been set. +func (o *HistoryResource) HasDate() bool { + if o != nil && !isNil(o.Date) { + return true + } + + return false +} + +// SetDate gets a reference to the given time.Time and assigns it to the Date field. +func (o *HistoryResource) SetDate(v time.Time) { + o.Date = &v +} + +// GetDownloadId returns the DownloadId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResource) GetDownloadId() string { + if o == nil || isNil(o.DownloadId.Get()) { + var ret string + return ret + } + return *o.DownloadId.Get() +} + +// GetDownloadIdOk returns a tuple with the DownloadId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResource) GetDownloadIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadId.Get(), o.DownloadId.IsSet() +} + +// HasDownloadId returns a boolean if a field has been set. +func (o *HistoryResource) HasDownloadId() bool { + if o != nil && o.DownloadId.IsSet() { + return true + } + + return false +} + +// SetDownloadId gets a reference to the given NullableString and assigns it to the DownloadId field. +func (o *HistoryResource) SetDownloadId(v string) { + o.DownloadId.Set(&v) +} +// SetDownloadIdNil sets the value for DownloadId to be an explicit nil +func (o *HistoryResource) SetDownloadIdNil() { + o.DownloadId.Set(nil) +} + +// UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +func (o *HistoryResource) UnsetDownloadId() { + o.DownloadId.Unset() +} + +// GetEventType returns the EventType field value if set, zero value otherwise. +func (o *HistoryResource) GetEventType() EntityHistoryEventType { + if o == nil || isNil(o.EventType) { + var ret EntityHistoryEventType + return ret + } + return *o.EventType +} + +// GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetEventTypeOk() (*EntityHistoryEventType, bool) { + if o == nil || isNil(o.EventType) { + return nil, false + } + return o.EventType, true +} + +// HasEventType returns a boolean if a field has been set. +func (o *HistoryResource) HasEventType() bool { + if o != nil && !isNil(o.EventType) { + return true + } + + return false +} + +// SetEventType gets a reference to the given EntityHistoryEventType and assigns it to the EventType field. +func (o *HistoryResource) SetEventType(v EntityHistoryEventType) { + o.EventType = &v +} + +// GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResource) GetData() map[string]string { + if o == nil { + var ret map[string]string + return ret + } + return o.Data +} + +// GetDataOk returns a tuple with the Data field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResource) GetDataOk() (*map[string]string, bool) { + if o == nil || isNil(o.Data) { + return nil, false + } + return &o.Data, true +} + +// HasData returns a boolean if a field has been set. +func (o *HistoryResource) HasData() bool { + if o != nil && isNil(o.Data) { + return true + } + + return false +} + +// SetData gets a reference to the given map[string]string and assigns it to the Data field. +func (o *HistoryResource) SetData(v map[string]string) { + o.Data = v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *HistoryResource) GetAlbum() AlbumResource { + if o == nil || isNil(o.Album) { + var ret AlbumResource + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetAlbumOk() (*AlbumResource, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *HistoryResource) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given AlbumResource and assigns it to the Album field. +func (o *HistoryResource) SetAlbum(v AlbumResource) { + o.Album = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *HistoryResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *HistoryResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *HistoryResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetTrack returns the Track field value if set, zero value otherwise. +func (o *HistoryResource) GetTrack() TrackResource { + if o == nil || isNil(o.Track) { + var ret TrackResource + return ret + } + return *o.Track +} + +// GetTrackOk returns a tuple with the Track field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResource) GetTrackOk() (*TrackResource, bool) { + if o == nil || isNil(o.Track) { + return nil, false + } + return o.Track, true +} + +// HasTrack returns a boolean if a field has been set. +func (o *HistoryResource) HasTrack() bool { + if o != nil && !isNil(o.Track) { + return true + } + + return false +} + +// SetTrack gets a reference to the given TrackResource and assigns it to the Track field. +func (o *HistoryResource) SetTrack(v TrackResource) { + o.Track = &v +} + +func (o HistoryResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if !isNil(o.TrackId) { + toSerialize["trackId"] = o.TrackId + } + if o.SourceTitle.IsSet() { + toSerialize["sourceTitle"] = o.SourceTitle.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.QualityCutoffNotMet) { + toSerialize["qualityCutoffNotMet"] = o.QualityCutoffNotMet + } + if !isNil(o.Date) { + toSerialize["date"] = o.Date + } + if o.DownloadId.IsSet() { + toSerialize["downloadId"] = o.DownloadId.Get() + } + if !isNil(o.EventType) { + toSerialize["eventType"] = o.EventType + } + if o.Data != nil { + toSerialize["data"] = o.Data + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.Track) { + toSerialize["track"] = o.Track + } + return json.Marshal(toSerialize) +} + +type NullableHistoryResource struct { + value *HistoryResource + isSet bool +} + +func (v NullableHistoryResource) Get() *HistoryResource { + return v.value +} + +func (v *NullableHistoryResource) Set(val *HistoryResource) { + v.value = val + v.isSet = true +} + +func (v NullableHistoryResource) IsSet() bool { + return v.isSet +} + +func (v *NullableHistoryResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHistoryResource(val *HistoryResource) *NullableHistoryResource { + return &NullableHistoryResource{value: val, isSet: true} +} + +func (v NullableHistoryResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHistoryResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_history_resource_paging_resource.go b/lidarr/model_history_resource_paging_resource.go new file mode 100644 index 0000000..d9b6a83 --- /dev/null +++ b/lidarr/model_history_resource_paging_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// HistoryResourcePagingResource struct for HistoryResourcePagingResource +type HistoryResourcePagingResource struct { + Page *int32 `json:"page,omitempty"` + PageSize *int32 `json:"pageSize,omitempty"` + SortKey NullableString `json:"sortKey,omitempty"` + SortDirection *SortDirection `json:"sortDirection,omitempty"` + Filters []*PagingResourceFilter `json:"filters,omitempty"` + TotalRecords *int32 `json:"totalRecords,omitempty"` + Records []*HistoryResource `json:"records,omitempty"` +} + +// NewHistoryResourcePagingResource instantiates a new HistoryResourcePagingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHistoryResourcePagingResource() *HistoryResourcePagingResource { + this := HistoryResourcePagingResource{} + return &this +} + +// NewHistoryResourcePagingResourceWithDefaults instantiates a new HistoryResourcePagingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHistoryResourcePagingResourceWithDefaults() *HistoryResourcePagingResource { + this := HistoryResourcePagingResource{} + return &this +} + +// GetPage returns the Page field value if set, zero value otherwise. +func (o *HistoryResourcePagingResource) GetPage() int32 { + if o == nil || isNil(o.Page) { + var ret int32 + return ret + } + return *o.Page +} + +// GetPageOk returns a tuple with the Page field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResourcePagingResource) GetPageOk() (*int32, bool) { + if o == nil || isNil(o.Page) { + return nil, false + } + return o.Page, true +} + +// HasPage returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasPage() bool { + if o != nil && !isNil(o.Page) { + return true + } + + return false +} + +// SetPage gets a reference to the given int32 and assigns it to the Page field. +func (o *HistoryResourcePagingResource) SetPage(v int32) { + o.Page = &v +} + +// GetPageSize returns the PageSize field value if set, zero value otherwise. +func (o *HistoryResourcePagingResource) GetPageSize() int32 { + if o == nil || isNil(o.PageSize) { + var ret int32 + return ret + } + return *o.PageSize +} + +// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResourcePagingResource) GetPageSizeOk() (*int32, bool) { + if o == nil || isNil(o.PageSize) { + return nil, false + } + return o.PageSize, true +} + +// HasPageSize returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasPageSize() bool { + if o != nil && !isNil(o.PageSize) { + return true + } + + return false +} + +// SetPageSize gets a reference to the given int32 and assigns it to the PageSize field. +func (o *HistoryResourcePagingResource) SetPageSize(v int32) { + o.PageSize = &v +} + +// GetSortKey returns the SortKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResourcePagingResource) GetSortKey() string { + if o == nil || isNil(o.SortKey.Get()) { + var ret string + return ret + } + return *o.SortKey.Get() +} + +// GetSortKeyOk returns a tuple with the SortKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResourcePagingResource) GetSortKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortKey.Get(), o.SortKey.IsSet() +} + +// HasSortKey returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasSortKey() bool { + if o != nil && o.SortKey.IsSet() { + return true + } + + return false +} + +// SetSortKey gets a reference to the given NullableString and assigns it to the SortKey field. +func (o *HistoryResourcePagingResource) SetSortKey(v string) { + o.SortKey.Set(&v) +} +// SetSortKeyNil sets the value for SortKey to be an explicit nil +func (o *HistoryResourcePagingResource) SetSortKeyNil() { + o.SortKey.Set(nil) +} + +// UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +func (o *HistoryResourcePagingResource) UnsetSortKey() { + o.SortKey.Unset() +} + +// GetSortDirection returns the SortDirection field value if set, zero value otherwise. +func (o *HistoryResourcePagingResource) GetSortDirection() SortDirection { + if o == nil || isNil(o.SortDirection) { + var ret SortDirection + return ret + } + return *o.SortDirection +} + +// GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool) { + if o == nil || isNil(o.SortDirection) { + return nil, false + } + return o.SortDirection, true +} + +// HasSortDirection returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasSortDirection() bool { + if o != nil && !isNil(o.SortDirection) { + return true + } + + return false +} + +// SetSortDirection gets a reference to the given SortDirection and assigns it to the SortDirection field. +func (o *HistoryResourcePagingResource) SetSortDirection(v SortDirection) { + o.SortDirection = &v +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResourcePagingResource) GetFilters() []*PagingResourceFilter { + if o == nil { + var ret []*PagingResourceFilter + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResourcePagingResource) GetFiltersOk() ([]*PagingResourceFilter, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []PagingResourceFilter and assigns it to the Filters field. +func (o *HistoryResourcePagingResource) SetFilters(v []*PagingResourceFilter) { + o.Filters = v +} + +// GetTotalRecords returns the TotalRecords field value if set, zero value otherwise. +func (o *HistoryResourcePagingResource) GetTotalRecords() int32 { + if o == nil || isNil(o.TotalRecords) { + var ret int32 + return ret + } + return *o.TotalRecords +} + +// GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HistoryResourcePagingResource) GetTotalRecordsOk() (*int32, bool) { + if o == nil || isNil(o.TotalRecords) { + return nil, false + } + return o.TotalRecords, true +} + +// HasTotalRecords returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasTotalRecords() bool { + if o != nil && !isNil(o.TotalRecords) { + return true + } + + return false +} + +// SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field. +func (o *HistoryResourcePagingResource) SetTotalRecords(v int32) { + o.TotalRecords = &v +} + +// GetRecords returns the Records field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HistoryResourcePagingResource) GetRecords() []*HistoryResource { + if o == nil { + var ret []*HistoryResource + return ret + } + return o.Records +} + +// GetRecordsOk returns a tuple with the Records field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HistoryResourcePagingResource) GetRecordsOk() ([]*HistoryResource, bool) { + if o == nil || isNil(o.Records) { + return nil, false + } + return o.Records, true +} + +// HasRecords returns a boolean if a field has been set. +func (o *HistoryResourcePagingResource) HasRecords() bool { + if o != nil && isNil(o.Records) { + return true + } + + return false +} + +// SetRecords gets a reference to the given []HistoryResource and assigns it to the Records field. +func (o *HistoryResourcePagingResource) SetRecords(v []*HistoryResource) { + o.Records = v +} + +func (o HistoryResourcePagingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Page) { + toSerialize["page"] = o.Page + } + if !isNil(o.PageSize) { + toSerialize["pageSize"] = o.PageSize + } + if o.SortKey.IsSet() { + toSerialize["sortKey"] = o.SortKey.Get() + } + if !isNil(o.SortDirection) { + toSerialize["sortDirection"] = o.SortDirection + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + if !isNil(o.TotalRecords) { + toSerialize["totalRecords"] = o.TotalRecords + } + if o.Records != nil { + toSerialize["records"] = o.Records + } + return json.Marshal(toSerialize) +} + +type NullableHistoryResourcePagingResource struct { + value *HistoryResourcePagingResource + isSet bool +} + +func (v NullableHistoryResourcePagingResource) Get() *HistoryResourcePagingResource { + return v.value +} + +func (v *NullableHistoryResourcePagingResource) Set(val *HistoryResourcePagingResource) { + v.value = val + v.isSet = true +} + +func (v NullableHistoryResourcePagingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableHistoryResourcePagingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHistoryResourcePagingResource(val *HistoryResourcePagingResource) *NullableHistoryResourcePagingResource { + return &NullableHistoryResourcePagingResource{value: val, isSet: true} +} + +func (v NullableHistoryResourcePagingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHistoryResourcePagingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_host_config_resource.go b/lidarr/model_host_config_resource.go new file mode 100644 index 0000000..7338a3c --- /dev/null +++ b/lidarr/model_host_config_resource.go @@ -0,0 +1,1483 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// HostConfigResource struct for HostConfigResource +type HostConfigResource struct { + Id *int32 `json:"id,omitempty"` + BindAddress NullableString `json:"bindAddress,omitempty"` + Port *int32 `json:"port,omitempty"` + SslPort *int32 `json:"sslPort,omitempty"` + EnableSsl *bool `json:"enableSsl,omitempty"` + LaunchBrowser *bool `json:"launchBrowser,omitempty"` + AuthenticationMethod *AuthenticationType `json:"authenticationMethod,omitempty"` + AnalyticsEnabled *bool `json:"analyticsEnabled,omitempty"` + Username NullableString `json:"username,omitempty"` + Password NullableString `json:"password,omitempty"` + LogLevel NullableString `json:"logLevel,omitempty"` + ConsoleLogLevel NullableString `json:"consoleLogLevel,omitempty"` + Branch NullableString `json:"branch,omitempty"` + ApiKey NullableString `json:"apiKey,omitempty"` + SslCertPath NullableString `json:"sslCertPath,omitempty"` + SslCertPassword NullableString `json:"sslCertPassword,omitempty"` + UrlBase NullableString `json:"urlBase,omitempty"` + InstanceName NullableString `json:"instanceName,omitempty"` + ApplicationUrl NullableString `json:"applicationUrl,omitempty"` + UpdateAutomatically *bool `json:"updateAutomatically,omitempty"` + UpdateMechanism *UpdateMechanism `json:"updateMechanism,omitempty"` + UpdateScriptPath NullableString `json:"updateScriptPath,omitempty"` + ProxyEnabled *bool `json:"proxyEnabled,omitempty"` + ProxyType *ProxyType `json:"proxyType,omitempty"` + ProxyHostname NullableString `json:"proxyHostname,omitempty"` + ProxyPort *int32 `json:"proxyPort,omitempty"` + ProxyUsername NullableString `json:"proxyUsername,omitempty"` + ProxyPassword NullableString `json:"proxyPassword,omitempty"` + ProxyBypassFilter NullableString `json:"proxyBypassFilter,omitempty"` + ProxyBypassLocalAddresses *bool `json:"proxyBypassLocalAddresses,omitempty"` + CertificateValidation *CertificateValidationType `json:"certificateValidation,omitempty"` + BackupFolder NullableString `json:"backupFolder,omitempty"` + BackupInterval *int32 `json:"backupInterval,omitempty"` + BackupRetention *int32 `json:"backupRetention,omitempty"` +} + +// NewHostConfigResource instantiates a new HostConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHostConfigResource() *HostConfigResource { + this := HostConfigResource{} + return &this +} + +// NewHostConfigResourceWithDefaults instantiates a new HostConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHostConfigResourceWithDefaults() *HostConfigResource { + this := HostConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *HostConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *HostConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *HostConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetBindAddress returns the BindAddress field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetBindAddress() string { + if o == nil || isNil(o.BindAddress.Get()) { + var ret string + return ret + } + return *o.BindAddress.Get() +} + +// GetBindAddressOk returns a tuple with the BindAddress field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetBindAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BindAddress.Get(), o.BindAddress.IsSet() +} + +// HasBindAddress returns a boolean if a field has been set. +func (o *HostConfigResource) HasBindAddress() bool { + if o != nil && o.BindAddress.IsSet() { + return true + } + + return false +} + +// SetBindAddress gets a reference to the given NullableString and assigns it to the BindAddress field. +func (o *HostConfigResource) SetBindAddress(v string) { + o.BindAddress.Set(&v) +} +// SetBindAddressNil sets the value for BindAddress to be an explicit nil +func (o *HostConfigResource) SetBindAddressNil() { + o.BindAddress.Set(nil) +} + +// UnsetBindAddress ensures that no value is present for BindAddress, not even an explicit nil +func (o *HostConfigResource) UnsetBindAddress() { + o.BindAddress.Unset() +} + +// GetPort returns the Port field value if set, zero value otherwise. +func (o *HostConfigResource) GetPort() int32 { + if o == nil || isNil(o.Port) { + var ret int32 + return ret + } + return *o.Port +} + +// GetPortOk returns a tuple with the Port field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetPortOk() (*int32, bool) { + if o == nil || isNil(o.Port) { + return nil, false + } + return o.Port, true +} + +// HasPort returns a boolean if a field has been set. +func (o *HostConfigResource) HasPort() bool { + if o != nil && !isNil(o.Port) { + return true + } + + return false +} + +// SetPort gets a reference to the given int32 and assigns it to the Port field. +func (o *HostConfigResource) SetPort(v int32) { + o.Port = &v +} + +// GetSslPort returns the SslPort field value if set, zero value otherwise. +func (o *HostConfigResource) GetSslPort() int32 { + if o == nil || isNil(o.SslPort) { + var ret int32 + return ret + } + return *o.SslPort +} + +// GetSslPortOk returns a tuple with the SslPort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetSslPortOk() (*int32, bool) { + if o == nil || isNil(o.SslPort) { + return nil, false + } + return o.SslPort, true +} + +// HasSslPort returns a boolean if a field has been set. +func (o *HostConfigResource) HasSslPort() bool { + if o != nil && !isNil(o.SslPort) { + return true + } + + return false +} + +// SetSslPort gets a reference to the given int32 and assigns it to the SslPort field. +func (o *HostConfigResource) SetSslPort(v int32) { + o.SslPort = &v +} + +// GetEnableSsl returns the EnableSsl field value if set, zero value otherwise. +func (o *HostConfigResource) GetEnableSsl() bool { + if o == nil || isNil(o.EnableSsl) { + var ret bool + return ret + } + return *o.EnableSsl +} + +// GetEnableSslOk returns a tuple with the EnableSsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetEnableSslOk() (*bool, bool) { + if o == nil || isNil(o.EnableSsl) { + return nil, false + } + return o.EnableSsl, true +} + +// HasEnableSsl returns a boolean if a field has been set. +func (o *HostConfigResource) HasEnableSsl() bool { + if o != nil && !isNil(o.EnableSsl) { + return true + } + + return false +} + +// SetEnableSsl gets a reference to the given bool and assigns it to the EnableSsl field. +func (o *HostConfigResource) SetEnableSsl(v bool) { + o.EnableSsl = &v +} + +// GetLaunchBrowser returns the LaunchBrowser field value if set, zero value otherwise. +func (o *HostConfigResource) GetLaunchBrowser() bool { + if o == nil || isNil(o.LaunchBrowser) { + var ret bool + return ret + } + return *o.LaunchBrowser +} + +// GetLaunchBrowserOk returns a tuple with the LaunchBrowser field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetLaunchBrowserOk() (*bool, bool) { + if o == nil || isNil(o.LaunchBrowser) { + return nil, false + } + return o.LaunchBrowser, true +} + +// HasLaunchBrowser returns a boolean if a field has been set. +func (o *HostConfigResource) HasLaunchBrowser() bool { + if o != nil && !isNil(o.LaunchBrowser) { + return true + } + + return false +} + +// SetLaunchBrowser gets a reference to the given bool and assigns it to the LaunchBrowser field. +func (o *HostConfigResource) SetLaunchBrowser(v bool) { + o.LaunchBrowser = &v +} + +// GetAuthenticationMethod returns the AuthenticationMethod field value if set, zero value otherwise. +func (o *HostConfigResource) GetAuthenticationMethod() AuthenticationType { + if o == nil || isNil(o.AuthenticationMethod) { + var ret AuthenticationType + return ret + } + return *o.AuthenticationMethod +} + +// GetAuthenticationMethodOk returns a tuple with the AuthenticationMethod field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetAuthenticationMethodOk() (*AuthenticationType, bool) { + if o == nil || isNil(o.AuthenticationMethod) { + return nil, false + } + return o.AuthenticationMethod, true +} + +// HasAuthenticationMethod returns a boolean if a field has been set. +func (o *HostConfigResource) HasAuthenticationMethod() bool { + if o != nil && !isNil(o.AuthenticationMethod) { + return true + } + + return false +} + +// SetAuthenticationMethod gets a reference to the given AuthenticationType and assigns it to the AuthenticationMethod field. +func (o *HostConfigResource) SetAuthenticationMethod(v AuthenticationType) { + o.AuthenticationMethod = &v +} + +// GetAnalyticsEnabled returns the AnalyticsEnabled field value if set, zero value otherwise. +func (o *HostConfigResource) GetAnalyticsEnabled() bool { + if o == nil || isNil(o.AnalyticsEnabled) { + var ret bool + return ret + } + return *o.AnalyticsEnabled +} + +// GetAnalyticsEnabledOk returns a tuple with the AnalyticsEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetAnalyticsEnabledOk() (*bool, bool) { + if o == nil || isNil(o.AnalyticsEnabled) { + return nil, false + } + return o.AnalyticsEnabled, true +} + +// HasAnalyticsEnabled returns a boolean if a field has been set. +func (o *HostConfigResource) HasAnalyticsEnabled() bool { + if o != nil && !isNil(o.AnalyticsEnabled) { + return true + } + + return false +} + +// SetAnalyticsEnabled gets a reference to the given bool and assigns it to the AnalyticsEnabled field. +func (o *HostConfigResource) SetAnalyticsEnabled(v bool) { + o.AnalyticsEnabled = &v +} + +// GetUsername returns the Username field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetUsername() string { + if o == nil || isNil(o.Username.Get()) { + var ret string + return ret + } + return *o.Username.Get() +} + +// GetUsernameOk returns a tuple with the Username field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Username.Get(), o.Username.IsSet() +} + +// HasUsername returns a boolean if a field has been set. +func (o *HostConfigResource) HasUsername() bool { + if o != nil && o.Username.IsSet() { + return true + } + + return false +} + +// SetUsername gets a reference to the given NullableString and assigns it to the Username field. +func (o *HostConfigResource) SetUsername(v string) { + o.Username.Set(&v) +} +// SetUsernameNil sets the value for Username to be an explicit nil +func (o *HostConfigResource) SetUsernameNil() { + o.Username.Set(nil) +} + +// UnsetUsername ensures that no value is present for Username, not even an explicit nil +func (o *HostConfigResource) UnsetUsername() { + o.Username.Unset() +} + +// GetPassword returns the Password field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetPassword() string { + if o == nil || isNil(o.Password.Get()) { + var ret string + return ret + } + return *o.Password.Get() +} + +// GetPasswordOk returns a tuple with the Password field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Password.Get(), o.Password.IsSet() +} + +// HasPassword returns a boolean if a field has been set. +func (o *HostConfigResource) HasPassword() bool { + if o != nil && o.Password.IsSet() { + return true + } + + return false +} + +// SetPassword gets a reference to the given NullableString and assigns it to the Password field. +func (o *HostConfigResource) SetPassword(v string) { + o.Password.Set(&v) +} +// SetPasswordNil sets the value for Password to be an explicit nil +func (o *HostConfigResource) SetPasswordNil() { + o.Password.Set(nil) +} + +// UnsetPassword ensures that no value is present for Password, not even an explicit nil +func (o *HostConfigResource) UnsetPassword() { + o.Password.Unset() +} + +// GetLogLevel returns the LogLevel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetLogLevel() string { + if o == nil || isNil(o.LogLevel.Get()) { + var ret string + return ret + } + return *o.LogLevel.Get() +} + +// GetLogLevelOk returns a tuple with the LogLevel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetLogLevelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LogLevel.Get(), o.LogLevel.IsSet() +} + +// HasLogLevel returns a boolean if a field has been set. +func (o *HostConfigResource) HasLogLevel() bool { + if o != nil && o.LogLevel.IsSet() { + return true + } + + return false +} + +// SetLogLevel gets a reference to the given NullableString and assigns it to the LogLevel field. +func (o *HostConfigResource) SetLogLevel(v string) { + o.LogLevel.Set(&v) +} +// SetLogLevelNil sets the value for LogLevel to be an explicit nil +func (o *HostConfigResource) SetLogLevelNil() { + o.LogLevel.Set(nil) +} + +// UnsetLogLevel ensures that no value is present for LogLevel, not even an explicit nil +func (o *HostConfigResource) UnsetLogLevel() { + o.LogLevel.Unset() +} + +// GetConsoleLogLevel returns the ConsoleLogLevel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetConsoleLogLevel() string { + if o == nil || isNil(o.ConsoleLogLevel.Get()) { + var ret string + return ret + } + return *o.ConsoleLogLevel.Get() +} + +// GetConsoleLogLevelOk returns a tuple with the ConsoleLogLevel field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetConsoleLogLevelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConsoleLogLevel.Get(), o.ConsoleLogLevel.IsSet() +} + +// HasConsoleLogLevel returns a boolean if a field has been set. +func (o *HostConfigResource) HasConsoleLogLevel() bool { + if o != nil && o.ConsoleLogLevel.IsSet() { + return true + } + + return false +} + +// SetConsoleLogLevel gets a reference to the given NullableString and assigns it to the ConsoleLogLevel field. +func (o *HostConfigResource) SetConsoleLogLevel(v string) { + o.ConsoleLogLevel.Set(&v) +} +// SetConsoleLogLevelNil sets the value for ConsoleLogLevel to be an explicit nil +func (o *HostConfigResource) SetConsoleLogLevelNil() { + o.ConsoleLogLevel.Set(nil) +} + +// UnsetConsoleLogLevel ensures that no value is present for ConsoleLogLevel, not even an explicit nil +func (o *HostConfigResource) UnsetConsoleLogLevel() { + o.ConsoleLogLevel.Unset() +} + +// GetBranch returns the Branch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetBranch() string { + if o == nil || isNil(o.Branch.Get()) { + var ret string + return ret + } + return *o.Branch.Get() +} + +// GetBranchOk returns a tuple with the Branch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Branch.Get(), o.Branch.IsSet() +} + +// HasBranch returns a boolean if a field has been set. +func (o *HostConfigResource) HasBranch() bool { + if o != nil && o.Branch.IsSet() { + return true + } + + return false +} + +// SetBranch gets a reference to the given NullableString and assigns it to the Branch field. +func (o *HostConfigResource) SetBranch(v string) { + o.Branch.Set(&v) +} +// SetBranchNil sets the value for Branch to be an explicit nil +func (o *HostConfigResource) SetBranchNil() { + o.Branch.Set(nil) +} + +// UnsetBranch ensures that no value is present for Branch, not even an explicit nil +func (o *HostConfigResource) UnsetBranch() { + o.Branch.Unset() +} + +// GetApiKey returns the ApiKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetApiKey() string { + if o == nil || isNil(o.ApiKey.Get()) { + var ret string + return ret + } + return *o.ApiKey.Get() +} + +// GetApiKeyOk returns a tuple with the ApiKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetApiKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ApiKey.Get(), o.ApiKey.IsSet() +} + +// HasApiKey returns a boolean if a field has been set. +func (o *HostConfigResource) HasApiKey() bool { + if o != nil && o.ApiKey.IsSet() { + return true + } + + return false +} + +// SetApiKey gets a reference to the given NullableString and assigns it to the ApiKey field. +func (o *HostConfigResource) SetApiKey(v string) { + o.ApiKey.Set(&v) +} +// SetApiKeyNil sets the value for ApiKey to be an explicit nil +func (o *HostConfigResource) SetApiKeyNil() { + o.ApiKey.Set(nil) +} + +// UnsetApiKey ensures that no value is present for ApiKey, not even an explicit nil +func (o *HostConfigResource) UnsetApiKey() { + o.ApiKey.Unset() +} + +// GetSslCertPath returns the SslCertPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetSslCertPath() string { + if o == nil || isNil(o.SslCertPath.Get()) { + var ret string + return ret + } + return *o.SslCertPath.Get() +} + +// GetSslCertPathOk returns a tuple with the SslCertPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetSslCertPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SslCertPath.Get(), o.SslCertPath.IsSet() +} + +// HasSslCertPath returns a boolean if a field has been set. +func (o *HostConfigResource) HasSslCertPath() bool { + if o != nil && o.SslCertPath.IsSet() { + return true + } + + return false +} + +// SetSslCertPath gets a reference to the given NullableString and assigns it to the SslCertPath field. +func (o *HostConfigResource) SetSslCertPath(v string) { + o.SslCertPath.Set(&v) +} +// SetSslCertPathNil sets the value for SslCertPath to be an explicit nil +func (o *HostConfigResource) SetSslCertPathNil() { + o.SslCertPath.Set(nil) +} + +// UnsetSslCertPath ensures that no value is present for SslCertPath, not even an explicit nil +func (o *HostConfigResource) UnsetSslCertPath() { + o.SslCertPath.Unset() +} + +// GetSslCertPassword returns the SslCertPassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetSslCertPassword() string { + if o == nil || isNil(o.SslCertPassword.Get()) { + var ret string + return ret + } + return *o.SslCertPassword.Get() +} + +// GetSslCertPasswordOk returns a tuple with the SslCertPassword field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetSslCertPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SslCertPassword.Get(), o.SslCertPassword.IsSet() +} + +// HasSslCertPassword returns a boolean if a field has been set. +func (o *HostConfigResource) HasSslCertPassword() bool { + if o != nil && o.SslCertPassword.IsSet() { + return true + } + + return false +} + +// SetSslCertPassword gets a reference to the given NullableString and assigns it to the SslCertPassword field. +func (o *HostConfigResource) SetSslCertPassword(v string) { + o.SslCertPassword.Set(&v) +} +// SetSslCertPasswordNil sets the value for SslCertPassword to be an explicit nil +func (o *HostConfigResource) SetSslCertPasswordNil() { + o.SslCertPassword.Set(nil) +} + +// UnsetSslCertPassword ensures that no value is present for SslCertPassword, not even an explicit nil +func (o *HostConfigResource) UnsetSslCertPassword() { + o.SslCertPassword.Unset() +} + +// GetUrlBase returns the UrlBase field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetUrlBase() string { + if o == nil || isNil(o.UrlBase.Get()) { + var ret string + return ret + } + return *o.UrlBase.Get() +} + +// GetUrlBaseOk returns a tuple with the UrlBase field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetUrlBaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UrlBase.Get(), o.UrlBase.IsSet() +} + +// HasUrlBase returns a boolean if a field has been set. +func (o *HostConfigResource) HasUrlBase() bool { + if o != nil && o.UrlBase.IsSet() { + return true + } + + return false +} + +// SetUrlBase gets a reference to the given NullableString and assigns it to the UrlBase field. +func (o *HostConfigResource) SetUrlBase(v string) { + o.UrlBase.Set(&v) +} +// SetUrlBaseNil sets the value for UrlBase to be an explicit nil +func (o *HostConfigResource) SetUrlBaseNil() { + o.UrlBase.Set(nil) +} + +// UnsetUrlBase ensures that no value is present for UrlBase, not even an explicit nil +func (o *HostConfigResource) UnsetUrlBase() { + o.UrlBase.Unset() +} + +// GetInstanceName returns the InstanceName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetInstanceName() string { + if o == nil || isNil(o.InstanceName.Get()) { + var ret string + return ret + } + return *o.InstanceName.Get() +} + +// GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetInstanceNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InstanceName.Get(), o.InstanceName.IsSet() +} + +// HasInstanceName returns a boolean if a field has been set. +func (o *HostConfigResource) HasInstanceName() bool { + if o != nil && o.InstanceName.IsSet() { + return true + } + + return false +} + +// SetInstanceName gets a reference to the given NullableString and assigns it to the InstanceName field. +func (o *HostConfigResource) SetInstanceName(v string) { + o.InstanceName.Set(&v) +} +// SetInstanceNameNil sets the value for InstanceName to be an explicit nil +func (o *HostConfigResource) SetInstanceNameNil() { + o.InstanceName.Set(nil) +} + +// UnsetInstanceName ensures that no value is present for InstanceName, not even an explicit nil +func (o *HostConfigResource) UnsetInstanceName() { + o.InstanceName.Unset() +} + +// GetApplicationUrl returns the ApplicationUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetApplicationUrl() string { + if o == nil || isNil(o.ApplicationUrl.Get()) { + var ret string + return ret + } + return *o.ApplicationUrl.Get() +} + +// GetApplicationUrlOk returns a tuple with the ApplicationUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetApplicationUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ApplicationUrl.Get(), o.ApplicationUrl.IsSet() +} + +// HasApplicationUrl returns a boolean if a field has been set. +func (o *HostConfigResource) HasApplicationUrl() bool { + if o != nil && o.ApplicationUrl.IsSet() { + return true + } + + return false +} + +// SetApplicationUrl gets a reference to the given NullableString and assigns it to the ApplicationUrl field. +func (o *HostConfigResource) SetApplicationUrl(v string) { + o.ApplicationUrl.Set(&v) +} +// SetApplicationUrlNil sets the value for ApplicationUrl to be an explicit nil +func (o *HostConfigResource) SetApplicationUrlNil() { + o.ApplicationUrl.Set(nil) +} + +// UnsetApplicationUrl ensures that no value is present for ApplicationUrl, not even an explicit nil +func (o *HostConfigResource) UnsetApplicationUrl() { + o.ApplicationUrl.Unset() +} + +// GetUpdateAutomatically returns the UpdateAutomatically field value if set, zero value otherwise. +func (o *HostConfigResource) GetUpdateAutomatically() bool { + if o == nil || isNil(o.UpdateAutomatically) { + var ret bool + return ret + } + return *o.UpdateAutomatically +} + +// GetUpdateAutomaticallyOk returns a tuple with the UpdateAutomatically field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetUpdateAutomaticallyOk() (*bool, bool) { + if o == nil || isNil(o.UpdateAutomatically) { + return nil, false + } + return o.UpdateAutomatically, true +} + +// HasUpdateAutomatically returns a boolean if a field has been set. +func (o *HostConfigResource) HasUpdateAutomatically() bool { + if o != nil && !isNil(o.UpdateAutomatically) { + return true + } + + return false +} + +// SetUpdateAutomatically gets a reference to the given bool and assigns it to the UpdateAutomatically field. +func (o *HostConfigResource) SetUpdateAutomatically(v bool) { + o.UpdateAutomatically = &v +} + +// GetUpdateMechanism returns the UpdateMechanism field value if set, zero value otherwise. +func (o *HostConfigResource) GetUpdateMechanism() UpdateMechanism { + if o == nil || isNil(o.UpdateMechanism) { + var ret UpdateMechanism + return ret + } + return *o.UpdateMechanism +} + +// GetUpdateMechanismOk returns a tuple with the UpdateMechanism field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetUpdateMechanismOk() (*UpdateMechanism, bool) { + if o == nil || isNil(o.UpdateMechanism) { + return nil, false + } + return o.UpdateMechanism, true +} + +// HasUpdateMechanism returns a boolean if a field has been set. +func (o *HostConfigResource) HasUpdateMechanism() bool { + if o != nil && !isNil(o.UpdateMechanism) { + return true + } + + return false +} + +// SetUpdateMechanism gets a reference to the given UpdateMechanism and assigns it to the UpdateMechanism field. +func (o *HostConfigResource) SetUpdateMechanism(v UpdateMechanism) { + o.UpdateMechanism = &v +} + +// GetUpdateScriptPath returns the UpdateScriptPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetUpdateScriptPath() string { + if o == nil || isNil(o.UpdateScriptPath.Get()) { + var ret string + return ret + } + return *o.UpdateScriptPath.Get() +} + +// GetUpdateScriptPathOk returns a tuple with the UpdateScriptPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetUpdateScriptPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UpdateScriptPath.Get(), o.UpdateScriptPath.IsSet() +} + +// HasUpdateScriptPath returns a boolean if a field has been set. +func (o *HostConfigResource) HasUpdateScriptPath() bool { + if o != nil && o.UpdateScriptPath.IsSet() { + return true + } + + return false +} + +// SetUpdateScriptPath gets a reference to the given NullableString and assigns it to the UpdateScriptPath field. +func (o *HostConfigResource) SetUpdateScriptPath(v string) { + o.UpdateScriptPath.Set(&v) +} +// SetUpdateScriptPathNil sets the value for UpdateScriptPath to be an explicit nil +func (o *HostConfigResource) SetUpdateScriptPathNil() { + o.UpdateScriptPath.Set(nil) +} + +// UnsetUpdateScriptPath ensures that no value is present for UpdateScriptPath, not even an explicit nil +func (o *HostConfigResource) UnsetUpdateScriptPath() { + o.UpdateScriptPath.Unset() +} + +// GetProxyEnabled returns the ProxyEnabled field value if set, zero value otherwise. +func (o *HostConfigResource) GetProxyEnabled() bool { + if o == nil || isNil(o.ProxyEnabled) { + var ret bool + return ret + } + return *o.ProxyEnabled +} + +// GetProxyEnabledOk returns a tuple with the ProxyEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetProxyEnabledOk() (*bool, bool) { + if o == nil || isNil(o.ProxyEnabled) { + return nil, false + } + return o.ProxyEnabled, true +} + +// HasProxyEnabled returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyEnabled() bool { + if o != nil && !isNil(o.ProxyEnabled) { + return true + } + + return false +} + +// SetProxyEnabled gets a reference to the given bool and assigns it to the ProxyEnabled field. +func (o *HostConfigResource) SetProxyEnabled(v bool) { + o.ProxyEnabled = &v +} + +// GetProxyType returns the ProxyType field value if set, zero value otherwise. +func (o *HostConfigResource) GetProxyType() ProxyType { + if o == nil || isNil(o.ProxyType) { + var ret ProxyType + return ret + } + return *o.ProxyType +} + +// GetProxyTypeOk returns a tuple with the ProxyType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetProxyTypeOk() (*ProxyType, bool) { + if o == nil || isNil(o.ProxyType) { + return nil, false + } + return o.ProxyType, true +} + +// HasProxyType returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyType() bool { + if o != nil && !isNil(o.ProxyType) { + return true + } + + return false +} + +// SetProxyType gets a reference to the given ProxyType and assigns it to the ProxyType field. +func (o *HostConfigResource) SetProxyType(v ProxyType) { + o.ProxyType = &v +} + +// GetProxyHostname returns the ProxyHostname field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetProxyHostname() string { + if o == nil || isNil(o.ProxyHostname.Get()) { + var ret string + return ret + } + return *o.ProxyHostname.Get() +} + +// GetProxyHostnameOk returns a tuple with the ProxyHostname field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetProxyHostnameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProxyHostname.Get(), o.ProxyHostname.IsSet() +} + +// HasProxyHostname returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyHostname() bool { + if o != nil && o.ProxyHostname.IsSet() { + return true + } + + return false +} + +// SetProxyHostname gets a reference to the given NullableString and assigns it to the ProxyHostname field. +func (o *HostConfigResource) SetProxyHostname(v string) { + o.ProxyHostname.Set(&v) +} +// SetProxyHostnameNil sets the value for ProxyHostname to be an explicit nil +func (o *HostConfigResource) SetProxyHostnameNil() { + o.ProxyHostname.Set(nil) +} + +// UnsetProxyHostname ensures that no value is present for ProxyHostname, not even an explicit nil +func (o *HostConfigResource) UnsetProxyHostname() { + o.ProxyHostname.Unset() +} + +// GetProxyPort returns the ProxyPort field value if set, zero value otherwise. +func (o *HostConfigResource) GetProxyPort() int32 { + if o == nil || isNil(o.ProxyPort) { + var ret int32 + return ret + } + return *o.ProxyPort +} + +// GetProxyPortOk returns a tuple with the ProxyPort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetProxyPortOk() (*int32, bool) { + if o == nil || isNil(o.ProxyPort) { + return nil, false + } + return o.ProxyPort, true +} + +// HasProxyPort returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyPort() bool { + if o != nil && !isNil(o.ProxyPort) { + return true + } + + return false +} + +// SetProxyPort gets a reference to the given int32 and assigns it to the ProxyPort field. +func (o *HostConfigResource) SetProxyPort(v int32) { + o.ProxyPort = &v +} + +// GetProxyUsername returns the ProxyUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetProxyUsername() string { + if o == nil || isNil(o.ProxyUsername.Get()) { + var ret string + return ret + } + return *o.ProxyUsername.Get() +} + +// GetProxyUsernameOk returns a tuple with the ProxyUsername field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetProxyUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProxyUsername.Get(), o.ProxyUsername.IsSet() +} + +// HasProxyUsername returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyUsername() bool { + if o != nil && o.ProxyUsername.IsSet() { + return true + } + + return false +} + +// SetProxyUsername gets a reference to the given NullableString and assigns it to the ProxyUsername field. +func (o *HostConfigResource) SetProxyUsername(v string) { + o.ProxyUsername.Set(&v) +} +// SetProxyUsernameNil sets the value for ProxyUsername to be an explicit nil +func (o *HostConfigResource) SetProxyUsernameNil() { + o.ProxyUsername.Set(nil) +} + +// UnsetProxyUsername ensures that no value is present for ProxyUsername, not even an explicit nil +func (o *HostConfigResource) UnsetProxyUsername() { + o.ProxyUsername.Unset() +} + +// GetProxyPassword returns the ProxyPassword field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetProxyPassword() string { + if o == nil || isNil(o.ProxyPassword.Get()) { + var ret string + return ret + } + return *o.ProxyPassword.Get() +} + +// GetProxyPasswordOk returns a tuple with the ProxyPassword field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetProxyPasswordOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProxyPassword.Get(), o.ProxyPassword.IsSet() +} + +// HasProxyPassword returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyPassword() bool { + if o != nil && o.ProxyPassword.IsSet() { + return true + } + + return false +} + +// SetProxyPassword gets a reference to the given NullableString and assigns it to the ProxyPassword field. +func (o *HostConfigResource) SetProxyPassword(v string) { + o.ProxyPassword.Set(&v) +} +// SetProxyPasswordNil sets the value for ProxyPassword to be an explicit nil +func (o *HostConfigResource) SetProxyPasswordNil() { + o.ProxyPassword.Set(nil) +} + +// UnsetProxyPassword ensures that no value is present for ProxyPassword, not even an explicit nil +func (o *HostConfigResource) UnsetProxyPassword() { + o.ProxyPassword.Unset() +} + +// GetProxyBypassFilter returns the ProxyBypassFilter field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetProxyBypassFilter() string { + if o == nil || isNil(o.ProxyBypassFilter.Get()) { + var ret string + return ret + } + return *o.ProxyBypassFilter.Get() +} + +// GetProxyBypassFilterOk returns a tuple with the ProxyBypassFilter field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetProxyBypassFilterOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProxyBypassFilter.Get(), o.ProxyBypassFilter.IsSet() +} + +// HasProxyBypassFilter returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyBypassFilter() bool { + if o != nil && o.ProxyBypassFilter.IsSet() { + return true + } + + return false +} + +// SetProxyBypassFilter gets a reference to the given NullableString and assigns it to the ProxyBypassFilter field. +func (o *HostConfigResource) SetProxyBypassFilter(v string) { + o.ProxyBypassFilter.Set(&v) +} +// SetProxyBypassFilterNil sets the value for ProxyBypassFilter to be an explicit nil +func (o *HostConfigResource) SetProxyBypassFilterNil() { + o.ProxyBypassFilter.Set(nil) +} + +// UnsetProxyBypassFilter ensures that no value is present for ProxyBypassFilter, not even an explicit nil +func (o *HostConfigResource) UnsetProxyBypassFilter() { + o.ProxyBypassFilter.Unset() +} + +// GetProxyBypassLocalAddresses returns the ProxyBypassLocalAddresses field value if set, zero value otherwise. +func (o *HostConfigResource) GetProxyBypassLocalAddresses() bool { + if o == nil || isNil(o.ProxyBypassLocalAddresses) { + var ret bool + return ret + } + return *o.ProxyBypassLocalAddresses +} + +// GetProxyBypassLocalAddressesOk returns a tuple with the ProxyBypassLocalAddresses field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetProxyBypassLocalAddressesOk() (*bool, bool) { + if o == nil || isNil(o.ProxyBypassLocalAddresses) { + return nil, false + } + return o.ProxyBypassLocalAddresses, true +} + +// HasProxyBypassLocalAddresses returns a boolean if a field has been set. +func (o *HostConfigResource) HasProxyBypassLocalAddresses() bool { + if o != nil && !isNil(o.ProxyBypassLocalAddresses) { + return true + } + + return false +} + +// SetProxyBypassLocalAddresses gets a reference to the given bool and assigns it to the ProxyBypassLocalAddresses field. +func (o *HostConfigResource) SetProxyBypassLocalAddresses(v bool) { + o.ProxyBypassLocalAddresses = &v +} + +// GetCertificateValidation returns the CertificateValidation field value if set, zero value otherwise. +func (o *HostConfigResource) GetCertificateValidation() CertificateValidationType { + if o == nil || isNil(o.CertificateValidation) { + var ret CertificateValidationType + return ret + } + return *o.CertificateValidation +} + +// GetCertificateValidationOk returns a tuple with the CertificateValidation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetCertificateValidationOk() (*CertificateValidationType, bool) { + if o == nil || isNil(o.CertificateValidation) { + return nil, false + } + return o.CertificateValidation, true +} + +// HasCertificateValidation returns a boolean if a field has been set. +func (o *HostConfigResource) HasCertificateValidation() bool { + if o != nil && !isNil(o.CertificateValidation) { + return true + } + + return false +} + +// SetCertificateValidation gets a reference to the given CertificateValidationType and assigns it to the CertificateValidation field. +func (o *HostConfigResource) SetCertificateValidation(v CertificateValidationType) { + o.CertificateValidation = &v +} + +// GetBackupFolder returns the BackupFolder field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HostConfigResource) GetBackupFolder() string { + if o == nil || isNil(o.BackupFolder.Get()) { + var ret string + return ret + } + return *o.BackupFolder.Get() +} + +// GetBackupFolderOk returns a tuple with the BackupFolder field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HostConfigResource) GetBackupFolderOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.BackupFolder.Get(), o.BackupFolder.IsSet() +} + +// HasBackupFolder returns a boolean if a field has been set. +func (o *HostConfigResource) HasBackupFolder() bool { + if o != nil && o.BackupFolder.IsSet() { + return true + } + + return false +} + +// SetBackupFolder gets a reference to the given NullableString and assigns it to the BackupFolder field. +func (o *HostConfigResource) SetBackupFolder(v string) { + o.BackupFolder.Set(&v) +} +// SetBackupFolderNil sets the value for BackupFolder to be an explicit nil +func (o *HostConfigResource) SetBackupFolderNil() { + o.BackupFolder.Set(nil) +} + +// UnsetBackupFolder ensures that no value is present for BackupFolder, not even an explicit nil +func (o *HostConfigResource) UnsetBackupFolder() { + o.BackupFolder.Unset() +} + +// GetBackupInterval returns the BackupInterval field value if set, zero value otherwise. +func (o *HostConfigResource) GetBackupInterval() int32 { + if o == nil || isNil(o.BackupInterval) { + var ret int32 + return ret + } + return *o.BackupInterval +} + +// GetBackupIntervalOk returns a tuple with the BackupInterval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetBackupIntervalOk() (*int32, bool) { + if o == nil || isNil(o.BackupInterval) { + return nil, false + } + return o.BackupInterval, true +} + +// HasBackupInterval returns a boolean if a field has been set. +func (o *HostConfigResource) HasBackupInterval() bool { + if o != nil && !isNil(o.BackupInterval) { + return true + } + + return false +} + +// SetBackupInterval gets a reference to the given int32 and assigns it to the BackupInterval field. +func (o *HostConfigResource) SetBackupInterval(v int32) { + o.BackupInterval = &v +} + +// GetBackupRetention returns the BackupRetention field value if set, zero value otherwise. +func (o *HostConfigResource) GetBackupRetention() int32 { + if o == nil || isNil(o.BackupRetention) { + var ret int32 + return ret + } + return *o.BackupRetention +} + +// GetBackupRetentionOk returns a tuple with the BackupRetention field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HostConfigResource) GetBackupRetentionOk() (*int32, bool) { + if o == nil || isNil(o.BackupRetention) { + return nil, false + } + return o.BackupRetention, true +} + +// HasBackupRetention returns a boolean if a field has been set. +func (o *HostConfigResource) HasBackupRetention() bool { + if o != nil && !isNil(o.BackupRetention) { + return true + } + + return false +} + +// SetBackupRetention gets a reference to the given int32 and assigns it to the BackupRetention field. +func (o *HostConfigResource) SetBackupRetention(v int32) { + o.BackupRetention = &v +} + +func (o HostConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.BindAddress.IsSet() { + toSerialize["bindAddress"] = o.BindAddress.Get() + } + if !isNil(o.Port) { + toSerialize["port"] = o.Port + } + if !isNil(o.SslPort) { + toSerialize["sslPort"] = o.SslPort + } + if !isNil(o.EnableSsl) { + toSerialize["enableSsl"] = o.EnableSsl + } + if !isNil(o.LaunchBrowser) { + toSerialize["launchBrowser"] = o.LaunchBrowser + } + if !isNil(o.AuthenticationMethod) { + toSerialize["authenticationMethod"] = o.AuthenticationMethod + } + if !isNil(o.AnalyticsEnabled) { + toSerialize["analyticsEnabled"] = o.AnalyticsEnabled + } + if o.Username.IsSet() { + toSerialize["username"] = o.Username.Get() + } + if o.Password.IsSet() { + toSerialize["password"] = o.Password.Get() + } + if o.LogLevel.IsSet() { + toSerialize["logLevel"] = o.LogLevel.Get() + } + if o.ConsoleLogLevel.IsSet() { + toSerialize["consoleLogLevel"] = o.ConsoleLogLevel.Get() + } + if o.Branch.IsSet() { + toSerialize["branch"] = o.Branch.Get() + } + if o.ApiKey.IsSet() { + toSerialize["apiKey"] = o.ApiKey.Get() + } + if o.SslCertPath.IsSet() { + toSerialize["sslCertPath"] = o.SslCertPath.Get() + } + if o.SslCertPassword.IsSet() { + toSerialize["sslCertPassword"] = o.SslCertPassword.Get() + } + if o.UrlBase.IsSet() { + toSerialize["urlBase"] = o.UrlBase.Get() + } + if o.InstanceName.IsSet() { + toSerialize["instanceName"] = o.InstanceName.Get() + } + if o.ApplicationUrl.IsSet() { + toSerialize["applicationUrl"] = o.ApplicationUrl.Get() + } + if !isNil(o.UpdateAutomatically) { + toSerialize["updateAutomatically"] = o.UpdateAutomatically + } + if !isNil(o.UpdateMechanism) { + toSerialize["updateMechanism"] = o.UpdateMechanism + } + if o.UpdateScriptPath.IsSet() { + toSerialize["updateScriptPath"] = o.UpdateScriptPath.Get() + } + if !isNil(o.ProxyEnabled) { + toSerialize["proxyEnabled"] = o.ProxyEnabled + } + if !isNil(o.ProxyType) { + toSerialize["proxyType"] = o.ProxyType + } + if o.ProxyHostname.IsSet() { + toSerialize["proxyHostname"] = o.ProxyHostname.Get() + } + if !isNil(o.ProxyPort) { + toSerialize["proxyPort"] = o.ProxyPort + } + if o.ProxyUsername.IsSet() { + toSerialize["proxyUsername"] = o.ProxyUsername.Get() + } + if o.ProxyPassword.IsSet() { + toSerialize["proxyPassword"] = o.ProxyPassword.Get() + } + if o.ProxyBypassFilter.IsSet() { + toSerialize["proxyBypassFilter"] = o.ProxyBypassFilter.Get() + } + if !isNil(o.ProxyBypassLocalAddresses) { + toSerialize["proxyBypassLocalAddresses"] = o.ProxyBypassLocalAddresses + } + if !isNil(o.CertificateValidation) { + toSerialize["certificateValidation"] = o.CertificateValidation + } + if o.BackupFolder.IsSet() { + toSerialize["backupFolder"] = o.BackupFolder.Get() + } + if !isNil(o.BackupInterval) { + toSerialize["backupInterval"] = o.BackupInterval + } + if !isNil(o.BackupRetention) { + toSerialize["backupRetention"] = o.BackupRetention + } + return json.Marshal(toSerialize) +} + +type NullableHostConfigResource struct { + value *HostConfigResource + isSet bool +} + +func (v NullableHostConfigResource) Get() *HostConfigResource { + return v.value +} + +func (v *NullableHostConfigResource) Set(val *HostConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableHostConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableHostConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHostConfigResource(val *HostConfigResource) *NullableHostConfigResource { + return &NullableHostConfigResource{value: val, isSet: true} +} + +func (v NullableHostConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHostConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_http_uri.go b/lidarr/model_http_uri.go new file mode 100644 index 0000000..8a2fc48 --- /dev/null +++ b/lidarr/model_http_uri.go @@ -0,0 +1,401 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// HttpUri struct for HttpUri +type HttpUri struct { + FullUri NullableString `json:"fullUri,omitempty"` + Scheme NullableString `json:"scheme,omitempty"` + Host NullableString `json:"host,omitempty"` + Port NullableInt32 `json:"port,omitempty"` + Path NullableString `json:"path,omitempty"` + Query NullableString `json:"query,omitempty"` + Fragment NullableString `json:"fragment,omitempty"` +} + +// NewHttpUri instantiates a new HttpUri object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewHttpUri() *HttpUri { + this := HttpUri{} + return &this +} + +// NewHttpUriWithDefaults instantiates a new HttpUri object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHttpUriWithDefaults() *HttpUri { + this := HttpUri{} + return &this +} + +// GetFullUri returns the FullUri field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetFullUri() string { + if o == nil || isNil(o.FullUri.Get()) { + var ret string + return ret + } + return *o.FullUri.Get() +} + +// GetFullUriOk returns a tuple with the FullUri field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetFullUriOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FullUri.Get(), o.FullUri.IsSet() +} + +// HasFullUri returns a boolean if a field has been set. +func (o *HttpUri) HasFullUri() bool { + if o != nil && o.FullUri.IsSet() { + return true + } + + return false +} + +// SetFullUri gets a reference to the given NullableString and assigns it to the FullUri field. +func (o *HttpUri) SetFullUri(v string) { + o.FullUri.Set(&v) +} +// SetFullUriNil sets the value for FullUri to be an explicit nil +func (o *HttpUri) SetFullUriNil() { + o.FullUri.Set(nil) +} + +// UnsetFullUri ensures that no value is present for FullUri, not even an explicit nil +func (o *HttpUri) UnsetFullUri() { + o.FullUri.Unset() +} + +// GetScheme returns the Scheme field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetScheme() string { + if o == nil || isNil(o.Scheme.Get()) { + var ret string + return ret + } + return *o.Scheme.Get() +} + +// GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetSchemeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Scheme.Get(), o.Scheme.IsSet() +} + +// HasScheme returns a boolean if a field has been set. +func (o *HttpUri) HasScheme() bool { + if o != nil && o.Scheme.IsSet() { + return true + } + + return false +} + +// SetScheme gets a reference to the given NullableString and assigns it to the Scheme field. +func (o *HttpUri) SetScheme(v string) { + o.Scheme.Set(&v) +} +// SetSchemeNil sets the value for Scheme to be an explicit nil +func (o *HttpUri) SetSchemeNil() { + o.Scheme.Set(nil) +} + +// UnsetScheme ensures that no value is present for Scheme, not even an explicit nil +func (o *HttpUri) UnsetScheme() { + o.Scheme.Unset() +} + +// GetHost returns the Host field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetHost() string { + if o == nil || isNil(o.Host.Get()) { + var ret string + return ret + } + return *o.Host.Get() +} + +// GetHostOk returns a tuple with the Host field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Host.Get(), o.Host.IsSet() +} + +// HasHost returns a boolean if a field has been set. +func (o *HttpUri) HasHost() bool { + if o != nil && o.Host.IsSet() { + return true + } + + return false +} + +// SetHost gets a reference to the given NullableString and assigns it to the Host field. +func (o *HttpUri) SetHost(v string) { + o.Host.Set(&v) +} +// SetHostNil sets the value for Host to be an explicit nil +func (o *HttpUri) SetHostNil() { + o.Host.Set(nil) +} + +// UnsetHost ensures that no value is present for Host, not even an explicit nil +func (o *HttpUri) UnsetHost() { + o.Host.Unset() +} + +// GetPort returns the Port field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetPort() int32 { + if o == nil || isNil(o.Port.Get()) { + var ret int32 + return ret + } + return *o.Port.Get() +} + +// GetPortOk returns a tuple with the Port field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetPortOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Port.Get(), o.Port.IsSet() +} + +// HasPort returns a boolean if a field has been set. +func (o *HttpUri) HasPort() bool { + if o != nil && o.Port.IsSet() { + return true + } + + return false +} + +// SetPort gets a reference to the given NullableInt32 and assigns it to the Port field. +func (o *HttpUri) SetPort(v int32) { + o.Port.Set(&v) +} +// SetPortNil sets the value for Port to be an explicit nil +func (o *HttpUri) SetPortNil() { + o.Port.Set(nil) +} + +// UnsetPort ensures that no value is present for Port, not even an explicit nil +func (o *HttpUri) UnsetPort() { + o.Port.Unset() +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *HttpUri) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *HttpUri) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *HttpUri) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *HttpUri) UnsetPath() { + o.Path.Unset() +} + +// GetQuery returns the Query field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetQuery() string { + if o == nil || isNil(o.Query.Get()) { + var ret string + return ret + } + return *o.Query.Get() +} + +// GetQueryOk returns a tuple with the Query field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Query.Get(), o.Query.IsSet() +} + +// HasQuery returns a boolean if a field has been set. +func (o *HttpUri) HasQuery() bool { + if o != nil && o.Query.IsSet() { + return true + } + + return false +} + +// SetQuery gets a reference to the given NullableString and assigns it to the Query field. +func (o *HttpUri) SetQuery(v string) { + o.Query.Set(&v) +} +// SetQueryNil sets the value for Query to be an explicit nil +func (o *HttpUri) SetQueryNil() { + o.Query.Set(nil) +} + +// UnsetQuery ensures that no value is present for Query, not even an explicit nil +func (o *HttpUri) UnsetQuery() { + o.Query.Unset() +} + +// GetFragment returns the Fragment field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HttpUri) GetFragment() string { + if o == nil || isNil(o.Fragment.Get()) { + var ret string + return ret + } + return *o.Fragment.Get() +} + +// GetFragmentOk returns a tuple with the Fragment field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HttpUri) GetFragmentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Fragment.Get(), o.Fragment.IsSet() +} + +// HasFragment returns a boolean if a field has been set. +func (o *HttpUri) HasFragment() bool { + if o != nil && o.Fragment.IsSet() { + return true + } + + return false +} + +// SetFragment gets a reference to the given NullableString and assigns it to the Fragment field. +func (o *HttpUri) SetFragment(v string) { + o.Fragment.Set(&v) +} +// SetFragmentNil sets the value for Fragment to be an explicit nil +func (o *HttpUri) SetFragmentNil() { + o.Fragment.Set(nil) +} + +// UnsetFragment ensures that no value is present for Fragment, not even an explicit nil +func (o *HttpUri) UnsetFragment() { + o.Fragment.Unset() +} + +func (o HttpUri) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.FullUri.IsSet() { + toSerialize["fullUri"] = o.FullUri.Get() + } + if o.Scheme.IsSet() { + toSerialize["scheme"] = o.Scheme.Get() + } + if o.Host.IsSet() { + toSerialize["host"] = o.Host.Get() + } + if o.Port.IsSet() { + toSerialize["port"] = o.Port.Get() + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if o.Query.IsSet() { + toSerialize["query"] = o.Query.Get() + } + if o.Fragment.IsSet() { + toSerialize["fragment"] = o.Fragment.Get() + } + return json.Marshal(toSerialize) +} + +type NullableHttpUri struct { + value *HttpUri + isSet bool +} + +func (v NullableHttpUri) Get() *HttpUri { + return v.value +} + +func (v *NullableHttpUri) Set(val *HttpUri) { + v.value = val + v.isSet = true +} + +func (v NullableHttpUri) IsSet() bool { + return v.isSet +} + +func (v *NullableHttpUri) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHttpUri(val *HttpUri) *NullableHttpUri { + return &NullableHttpUri{value: val, isSet: true} +} + +func (v NullableHttpUri) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHttpUri) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_import_list_exclusion_resource.go b/lidarr/model_import_list_exclusion_resource.go new file mode 100644 index 0000000..93da624 --- /dev/null +++ b/lidarr/model_import_list_exclusion_resource.go @@ -0,0 +1,207 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ImportListExclusionResource struct for ImportListExclusionResource +type ImportListExclusionResource struct { + Id *int32 `json:"id,omitempty"` + ForeignId NullableString `json:"foreignId,omitempty"` + ArtistName NullableString `json:"artistName,omitempty"` +} + +// NewImportListExclusionResource instantiates a new ImportListExclusionResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewImportListExclusionResource() *ImportListExclusionResource { + this := ImportListExclusionResource{} + return &this +} + +// NewImportListExclusionResourceWithDefaults instantiates a new ImportListExclusionResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewImportListExclusionResourceWithDefaults() *ImportListExclusionResource { + this := ImportListExclusionResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ImportListExclusionResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListExclusionResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ImportListExclusionResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ImportListExclusionResource) SetId(v int32) { + o.Id = &v +} + +// GetForeignId returns the ForeignId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListExclusionResource) GetForeignId() string { + if o == nil || isNil(o.ForeignId.Get()) { + var ret string + return ret + } + return *o.ForeignId.Get() +} + +// GetForeignIdOk returns a tuple with the ForeignId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListExclusionResource) GetForeignIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignId.Get(), o.ForeignId.IsSet() +} + +// HasForeignId returns a boolean if a field has been set. +func (o *ImportListExclusionResource) HasForeignId() bool { + if o != nil && o.ForeignId.IsSet() { + return true + } + + return false +} + +// SetForeignId gets a reference to the given NullableString and assigns it to the ForeignId field. +func (o *ImportListExclusionResource) SetForeignId(v string) { + o.ForeignId.Set(&v) +} +// SetForeignIdNil sets the value for ForeignId to be an explicit nil +func (o *ImportListExclusionResource) SetForeignIdNil() { + o.ForeignId.Set(nil) +} + +// UnsetForeignId ensures that no value is present for ForeignId, not even an explicit nil +func (o *ImportListExclusionResource) UnsetForeignId() { + o.ForeignId.Unset() +} + +// GetArtistName returns the ArtistName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListExclusionResource) GetArtistName() string { + if o == nil || isNil(o.ArtistName.Get()) { + var ret string + return ret + } + return *o.ArtistName.Get() +} + +// GetArtistNameOk returns a tuple with the ArtistName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListExclusionResource) GetArtistNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistName.Get(), o.ArtistName.IsSet() +} + +// HasArtistName returns a boolean if a field has been set. +func (o *ImportListExclusionResource) HasArtistName() bool { + if o != nil && o.ArtistName.IsSet() { + return true + } + + return false +} + +// SetArtistName gets a reference to the given NullableString and assigns it to the ArtistName field. +func (o *ImportListExclusionResource) SetArtistName(v string) { + o.ArtistName.Set(&v) +} +// SetArtistNameNil sets the value for ArtistName to be an explicit nil +func (o *ImportListExclusionResource) SetArtistNameNil() { + o.ArtistName.Set(nil) +} + +// UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +func (o *ImportListExclusionResource) UnsetArtistName() { + o.ArtistName.Unset() +} + +func (o ImportListExclusionResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.ForeignId.IsSet() { + toSerialize["foreignId"] = o.ForeignId.Get() + } + if o.ArtistName.IsSet() { + toSerialize["artistName"] = o.ArtistName.Get() + } + return json.Marshal(toSerialize) +} + +type NullableImportListExclusionResource struct { + value *ImportListExclusionResource + isSet bool +} + +func (v NullableImportListExclusionResource) Get() *ImportListExclusionResource { + return v.value +} + +func (v *NullableImportListExclusionResource) Set(val *ImportListExclusionResource) { + v.value = val + v.isSet = true +} + +func (v NullableImportListExclusionResource) IsSet() bool { + return v.isSet +} + +func (v *NullableImportListExclusionResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableImportListExclusionResource(val *ImportListExclusionResource) *NullableImportListExclusionResource { + return &NullableImportListExclusionResource{value: val, isSet: true} +} + +func (v NullableImportListExclusionResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableImportListExclusionResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_import_list_monitor_type.go b/lidarr/model_import_list_monitor_type.go new file mode 100644 index 0000000..4e0ceda --- /dev/null +++ b/lidarr/model_import_list_monitor_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ImportListMonitorType the model 'ImportListMonitorType' +type ImportListMonitorType string + +// List of ImportListMonitorType +const ( + IMPORTLISTMONITORTYPE_NONE ImportListMonitorType = "none" + IMPORTLISTMONITORTYPE_SPECIFIC_ALBUM ImportListMonitorType = "specificAlbum" + IMPORTLISTMONITORTYPE_ENTIRE_ARTIST ImportListMonitorType = "entireArtist" +) + +// All allowed values of ImportListMonitorType enum +var AllowedImportListMonitorTypeEnumValues = []ImportListMonitorType{ + "none", + "specificAlbum", + "entireArtist", +} + +func (v *ImportListMonitorType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ImportListMonitorType(value) + for _, existing := range AllowedImportListMonitorTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ImportListMonitorType", value) +} + +// NewImportListMonitorTypeFromValue returns a pointer to a valid ImportListMonitorType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewImportListMonitorTypeFromValue(v string) (*ImportListMonitorType, error) { + ev := ImportListMonitorType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ImportListMonitorType: valid values are %v", v, AllowedImportListMonitorTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ImportListMonitorType) IsValid() bool { + for _, existing := range AllowedImportListMonitorTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ImportListMonitorType value +func (v ImportListMonitorType) Ptr() *ImportListMonitorType { + return &v +} + +type NullableImportListMonitorType struct { + value *ImportListMonitorType + isSet bool +} + +func (v NullableImportListMonitorType) Get() *ImportListMonitorType { + return v.value +} + +func (v *NullableImportListMonitorType) Set(val *ImportListMonitorType) { + v.value = val + v.isSet = true +} + +func (v NullableImportListMonitorType) IsSet() bool { + return v.isSet +} + +func (v *NullableImportListMonitorType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableImportListMonitorType(val *ImportListMonitorType) *NullableImportListMonitorType { + return &NullableImportListMonitorType{value: val, isSet: true} +} + +func (v NullableImportListMonitorType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableImportListMonitorType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_import_list_resource.go b/lidarr/model_import_list_resource.go new file mode 100644 index 0000000..7a736be --- /dev/null +++ b/lidarr/model_import_list_resource.go @@ -0,0 +1,862 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ImportListResource struct for ImportListResource +type ImportListResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Fields []*Field `json:"fields,omitempty"` + ImplementationName NullableString `json:"implementationName,omitempty"` + Implementation NullableString `json:"implementation,omitempty"` + ConfigContract NullableString `json:"configContract,omitempty"` + InfoLink NullableString `json:"infoLink,omitempty"` + Message *ProviderMessage `json:"message,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Presets []*ImportListResource `json:"presets,omitempty"` + EnableAutomaticAdd *bool `json:"enableAutomaticAdd,omitempty"` + ShouldMonitor *ImportListMonitorType `json:"shouldMonitor,omitempty"` + ShouldMonitorExisting *bool `json:"shouldMonitorExisting,omitempty"` + ShouldSearch *bool `json:"shouldSearch,omitempty"` + RootFolderPath NullableString `json:"rootFolderPath,omitempty"` + MonitorNewItems *NewItemMonitorTypes `json:"monitorNewItems,omitempty"` + QualityProfileId *int32 `json:"qualityProfileId,omitempty"` + MetadataProfileId *int32 `json:"metadataProfileId,omitempty"` + ListType *ImportListType `json:"listType,omitempty"` + ListOrder *int32 `json:"listOrder,omitempty"` +} + +// NewImportListResource instantiates a new ImportListResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewImportListResource() *ImportListResource { + this := ImportListResource{} + return &this +} + +// NewImportListResourceWithDefaults instantiates a new ImportListResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewImportListResourceWithDefaults() *ImportListResource { + this := ImportListResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ImportListResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ImportListResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ImportListResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ImportListResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ImportListResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *ImportListResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ImportListResource) UnsetName() { + o.Name.Unset() +} + +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetFields() []*Field { + if o == nil { + var ret []*Field + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetFieldsOk() ([]*Field, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *ImportListResource) HasFields() bool { + if o != nil && isNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given []Field and assigns it to the Fields field. +func (o *ImportListResource) SetFields(v []*Field) { + o.Fields = v +} + +// GetImplementationName returns the ImplementationName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetImplementationName() string { + if o == nil || isNil(o.ImplementationName.Get()) { + var ret string + return ret + } + return *o.ImplementationName.Get() +} + +// GetImplementationNameOk returns a tuple with the ImplementationName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetImplementationNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ImplementationName.Get(), o.ImplementationName.IsSet() +} + +// HasImplementationName returns a boolean if a field has been set. +func (o *ImportListResource) HasImplementationName() bool { + if o != nil && o.ImplementationName.IsSet() { + return true + } + + return false +} + +// SetImplementationName gets a reference to the given NullableString and assigns it to the ImplementationName field. +func (o *ImportListResource) SetImplementationName(v string) { + o.ImplementationName.Set(&v) +} +// SetImplementationNameNil sets the value for ImplementationName to be an explicit nil +func (o *ImportListResource) SetImplementationNameNil() { + o.ImplementationName.Set(nil) +} + +// UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +func (o *ImportListResource) UnsetImplementationName() { + o.ImplementationName.Unset() +} + +// GetImplementation returns the Implementation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetImplementation() string { + if o == nil || isNil(o.Implementation.Get()) { + var ret string + return ret + } + return *o.Implementation.Get() +} + +// GetImplementationOk returns a tuple with the Implementation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetImplementationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Implementation.Get(), o.Implementation.IsSet() +} + +// HasImplementation returns a boolean if a field has been set. +func (o *ImportListResource) HasImplementation() bool { + if o != nil && o.Implementation.IsSet() { + return true + } + + return false +} + +// SetImplementation gets a reference to the given NullableString and assigns it to the Implementation field. +func (o *ImportListResource) SetImplementation(v string) { + o.Implementation.Set(&v) +} +// SetImplementationNil sets the value for Implementation to be an explicit nil +func (o *ImportListResource) SetImplementationNil() { + o.Implementation.Set(nil) +} + +// UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +func (o *ImportListResource) UnsetImplementation() { + o.Implementation.Unset() +} + +// GetConfigContract returns the ConfigContract field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetConfigContract() string { + if o == nil || isNil(o.ConfigContract.Get()) { + var ret string + return ret + } + return *o.ConfigContract.Get() +} + +// GetConfigContractOk returns a tuple with the ConfigContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetConfigContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConfigContract.Get(), o.ConfigContract.IsSet() +} + +// HasConfigContract returns a boolean if a field has been set. +func (o *ImportListResource) HasConfigContract() bool { + if o != nil && o.ConfigContract.IsSet() { + return true + } + + return false +} + +// SetConfigContract gets a reference to the given NullableString and assigns it to the ConfigContract field. +func (o *ImportListResource) SetConfigContract(v string) { + o.ConfigContract.Set(&v) +} +// SetConfigContractNil sets the value for ConfigContract to be an explicit nil +func (o *ImportListResource) SetConfigContractNil() { + o.ConfigContract.Set(nil) +} + +// UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +func (o *ImportListResource) UnsetConfigContract() { + o.ConfigContract.Unset() +} + +// GetInfoLink returns the InfoLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetInfoLink() string { + if o == nil || isNil(o.InfoLink.Get()) { + var ret string + return ret + } + return *o.InfoLink.Get() +} + +// GetInfoLinkOk returns a tuple with the InfoLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetInfoLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoLink.Get(), o.InfoLink.IsSet() +} + +// HasInfoLink returns a boolean if a field has been set. +func (o *ImportListResource) HasInfoLink() bool { + if o != nil && o.InfoLink.IsSet() { + return true + } + + return false +} + +// SetInfoLink gets a reference to the given NullableString and assigns it to the InfoLink field. +func (o *ImportListResource) SetInfoLink(v string) { + o.InfoLink.Set(&v) +} +// SetInfoLinkNil sets the value for InfoLink to be an explicit nil +func (o *ImportListResource) SetInfoLinkNil() { + o.InfoLink.Set(nil) +} + +// UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +func (o *ImportListResource) UnsetInfoLink() { + o.InfoLink.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *ImportListResource) GetMessage() ProviderMessage { + if o == nil || isNil(o.Message) { + var ret ProviderMessage + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetMessageOk() (*ProviderMessage, bool) { + if o == nil || isNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *ImportListResource) HasMessage() bool { + if o != nil && !isNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ProviderMessage and assigns it to the Message field. +func (o *ImportListResource) SetMessage(v ProviderMessage) { + o.Message = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ImportListResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *ImportListResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetPresets returns the Presets field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetPresets() []*ImportListResource { + if o == nil { + var ret []*ImportListResource + return ret + } + return o.Presets +} + +// GetPresetsOk returns a tuple with the Presets field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetPresetsOk() ([]*ImportListResource, bool) { + if o == nil || isNil(o.Presets) { + return nil, false + } + return o.Presets, true +} + +// HasPresets returns a boolean if a field has been set. +func (o *ImportListResource) HasPresets() bool { + if o != nil && isNil(o.Presets) { + return true + } + + return false +} + +// SetPresets gets a reference to the given []ImportListResource and assigns it to the Presets field. +func (o *ImportListResource) SetPresets(v []*ImportListResource) { + o.Presets = v +} + +// GetEnableAutomaticAdd returns the EnableAutomaticAdd field value if set, zero value otherwise. +func (o *ImportListResource) GetEnableAutomaticAdd() bool { + if o == nil || isNil(o.EnableAutomaticAdd) { + var ret bool + return ret + } + return *o.EnableAutomaticAdd +} + +// GetEnableAutomaticAddOk returns a tuple with the EnableAutomaticAdd field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetEnableAutomaticAddOk() (*bool, bool) { + if o == nil || isNil(o.EnableAutomaticAdd) { + return nil, false + } + return o.EnableAutomaticAdd, true +} + +// HasEnableAutomaticAdd returns a boolean if a field has been set. +func (o *ImportListResource) HasEnableAutomaticAdd() bool { + if o != nil && !isNil(o.EnableAutomaticAdd) { + return true + } + + return false +} + +// SetEnableAutomaticAdd gets a reference to the given bool and assigns it to the EnableAutomaticAdd field. +func (o *ImportListResource) SetEnableAutomaticAdd(v bool) { + o.EnableAutomaticAdd = &v +} + +// GetShouldMonitor returns the ShouldMonitor field value if set, zero value otherwise. +func (o *ImportListResource) GetShouldMonitor() ImportListMonitorType { + if o == nil || isNil(o.ShouldMonitor) { + var ret ImportListMonitorType + return ret + } + return *o.ShouldMonitor +} + +// GetShouldMonitorOk returns a tuple with the ShouldMonitor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetShouldMonitorOk() (*ImportListMonitorType, bool) { + if o == nil || isNil(o.ShouldMonitor) { + return nil, false + } + return o.ShouldMonitor, true +} + +// HasShouldMonitor returns a boolean if a field has been set. +func (o *ImportListResource) HasShouldMonitor() bool { + if o != nil && !isNil(o.ShouldMonitor) { + return true + } + + return false +} + +// SetShouldMonitor gets a reference to the given ImportListMonitorType and assigns it to the ShouldMonitor field. +func (o *ImportListResource) SetShouldMonitor(v ImportListMonitorType) { + o.ShouldMonitor = &v +} + +// GetShouldMonitorExisting returns the ShouldMonitorExisting field value if set, zero value otherwise. +func (o *ImportListResource) GetShouldMonitorExisting() bool { + if o == nil || isNil(o.ShouldMonitorExisting) { + var ret bool + return ret + } + return *o.ShouldMonitorExisting +} + +// GetShouldMonitorExistingOk returns a tuple with the ShouldMonitorExisting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetShouldMonitorExistingOk() (*bool, bool) { + if o == nil || isNil(o.ShouldMonitorExisting) { + return nil, false + } + return o.ShouldMonitorExisting, true +} + +// HasShouldMonitorExisting returns a boolean if a field has been set. +func (o *ImportListResource) HasShouldMonitorExisting() bool { + if o != nil && !isNil(o.ShouldMonitorExisting) { + return true + } + + return false +} + +// SetShouldMonitorExisting gets a reference to the given bool and assigns it to the ShouldMonitorExisting field. +func (o *ImportListResource) SetShouldMonitorExisting(v bool) { + o.ShouldMonitorExisting = &v +} + +// GetShouldSearch returns the ShouldSearch field value if set, zero value otherwise. +func (o *ImportListResource) GetShouldSearch() bool { + if o == nil || isNil(o.ShouldSearch) { + var ret bool + return ret + } + return *o.ShouldSearch +} + +// GetShouldSearchOk returns a tuple with the ShouldSearch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetShouldSearchOk() (*bool, bool) { + if o == nil || isNil(o.ShouldSearch) { + return nil, false + } + return o.ShouldSearch, true +} + +// HasShouldSearch returns a boolean if a field has been set. +func (o *ImportListResource) HasShouldSearch() bool { + if o != nil && !isNil(o.ShouldSearch) { + return true + } + + return false +} + +// SetShouldSearch gets a reference to the given bool and assigns it to the ShouldSearch field. +func (o *ImportListResource) SetShouldSearch(v bool) { + o.ShouldSearch = &v +} + +// GetRootFolderPath returns the RootFolderPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ImportListResource) GetRootFolderPath() string { + if o == nil || isNil(o.RootFolderPath.Get()) { + var ret string + return ret + } + return *o.RootFolderPath.Get() +} + +// GetRootFolderPathOk returns a tuple with the RootFolderPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ImportListResource) GetRootFolderPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RootFolderPath.Get(), o.RootFolderPath.IsSet() +} + +// HasRootFolderPath returns a boolean if a field has been set. +func (o *ImportListResource) HasRootFolderPath() bool { + if o != nil && o.RootFolderPath.IsSet() { + return true + } + + return false +} + +// SetRootFolderPath gets a reference to the given NullableString and assigns it to the RootFolderPath field. +func (o *ImportListResource) SetRootFolderPath(v string) { + o.RootFolderPath.Set(&v) +} +// SetRootFolderPathNil sets the value for RootFolderPath to be an explicit nil +func (o *ImportListResource) SetRootFolderPathNil() { + o.RootFolderPath.Set(nil) +} + +// UnsetRootFolderPath ensures that no value is present for RootFolderPath, not even an explicit nil +func (o *ImportListResource) UnsetRootFolderPath() { + o.RootFolderPath.Unset() +} + +// GetMonitorNewItems returns the MonitorNewItems field value if set, zero value otherwise. +func (o *ImportListResource) GetMonitorNewItems() NewItemMonitorTypes { + if o == nil || isNil(o.MonitorNewItems) { + var ret NewItemMonitorTypes + return ret + } + return *o.MonitorNewItems +} + +// GetMonitorNewItemsOk returns a tuple with the MonitorNewItems field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetMonitorNewItemsOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.MonitorNewItems) { + return nil, false + } + return o.MonitorNewItems, true +} + +// HasMonitorNewItems returns a boolean if a field has been set. +func (o *ImportListResource) HasMonitorNewItems() bool { + if o != nil && !isNil(o.MonitorNewItems) { + return true + } + + return false +} + +// SetMonitorNewItems gets a reference to the given NewItemMonitorTypes and assigns it to the MonitorNewItems field. +func (o *ImportListResource) SetMonitorNewItems(v NewItemMonitorTypes) { + o.MonitorNewItems = &v +} + +// GetQualityProfileId returns the QualityProfileId field value if set, zero value otherwise. +func (o *ImportListResource) GetQualityProfileId() int32 { + if o == nil || isNil(o.QualityProfileId) { + var ret int32 + return ret + } + return *o.QualityProfileId +} + +// GetQualityProfileIdOk returns a tuple with the QualityProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetQualityProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.QualityProfileId) { + return nil, false + } + return o.QualityProfileId, true +} + +// HasQualityProfileId returns a boolean if a field has been set. +func (o *ImportListResource) HasQualityProfileId() bool { + if o != nil && !isNil(o.QualityProfileId) { + return true + } + + return false +} + +// SetQualityProfileId gets a reference to the given int32 and assigns it to the QualityProfileId field. +func (o *ImportListResource) SetQualityProfileId(v int32) { + o.QualityProfileId = &v +} + +// GetMetadataProfileId returns the MetadataProfileId field value if set, zero value otherwise. +func (o *ImportListResource) GetMetadataProfileId() int32 { + if o == nil || isNil(o.MetadataProfileId) { + var ret int32 + return ret + } + return *o.MetadataProfileId +} + +// GetMetadataProfileIdOk returns a tuple with the MetadataProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetMetadataProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.MetadataProfileId) { + return nil, false + } + return o.MetadataProfileId, true +} + +// HasMetadataProfileId returns a boolean if a field has been set. +func (o *ImportListResource) HasMetadataProfileId() bool { + if o != nil && !isNil(o.MetadataProfileId) { + return true + } + + return false +} + +// SetMetadataProfileId gets a reference to the given int32 and assigns it to the MetadataProfileId field. +func (o *ImportListResource) SetMetadataProfileId(v int32) { + o.MetadataProfileId = &v +} + +// GetListType returns the ListType field value if set, zero value otherwise. +func (o *ImportListResource) GetListType() ImportListType { + if o == nil || isNil(o.ListType) { + var ret ImportListType + return ret + } + return *o.ListType +} + +// GetListTypeOk returns a tuple with the ListType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetListTypeOk() (*ImportListType, bool) { + if o == nil || isNil(o.ListType) { + return nil, false + } + return o.ListType, true +} + +// HasListType returns a boolean if a field has been set. +func (o *ImportListResource) HasListType() bool { + if o != nil && !isNil(o.ListType) { + return true + } + + return false +} + +// SetListType gets a reference to the given ImportListType and assigns it to the ListType field. +func (o *ImportListResource) SetListType(v ImportListType) { + o.ListType = &v +} + +// GetListOrder returns the ListOrder field value if set, zero value otherwise. +func (o *ImportListResource) GetListOrder() int32 { + if o == nil || isNil(o.ListOrder) { + var ret int32 + return ret + } + return *o.ListOrder +} + +// GetListOrderOk returns a tuple with the ListOrder field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ImportListResource) GetListOrderOk() (*int32, bool) { + if o == nil || isNil(o.ListOrder) { + return nil, false + } + return o.ListOrder, true +} + +// HasListOrder returns a boolean if a field has been set. +func (o *ImportListResource) HasListOrder() bool { + if o != nil && !isNil(o.ListOrder) { + return true + } + + return false +} + +// SetListOrder gets a reference to the given int32 and assigns it to the ListOrder field. +func (o *ImportListResource) SetListOrder(v int32) { + o.ListOrder = &v +} + +func (o ImportListResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.ImplementationName.IsSet() { + toSerialize["implementationName"] = o.ImplementationName.Get() + } + if o.Implementation.IsSet() { + toSerialize["implementation"] = o.Implementation.Get() + } + if o.ConfigContract.IsSet() { + toSerialize["configContract"] = o.ConfigContract.Get() + } + if o.InfoLink.IsSet() { + toSerialize["infoLink"] = o.InfoLink.Get() + } + if !isNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Presets != nil { + toSerialize["presets"] = o.Presets + } + if !isNil(o.EnableAutomaticAdd) { + toSerialize["enableAutomaticAdd"] = o.EnableAutomaticAdd + } + if !isNil(o.ShouldMonitor) { + toSerialize["shouldMonitor"] = o.ShouldMonitor + } + if !isNil(o.ShouldMonitorExisting) { + toSerialize["shouldMonitorExisting"] = o.ShouldMonitorExisting + } + if !isNil(o.ShouldSearch) { + toSerialize["shouldSearch"] = o.ShouldSearch + } + if o.RootFolderPath.IsSet() { + toSerialize["rootFolderPath"] = o.RootFolderPath.Get() + } + if !isNil(o.MonitorNewItems) { + toSerialize["monitorNewItems"] = o.MonitorNewItems + } + if !isNil(o.QualityProfileId) { + toSerialize["qualityProfileId"] = o.QualityProfileId + } + if !isNil(o.MetadataProfileId) { + toSerialize["metadataProfileId"] = o.MetadataProfileId + } + if !isNil(o.ListType) { + toSerialize["listType"] = o.ListType + } + if !isNil(o.ListOrder) { + toSerialize["listOrder"] = o.ListOrder + } + return json.Marshal(toSerialize) +} + +type NullableImportListResource struct { + value *ImportListResource + isSet bool +} + +func (v NullableImportListResource) Get() *ImportListResource { + return v.value +} + +func (v *NullableImportListResource) Set(val *ImportListResource) { + v.value = val + v.isSet = true +} + +func (v NullableImportListResource) IsSet() bool { + return v.isSet +} + +func (v *NullableImportListResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableImportListResource(val *ImportListResource) *NullableImportListResource { + return &NullableImportListResource{value: val, isSet: true} +} + +func (v NullableImportListResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableImportListResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_import_list_type.go b/lidarr/model_import_list_type.go new file mode 100644 index 0000000..f2b546d --- /dev/null +++ b/lidarr/model_import_list_type.go @@ -0,0 +1,115 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ImportListType the model 'ImportListType' +type ImportListType string + +// List of ImportListType +const ( + IMPORTLISTTYPE_PROGRAM ImportListType = "program" + IMPORTLISTTYPE_SPOTIFY ImportListType = "spotify" + IMPORTLISTTYPE_LAST_FM ImportListType = "lastFm" + IMPORTLISTTYPE_OTHER ImportListType = "other" +) + +// All allowed values of ImportListType enum +var AllowedImportListTypeEnumValues = []ImportListType{ + "program", + "spotify", + "lastFm", + "other", +} + +func (v *ImportListType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ImportListType(value) + for _, existing := range AllowedImportListTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ImportListType", value) +} + +// NewImportListTypeFromValue returns a pointer to a valid ImportListType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewImportListTypeFromValue(v string) (*ImportListType, error) { + ev := ImportListType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ImportListType: valid values are %v", v, AllowedImportListTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ImportListType) IsValid() bool { + for _, existing := range AllowedImportListTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ImportListType value +func (v ImportListType) Ptr() *ImportListType { + return &v +} + +type NullableImportListType struct { + value *ImportListType + isSet bool +} + +func (v NullableImportListType) Get() *ImportListType { + return v.value +} + +func (v *NullableImportListType) Set(val *ImportListType) { + v.value = val + v.isSet = true +} + +func (v NullableImportListType) IsSet() bool { + return v.isSet +} + +func (v *NullableImportListType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableImportListType(val *ImportListType) *NullableImportListType { + return &NullableImportListType{value: val, isSet: true} +} + +func (v NullableImportListType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableImportListType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_indexer_config_resource.go b/lidarr/model_indexer_config_resource.go new file mode 100644 index 0000000..2d933c6 --- /dev/null +++ b/lidarr/model_indexer_config_resource.go @@ -0,0 +1,259 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// IndexerConfigResource struct for IndexerConfigResource +type IndexerConfigResource struct { + Id *int32 `json:"id,omitempty"` + MinimumAge *int32 `json:"minimumAge,omitempty"` + MaximumSize *int32 `json:"maximumSize,omitempty"` + Retention *int32 `json:"retention,omitempty"` + RssSyncInterval *int32 `json:"rssSyncInterval,omitempty"` +} + +// NewIndexerConfigResource instantiates a new IndexerConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIndexerConfigResource() *IndexerConfigResource { + this := IndexerConfigResource{} + return &this +} + +// NewIndexerConfigResourceWithDefaults instantiates a new IndexerConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIndexerConfigResourceWithDefaults() *IndexerConfigResource { + this := IndexerConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *IndexerConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IndexerConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *IndexerConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetMinimumAge returns the MinimumAge field value if set, zero value otherwise. +func (o *IndexerConfigResource) GetMinimumAge() int32 { + if o == nil || isNil(o.MinimumAge) { + var ret int32 + return ret + } + return *o.MinimumAge +} + +// GetMinimumAgeOk returns a tuple with the MinimumAge field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerConfigResource) GetMinimumAgeOk() (*int32, bool) { + if o == nil || isNil(o.MinimumAge) { + return nil, false + } + return o.MinimumAge, true +} + +// HasMinimumAge returns a boolean if a field has been set. +func (o *IndexerConfigResource) HasMinimumAge() bool { + if o != nil && !isNil(o.MinimumAge) { + return true + } + + return false +} + +// SetMinimumAge gets a reference to the given int32 and assigns it to the MinimumAge field. +func (o *IndexerConfigResource) SetMinimumAge(v int32) { + o.MinimumAge = &v +} + +// GetMaximumSize returns the MaximumSize field value if set, zero value otherwise. +func (o *IndexerConfigResource) GetMaximumSize() int32 { + if o == nil || isNil(o.MaximumSize) { + var ret int32 + return ret + } + return *o.MaximumSize +} + +// GetMaximumSizeOk returns a tuple with the MaximumSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerConfigResource) GetMaximumSizeOk() (*int32, bool) { + if o == nil || isNil(o.MaximumSize) { + return nil, false + } + return o.MaximumSize, true +} + +// HasMaximumSize returns a boolean if a field has been set. +func (o *IndexerConfigResource) HasMaximumSize() bool { + if o != nil && !isNil(o.MaximumSize) { + return true + } + + return false +} + +// SetMaximumSize gets a reference to the given int32 and assigns it to the MaximumSize field. +func (o *IndexerConfigResource) SetMaximumSize(v int32) { + o.MaximumSize = &v +} + +// GetRetention returns the Retention field value if set, zero value otherwise. +func (o *IndexerConfigResource) GetRetention() int32 { + if o == nil || isNil(o.Retention) { + var ret int32 + return ret + } + return *o.Retention +} + +// GetRetentionOk returns a tuple with the Retention field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerConfigResource) GetRetentionOk() (*int32, bool) { + if o == nil || isNil(o.Retention) { + return nil, false + } + return o.Retention, true +} + +// HasRetention returns a boolean if a field has been set. +func (o *IndexerConfigResource) HasRetention() bool { + if o != nil && !isNil(o.Retention) { + return true + } + + return false +} + +// SetRetention gets a reference to the given int32 and assigns it to the Retention field. +func (o *IndexerConfigResource) SetRetention(v int32) { + o.Retention = &v +} + +// GetRssSyncInterval returns the RssSyncInterval field value if set, zero value otherwise. +func (o *IndexerConfigResource) GetRssSyncInterval() int32 { + if o == nil || isNil(o.RssSyncInterval) { + var ret int32 + return ret + } + return *o.RssSyncInterval +} + +// GetRssSyncIntervalOk returns a tuple with the RssSyncInterval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerConfigResource) GetRssSyncIntervalOk() (*int32, bool) { + if o == nil || isNil(o.RssSyncInterval) { + return nil, false + } + return o.RssSyncInterval, true +} + +// HasRssSyncInterval returns a boolean if a field has been set. +func (o *IndexerConfigResource) HasRssSyncInterval() bool { + if o != nil && !isNil(o.RssSyncInterval) { + return true + } + + return false +} + +// SetRssSyncInterval gets a reference to the given int32 and assigns it to the RssSyncInterval field. +func (o *IndexerConfigResource) SetRssSyncInterval(v int32) { + o.RssSyncInterval = &v +} + +func (o IndexerConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.MinimumAge) { + toSerialize["minimumAge"] = o.MinimumAge + } + if !isNil(o.MaximumSize) { + toSerialize["maximumSize"] = o.MaximumSize + } + if !isNil(o.Retention) { + toSerialize["retention"] = o.Retention + } + if !isNil(o.RssSyncInterval) { + toSerialize["rssSyncInterval"] = o.RssSyncInterval + } + return json.Marshal(toSerialize) +} + +type NullableIndexerConfigResource struct { + value *IndexerConfigResource + isSet bool +} + +func (v NullableIndexerConfigResource) Get() *IndexerConfigResource { + return v.value +} + +func (v *NullableIndexerConfigResource) Set(val *IndexerConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableIndexerConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableIndexerConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIndexerConfigResource(val *IndexerConfigResource) *NullableIndexerConfigResource { + return &NullableIndexerConfigResource{value: val, isSet: true} +} + +func (v NullableIndexerConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIndexerConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_indexer_resource.go b/lidarr/model_indexer_resource.go new file mode 100644 index 0000000..f5ffb7c --- /dev/null +++ b/lidarr/model_indexer_resource.go @@ -0,0 +1,780 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// IndexerResource struct for IndexerResource +type IndexerResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Fields []*Field `json:"fields,omitempty"` + ImplementationName NullableString `json:"implementationName,omitempty"` + Implementation NullableString `json:"implementation,omitempty"` + ConfigContract NullableString `json:"configContract,omitempty"` + InfoLink NullableString `json:"infoLink,omitempty"` + Message *ProviderMessage `json:"message,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Presets []*IndexerResource `json:"presets,omitempty"` + EnableRss *bool `json:"enableRss,omitempty"` + EnableAutomaticSearch *bool `json:"enableAutomaticSearch,omitempty"` + EnableInteractiveSearch *bool `json:"enableInteractiveSearch,omitempty"` + SupportsRss *bool `json:"supportsRss,omitempty"` + SupportsSearch *bool `json:"supportsSearch,omitempty"` + Protocol *DownloadProtocol `json:"protocol,omitempty"` + Priority *int32 `json:"priority,omitempty"` + DownloadClientId *int32 `json:"downloadClientId,omitempty"` +} + +// NewIndexerResource instantiates a new IndexerResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIndexerResource() *IndexerResource { + this := IndexerResource{} + return &this +} + +// NewIndexerResourceWithDefaults instantiates a new IndexerResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIndexerResourceWithDefaults() *IndexerResource { + this := IndexerResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *IndexerResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *IndexerResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *IndexerResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *IndexerResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *IndexerResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *IndexerResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *IndexerResource) UnsetName() { + o.Name.Unset() +} + +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetFields() []*Field { + if o == nil { + var ret []*Field + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetFieldsOk() ([]*Field, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *IndexerResource) HasFields() bool { + if o != nil && isNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given []Field and assigns it to the Fields field. +func (o *IndexerResource) SetFields(v []*Field) { + o.Fields = v +} + +// GetImplementationName returns the ImplementationName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetImplementationName() string { + if o == nil || isNil(o.ImplementationName.Get()) { + var ret string + return ret + } + return *o.ImplementationName.Get() +} + +// GetImplementationNameOk returns a tuple with the ImplementationName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetImplementationNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ImplementationName.Get(), o.ImplementationName.IsSet() +} + +// HasImplementationName returns a boolean if a field has been set. +func (o *IndexerResource) HasImplementationName() bool { + if o != nil && o.ImplementationName.IsSet() { + return true + } + + return false +} + +// SetImplementationName gets a reference to the given NullableString and assigns it to the ImplementationName field. +func (o *IndexerResource) SetImplementationName(v string) { + o.ImplementationName.Set(&v) +} +// SetImplementationNameNil sets the value for ImplementationName to be an explicit nil +func (o *IndexerResource) SetImplementationNameNil() { + o.ImplementationName.Set(nil) +} + +// UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +func (o *IndexerResource) UnsetImplementationName() { + o.ImplementationName.Unset() +} + +// GetImplementation returns the Implementation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetImplementation() string { + if o == nil || isNil(o.Implementation.Get()) { + var ret string + return ret + } + return *o.Implementation.Get() +} + +// GetImplementationOk returns a tuple with the Implementation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetImplementationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Implementation.Get(), o.Implementation.IsSet() +} + +// HasImplementation returns a boolean if a field has been set. +func (o *IndexerResource) HasImplementation() bool { + if o != nil && o.Implementation.IsSet() { + return true + } + + return false +} + +// SetImplementation gets a reference to the given NullableString and assigns it to the Implementation field. +func (o *IndexerResource) SetImplementation(v string) { + o.Implementation.Set(&v) +} +// SetImplementationNil sets the value for Implementation to be an explicit nil +func (o *IndexerResource) SetImplementationNil() { + o.Implementation.Set(nil) +} + +// UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +func (o *IndexerResource) UnsetImplementation() { + o.Implementation.Unset() +} + +// GetConfigContract returns the ConfigContract field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetConfigContract() string { + if o == nil || isNil(o.ConfigContract.Get()) { + var ret string + return ret + } + return *o.ConfigContract.Get() +} + +// GetConfigContractOk returns a tuple with the ConfigContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetConfigContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConfigContract.Get(), o.ConfigContract.IsSet() +} + +// HasConfigContract returns a boolean if a field has been set. +func (o *IndexerResource) HasConfigContract() bool { + if o != nil && o.ConfigContract.IsSet() { + return true + } + + return false +} + +// SetConfigContract gets a reference to the given NullableString and assigns it to the ConfigContract field. +func (o *IndexerResource) SetConfigContract(v string) { + o.ConfigContract.Set(&v) +} +// SetConfigContractNil sets the value for ConfigContract to be an explicit nil +func (o *IndexerResource) SetConfigContractNil() { + o.ConfigContract.Set(nil) +} + +// UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +func (o *IndexerResource) UnsetConfigContract() { + o.ConfigContract.Unset() +} + +// GetInfoLink returns the InfoLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetInfoLink() string { + if o == nil || isNil(o.InfoLink.Get()) { + var ret string + return ret + } + return *o.InfoLink.Get() +} + +// GetInfoLinkOk returns a tuple with the InfoLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetInfoLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoLink.Get(), o.InfoLink.IsSet() +} + +// HasInfoLink returns a boolean if a field has been set. +func (o *IndexerResource) HasInfoLink() bool { + if o != nil && o.InfoLink.IsSet() { + return true + } + + return false +} + +// SetInfoLink gets a reference to the given NullableString and assigns it to the InfoLink field. +func (o *IndexerResource) SetInfoLink(v string) { + o.InfoLink.Set(&v) +} +// SetInfoLinkNil sets the value for InfoLink to be an explicit nil +func (o *IndexerResource) SetInfoLinkNil() { + o.InfoLink.Set(nil) +} + +// UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +func (o *IndexerResource) UnsetInfoLink() { + o.InfoLink.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *IndexerResource) GetMessage() ProviderMessage { + if o == nil || isNil(o.Message) { + var ret ProviderMessage + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetMessageOk() (*ProviderMessage, bool) { + if o == nil || isNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *IndexerResource) HasMessage() bool { + if o != nil && !isNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ProviderMessage and assigns it to the Message field. +func (o *IndexerResource) SetMessage(v ProviderMessage) { + o.Message = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *IndexerResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *IndexerResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetPresets returns the Presets field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IndexerResource) GetPresets() []*IndexerResource { + if o == nil { + var ret []*IndexerResource + return ret + } + return o.Presets +} + +// GetPresetsOk returns a tuple with the Presets field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IndexerResource) GetPresetsOk() ([]*IndexerResource, bool) { + if o == nil || isNil(o.Presets) { + return nil, false + } + return o.Presets, true +} + +// HasPresets returns a boolean if a field has been set. +func (o *IndexerResource) HasPresets() bool { + if o != nil && isNil(o.Presets) { + return true + } + + return false +} + +// SetPresets gets a reference to the given []IndexerResource and assigns it to the Presets field. +func (o *IndexerResource) SetPresets(v []*IndexerResource) { + o.Presets = v +} + +// GetEnableRss returns the EnableRss field value if set, zero value otherwise. +func (o *IndexerResource) GetEnableRss() bool { + if o == nil || isNil(o.EnableRss) { + var ret bool + return ret + } + return *o.EnableRss +} + +// GetEnableRssOk returns a tuple with the EnableRss field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetEnableRssOk() (*bool, bool) { + if o == nil || isNil(o.EnableRss) { + return nil, false + } + return o.EnableRss, true +} + +// HasEnableRss returns a boolean if a field has been set. +func (o *IndexerResource) HasEnableRss() bool { + if o != nil && !isNil(o.EnableRss) { + return true + } + + return false +} + +// SetEnableRss gets a reference to the given bool and assigns it to the EnableRss field. +func (o *IndexerResource) SetEnableRss(v bool) { + o.EnableRss = &v +} + +// GetEnableAutomaticSearch returns the EnableAutomaticSearch field value if set, zero value otherwise. +func (o *IndexerResource) GetEnableAutomaticSearch() bool { + if o == nil || isNil(o.EnableAutomaticSearch) { + var ret bool + return ret + } + return *o.EnableAutomaticSearch +} + +// GetEnableAutomaticSearchOk returns a tuple with the EnableAutomaticSearch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetEnableAutomaticSearchOk() (*bool, bool) { + if o == nil || isNil(o.EnableAutomaticSearch) { + return nil, false + } + return o.EnableAutomaticSearch, true +} + +// HasEnableAutomaticSearch returns a boolean if a field has been set. +func (o *IndexerResource) HasEnableAutomaticSearch() bool { + if o != nil && !isNil(o.EnableAutomaticSearch) { + return true + } + + return false +} + +// SetEnableAutomaticSearch gets a reference to the given bool and assigns it to the EnableAutomaticSearch field. +func (o *IndexerResource) SetEnableAutomaticSearch(v bool) { + o.EnableAutomaticSearch = &v +} + +// GetEnableInteractiveSearch returns the EnableInteractiveSearch field value if set, zero value otherwise. +func (o *IndexerResource) GetEnableInteractiveSearch() bool { + if o == nil || isNil(o.EnableInteractiveSearch) { + var ret bool + return ret + } + return *o.EnableInteractiveSearch +} + +// GetEnableInteractiveSearchOk returns a tuple with the EnableInteractiveSearch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetEnableInteractiveSearchOk() (*bool, bool) { + if o == nil || isNil(o.EnableInteractiveSearch) { + return nil, false + } + return o.EnableInteractiveSearch, true +} + +// HasEnableInteractiveSearch returns a boolean if a field has been set. +func (o *IndexerResource) HasEnableInteractiveSearch() bool { + if o != nil && !isNil(o.EnableInteractiveSearch) { + return true + } + + return false +} + +// SetEnableInteractiveSearch gets a reference to the given bool and assigns it to the EnableInteractiveSearch field. +func (o *IndexerResource) SetEnableInteractiveSearch(v bool) { + o.EnableInteractiveSearch = &v +} + +// GetSupportsRss returns the SupportsRss field value if set, zero value otherwise. +func (o *IndexerResource) GetSupportsRss() bool { + if o == nil || isNil(o.SupportsRss) { + var ret bool + return ret + } + return *o.SupportsRss +} + +// GetSupportsRssOk returns a tuple with the SupportsRss field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetSupportsRssOk() (*bool, bool) { + if o == nil || isNil(o.SupportsRss) { + return nil, false + } + return o.SupportsRss, true +} + +// HasSupportsRss returns a boolean if a field has been set. +func (o *IndexerResource) HasSupportsRss() bool { + if o != nil && !isNil(o.SupportsRss) { + return true + } + + return false +} + +// SetSupportsRss gets a reference to the given bool and assigns it to the SupportsRss field. +func (o *IndexerResource) SetSupportsRss(v bool) { + o.SupportsRss = &v +} + +// GetSupportsSearch returns the SupportsSearch field value if set, zero value otherwise. +func (o *IndexerResource) GetSupportsSearch() bool { + if o == nil || isNil(o.SupportsSearch) { + var ret bool + return ret + } + return *o.SupportsSearch +} + +// GetSupportsSearchOk returns a tuple with the SupportsSearch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetSupportsSearchOk() (*bool, bool) { + if o == nil || isNil(o.SupportsSearch) { + return nil, false + } + return o.SupportsSearch, true +} + +// HasSupportsSearch returns a boolean if a field has been set. +func (o *IndexerResource) HasSupportsSearch() bool { + if o != nil && !isNil(o.SupportsSearch) { + return true + } + + return false +} + +// SetSupportsSearch gets a reference to the given bool and assigns it to the SupportsSearch field. +func (o *IndexerResource) SetSupportsSearch(v bool) { + o.SupportsSearch = &v +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *IndexerResource) GetProtocol() DownloadProtocol { + if o == nil || isNil(o.Protocol) { + var ret DownloadProtocol + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *IndexerResource) HasProtocol() bool { + if o != nil && !isNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given DownloadProtocol and assigns it to the Protocol field. +func (o *IndexerResource) SetProtocol(v DownloadProtocol) { + o.Protocol = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *IndexerResource) GetPriority() int32 { + if o == nil || isNil(o.Priority) { + var ret int32 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetPriorityOk() (*int32, bool) { + if o == nil || isNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *IndexerResource) HasPriority() bool { + if o != nil && !isNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int32 and assigns it to the Priority field. +func (o *IndexerResource) SetPriority(v int32) { + o.Priority = &v +} + +// GetDownloadClientId returns the DownloadClientId field value if set, zero value otherwise. +func (o *IndexerResource) GetDownloadClientId() int32 { + if o == nil || isNil(o.DownloadClientId) { + var ret int32 + return ret + } + return *o.DownloadClientId +} + +// GetDownloadClientIdOk returns a tuple with the DownloadClientId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *IndexerResource) GetDownloadClientIdOk() (*int32, bool) { + if o == nil || isNil(o.DownloadClientId) { + return nil, false + } + return o.DownloadClientId, true +} + +// HasDownloadClientId returns a boolean if a field has been set. +func (o *IndexerResource) HasDownloadClientId() bool { + if o != nil && !isNil(o.DownloadClientId) { + return true + } + + return false +} + +// SetDownloadClientId gets a reference to the given int32 and assigns it to the DownloadClientId field. +func (o *IndexerResource) SetDownloadClientId(v int32) { + o.DownloadClientId = &v +} + +func (o IndexerResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.ImplementationName.IsSet() { + toSerialize["implementationName"] = o.ImplementationName.Get() + } + if o.Implementation.IsSet() { + toSerialize["implementation"] = o.Implementation.Get() + } + if o.ConfigContract.IsSet() { + toSerialize["configContract"] = o.ConfigContract.Get() + } + if o.InfoLink.IsSet() { + toSerialize["infoLink"] = o.InfoLink.Get() + } + if !isNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Presets != nil { + toSerialize["presets"] = o.Presets + } + if !isNil(o.EnableRss) { + toSerialize["enableRss"] = o.EnableRss + } + if !isNil(o.EnableAutomaticSearch) { + toSerialize["enableAutomaticSearch"] = o.EnableAutomaticSearch + } + if !isNil(o.EnableInteractiveSearch) { + toSerialize["enableInteractiveSearch"] = o.EnableInteractiveSearch + } + if !isNil(o.SupportsRss) { + toSerialize["supportsRss"] = o.SupportsRss + } + if !isNil(o.SupportsSearch) { + toSerialize["supportsSearch"] = o.SupportsSearch + } + if !isNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + if !isNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !isNil(o.DownloadClientId) { + toSerialize["downloadClientId"] = o.DownloadClientId + } + return json.Marshal(toSerialize) +} + +type NullableIndexerResource struct { + value *IndexerResource + isSet bool +} + +func (v NullableIndexerResource) Get() *IndexerResource { + return v.value +} + +func (v *NullableIndexerResource) Set(val *IndexerResource) { + v.value = val + v.isSet = true +} + +func (v NullableIndexerResource) IsSet() bool { + return v.isSet +} + +func (v *NullableIndexerResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIndexerResource(val *IndexerResource) *NullableIndexerResource { + return &NullableIndexerResource{value: val, isSet: true} +} + +func (v NullableIndexerResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIndexerResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_iso_country.go b/lidarr/model_iso_country.go new file mode 100644 index 0000000..944560e --- /dev/null +++ b/lidarr/model_iso_country.go @@ -0,0 +1,171 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// IsoCountry struct for IsoCountry +type IsoCountry struct { + TwoLetterCode NullableString `json:"twoLetterCode,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewIsoCountry instantiates a new IsoCountry object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewIsoCountry() *IsoCountry { + this := IsoCountry{} + return &this +} + +// NewIsoCountryWithDefaults instantiates a new IsoCountry object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewIsoCountryWithDefaults() *IsoCountry { + this := IsoCountry{} + return &this +} + +// GetTwoLetterCode returns the TwoLetterCode field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IsoCountry) GetTwoLetterCode() string { + if o == nil || isNil(o.TwoLetterCode.Get()) { + var ret string + return ret + } + return *o.TwoLetterCode.Get() +} + +// GetTwoLetterCodeOk returns a tuple with the TwoLetterCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IsoCountry) GetTwoLetterCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TwoLetterCode.Get(), o.TwoLetterCode.IsSet() +} + +// HasTwoLetterCode returns a boolean if a field has been set. +func (o *IsoCountry) HasTwoLetterCode() bool { + if o != nil && o.TwoLetterCode.IsSet() { + return true + } + + return false +} + +// SetTwoLetterCode gets a reference to the given NullableString and assigns it to the TwoLetterCode field. +func (o *IsoCountry) SetTwoLetterCode(v string) { + o.TwoLetterCode.Set(&v) +} +// SetTwoLetterCodeNil sets the value for TwoLetterCode to be an explicit nil +func (o *IsoCountry) SetTwoLetterCodeNil() { + o.TwoLetterCode.Set(nil) +} + +// UnsetTwoLetterCode ensures that no value is present for TwoLetterCode, not even an explicit nil +func (o *IsoCountry) UnsetTwoLetterCode() { + o.TwoLetterCode.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *IsoCountry) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *IsoCountry) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *IsoCountry) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *IsoCountry) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *IsoCountry) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *IsoCountry) UnsetName() { + o.Name.Unset() +} + +func (o IsoCountry) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.TwoLetterCode.IsSet() { + toSerialize["twoLetterCode"] = o.TwoLetterCode.Get() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullableIsoCountry struct { + value *IsoCountry + isSet bool +} + +func (v NullableIsoCountry) Get() *IsoCountry { + return v.value +} + +func (v *NullableIsoCountry) Set(val *IsoCountry) { + v.value = val + v.isSet = true +} + +func (v NullableIsoCountry) IsSet() bool { + return v.isSet +} + +func (v *NullableIsoCountry) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableIsoCountry(val *IsoCountry) *NullableIsoCountry { + return &NullableIsoCountry{value: val, isSet: true} +} + +func (v NullableIsoCountry) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableIsoCountry) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_language_resource.go b/lidarr/model_language_resource.go new file mode 100644 index 0000000..88717c0 --- /dev/null +++ b/lidarr/model_language_resource.go @@ -0,0 +1,207 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// LanguageResource struct for LanguageResource +type LanguageResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + NameLower NullableString `json:"nameLower,omitempty"` +} + +// NewLanguageResource instantiates a new LanguageResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLanguageResource() *LanguageResource { + this := LanguageResource{} + return &this +} + +// NewLanguageResourceWithDefaults instantiates a new LanguageResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLanguageResourceWithDefaults() *LanguageResource { + this := LanguageResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *LanguageResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LanguageResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LanguageResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *LanguageResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LanguageResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LanguageResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *LanguageResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *LanguageResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *LanguageResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *LanguageResource) UnsetName() { + o.Name.Unset() +} + +// GetNameLower returns the NameLower field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LanguageResource) GetNameLower() string { + if o == nil || isNil(o.NameLower.Get()) { + var ret string + return ret + } + return *o.NameLower.Get() +} + +// GetNameLowerOk returns a tuple with the NameLower field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LanguageResource) GetNameLowerOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.NameLower.Get(), o.NameLower.IsSet() +} + +// HasNameLower returns a boolean if a field has been set. +func (o *LanguageResource) HasNameLower() bool { + if o != nil && o.NameLower.IsSet() { + return true + } + + return false +} + +// SetNameLower gets a reference to the given NullableString and assigns it to the NameLower field. +func (o *LanguageResource) SetNameLower(v string) { + o.NameLower.Set(&v) +} +// SetNameLowerNil sets the value for NameLower to be an explicit nil +func (o *LanguageResource) SetNameLowerNil() { + o.NameLower.Set(nil) +} + +// UnsetNameLower ensures that no value is present for NameLower, not even an explicit nil +func (o *LanguageResource) UnsetNameLower() { + o.NameLower.Unset() +} + +func (o LanguageResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.NameLower.IsSet() { + toSerialize["nameLower"] = o.NameLower.Get() + } + return json.Marshal(toSerialize) +} + +type NullableLanguageResource struct { + value *LanguageResource + isSet bool +} + +func (v NullableLanguageResource) Get() *LanguageResource { + return v.value +} + +func (v *NullableLanguageResource) Set(val *LanguageResource) { + v.value = val + v.isSet = true +} + +func (v NullableLanguageResource) IsSet() bool { + return v.isSet +} + +func (v *NullableLanguageResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLanguageResource(val *LanguageResource) *NullableLanguageResource { + return &NullableLanguageResource{value: val, isSet: true} +} + +func (v NullableLanguageResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLanguageResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_links.go b/lidarr/model_links.go new file mode 100644 index 0000000..cab83b6 --- /dev/null +++ b/lidarr/model_links.go @@ -0,0 +1,171 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Links struct for Links +type Links struct { + Url NullableString `json:"url,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewLinks instantiates a new Links object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLinks() *Links { + this := Links{} + return &this +} + +// NewLinksWithDefaults instantiates a new Links object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLinksWithDefaults() *Links { + this := Links{} + return &this +} + +// GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Links) GetUrl() string { + if o == nil || isNil(o.Url.Get()) { + var ret string + return ret + } + return *o.Url.Get() +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Links) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Url.Get(), o.Url.IsSet() +} + +// HasUrl returns a boolean if a field has been set. +func (o *Links) HasUrl() bool { + if o != nil && o.Url.IsSet() { + return true + } + + return false +} + +// SetUrl gets a reference to the given NullableString and assigns it to the Url field. +func (o *Links) SetUrl(v string) { + o.Url.Set(&v) +} +// SetUrlNil sets the value for Url to be an explicit nil +func (o *Links) SetUrlNil() { + o.Url.Set(nil) +} + +// UnsetUrl ensures that no value is present for Url, not even an explicit nil +func (o *Links) UnsetUrl() { + o.Url.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Links) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Links) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Links) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Links) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Links) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Links) UnsetName() { + o.Name.Unset() +} + +func (o Links) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Url.IsSet() { + toSerialize["url"] = o.Url.Get() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullableLinks struct { + value *Links + isSet bool +} + +func (v NullableLinks) Get() *Links { + return v.value +} + +func (v *NullableLinks) Set(val *Links) { + v.value = val + v.isSet = true +} + +func (v NullableLinks) IsSet() bool { + return v.isSet +} + +func (v *NullableLinks) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLinks(val *Links) *NullableLinks { + return &NullableLinks{value: val, isSet: true} +} + +func (v NullableLinks) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLinks) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_log_file_resource.go b/lidarr/model_log_file_resource.go new file mode 100644 index 0000000..4a06b5a --- /dev/null +++ b/lidarr/model_log_file_resource.go @@ -0,0 +1,290 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// LogFileResource struct for LogFileResource +type LogFileResource struct { + Id *int32 `json:"id,omitempty"` + Filename NullableString `json:"filename,omitempty"` + LastWriteTime *time.Time `json:"lastWriteTime,omitempty"` + ContentsUrl NullableString `json:"contentsUrl,omitempty"` + DownloadUrl NullableString `json:"downloadUrl,omitempty"` +} + +// NewLogFileResource instantiates a new LogFileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLogFileResource() *LogFileResource { + this := LogFileResource{} + return &this +} + +// NewLogFileResourceWithDefaults instantiates a new LogFileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLogFileResourceWithDefaults() *LogFileResource { + this := LogFileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *LogFileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogFileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LogFileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *LogFileResource) SetId(v int32) { + o.Id = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogFileResource) GetFilename() string { + if o == nil || isNil(o.Filename.Get()) { + var ret string + return ret + } + return *o.Filename.Get() +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogFileResource) GetFilenameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Filename.Get(), o.Filename.IsSet() +} + +// HasFilename returns a boolean if a field has been set. +func (o *LogFileResource) HasFilename() bool { + if o != nil && o.Filename.IsSet() { + return true + } + + return false +} + +// SetFilename gets a reference to the given NullableString and assigns it to the Filename field. +func (o *LogFileResource) SetFilename(v string) { + o.Filename.Set(&v) +} +// SetFilenameNil sets the value for Filename to be an explicit nil +func (o *LogFileResource) SetFilenameNil() { + o.Filename.Set(nil) +} + +// UnsetFilename ensures that no value is present for Filename, not even an explicit nil +func (o *LogFileResource) UnsetFilename() { + o.Filename.Unset() +} + +// GetLastWriteTime returns the LastWriteTime field value if set, zero value otherwise. +func (o *LogFileResource) GetLastWriteTime() time.Time { + if o == nil || isNil(o.LastWriteTime) { + var ret time.Time + return ret + } + return *o.LastWriteTime +} + +// GetLastWriteTimeOk returns a tuple with the LastWriteTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogFileResource) GetLastWriteTimeOk() (*time.Time, bool) { + if o == nil || isNil(o.LastWriteTime) { + return nil, false + } + return o.LastWriteTime, true +} + +// HasLastWriteTime returns a boolean if a field has been set. +func (o *LogFileResource) HasLastWriteTime() bool { + if o != nil && !isNil(o.LastWriteTime) { + return true + } + + return false +} + +// SetLastWriteTime gets a reference to the given time.Time and assigns it to the LastWriteTime field. +func (o *LogFileResource) SetLastWriteTime(v time.Time) { + o.LastWriteTime = &v +} + +// GetContentsUrl returns the ContentsUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogFileResource) GetContentsUrl() string { + if o == nil || isNil(o.ContentsUrl.Get()) { + var ret string + return ret + } + return *o.ContentsUrl.Get() +} + +// GetContentsUrlOk returns a tuple with the ContentsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogFileResource) GetContentsUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContentsUrl.Get(), o.ContentsUrl.IsSet() +} + +// HasContentsUrl returns a boolean if a field has been set. +func (o *LogFileResource) HasContentsUrl() bool { + if o != nil && o.ContentsUrl.IsSet() { + return true + } + + return false +} + +// SetContentsUrl gets a reference to the given NullableString and assigns it to the ContentsUrl field. +func (o *LogFileResource) SetContentsUrl(v string) { + o.ContentsUrl.Set(&v) +} +// SetContentsUrlNil sets the value for ContentsUrl to be an explicit nil +func (o *LogFileResource) SetContentsUrlNil() { + o.ContentsUrl.Set(nil) +} + +// UnsetContentsUrl ensures that no value is present for ContentsUrl, not even an explicit nil +func (o *LogFileResource) UnsetContentsUrl() { + o.ContentsUrl.Unset() +} + +// GetDownloadUrl returns the DownloadUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogFileResource) GetDownloadUrl() string { + if o == nil || isNil(o.DownloadUrl.Get()) { + var ret string + return ret + } + return *o.DownloadUrl.Get() +} + +// GetDownloadUrlOk returns a tuple with the DownloadUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogFileResource) GetDownloadUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadUrl.Get(), o.DownloadUrl.IsSet() +} + +// HasDownloadUrl returns a boolean if a field has been set. +func (o *LogFileResource) HasDownloadUrl() bool { + if o != nil && o.DownloadUrl.IsSet() { + return true + } + + return false +} + +// SetDownloadUrl gets a reference to the given NullableString and assigns it to the DownloadUrl field. +func (o *LogFileResource) SetDownloadUrl(v string) { + o.DownloadUrl.Set(&v) +} +// SetDownloadUrlNil sets the value for DownloadUrl to be an explicit nil +func (o *LogFileResource) SetDownloadUrlNil() { + o.DownloadUrl.Set(nil) +} + +// UnsetDownloadUrl ensures that no value is present for DownloadUrl, not even an explicit nil +func (o *LogFileResource) UnsetDownloadUrl() { + o.DownloadUrl.Unset() +} + +func (o LogFileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Filename.IsSet() { + toSerialize["filename"] = o.Filename.Get() + } + if !isNil(o.LastWriteTime) { + toSerialize["lastWriteTime"] = o.LastWriteTime + } + if o.ContentsUrl.IsSet() { + toSerialize["contentsUrl"] = o.ContentsUrl.Get() + } + if o.DownloadUrl.IsSet() { + toSerialize["downloadUrl"] = o.DownloadUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableLogFileResource struct { + value *LogFileResource + isSet bool +} + +func (v NullableLogFileResource) Get() *LogFileResource { + return v.value +} + +func (v *NullableLogFileResource) Set(val *LogFileResource) { + v.value = val + v.isSet = true +} + +func (v NullableLogFileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableLogFileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLogFileResource(val *LogFileResource) *NullableLogFileResource { + return &NullableLogFileResource{value: val, isSet: true} +} + +func (v NullableLogFileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLogFileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_log_resource.go b/lidarr/model_log_resource.go new file mode 100644 index 0000000..52ca7b1 --- /dev/null +++ b/lidarr/model_log_resource.go @@ -0,0 +1,428 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// LogResource struct for LogResource +type LogResource struct { + Id *int32 `json:"id,omitempty"` + Time *time.Time `json:"time,omitempty"` + Exception NullableString `json:"exception,omitempty"` + ExceptionType NullableString `json:"exceptionType,omitempty"` + Level NullableString `json:"level,omitempty"` + Logger NullableString `json:"logger,omitempty"` + Message NullableString `json:"message,omitempty"` + Method NullableString `json:"method,omitempty"` +} + +// NewLogResource instantiates a new LogResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLogResource() *LogResource { + this := LogResource{} + return &this +} + +// NewLogResourceWithDefaults instantiates a new LogResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLogResourceWithDefaults() *LogResource { + this := LogResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *LogResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *LogResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *LogResource) SetId(v int32) { + o.Id = &v +} + +// GetTime returns the Time field value if set, zero value otherwise. +func (o *LogResource) GetTime() time.Time { + if o == nil || isNil(o.Time) { + var ret time.Time + return ret + } + return *o.Time +} + +// GetTimeOk returns a tuple with the Time field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResource) GetTimeOk() (*time.Time, bool) { + if o == nil || isNil(o.Time) { + return nil, false + } + return o.Time, true +} + +// HasTime returns a boolean if a field has been set. +func (o *LogResource) HasTime() bool { + if o != nil && !isNil(o.Time) { + return true + } + + return false +} + +// SetTime gets a reference to the given time.Time and assigns it to the Time field. +func (o *LogResource) SetTime(v time.Time) { + o.Time = &v +} + +// GetException returns the Exception field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetException() string { + if o == nil || isNil(o.Exception.Get()) { + var ret string + return ret + } + return *o.Exception.Get() +} + +// GetExceptionOk returns a tuple with the Exception field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetExceptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Exception.Get(), o.Exception.IsSet() +} + +// HasException returns a boolean if a field has been set. +func (o *LogResource) HasException() bool { + if o != nil && o.Exception.IsSet() { + return true + } + + return false +} + +// SetException gets a reference to the given NullableString and assigns it to the Exception field. +func (o *LogResource) SetException(v string) { + o.Exception.Set(&v) +} +// SetExceptionNil sets the value for Exception to be an explicit nil +func (o *LogResource) SetExceptionNil() { + o.Exception.Set(nil) +} + +// UnsetException ensures that no value is present for Exception, not even an explicit nil +func (o *LogResource) UnsetException() { + o.Exception.Unset() +} + +// GetExceptionType returns the ExceptionType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetExceptionType() string { + if o == nil || isNil(o.ExceptionType.Get()) { + var ret string + return ret + } + return *o.ExceptionType.Get() +} + +// GetExceptionTypeOk returns a tuple with the ExceptionType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetExceptionTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExceptionType.Get(), o.ExceptionType.IsSet() +} + +// HasExceptionType returns a boolean if a field has been set. +func (o *LogResource) HasExceptionType() bool { + if o != nil && o.ExceptionType.IsSet() { + return true + } + + return false +} + +// SetExceptionType gets a reference to the given NullableString and assigns it to the ExceptionType field. +func (o *LogResource) SetExceptionType(v string) { + o.ExceptionType.Set(&v) +} +// SetExceptionTypeNil sets the value for ExceptionType to be an explicit nil +func (o *LogResource) SetExceptionTypeNil() { + o.ExceptionType.Set(nil) +} + +// UnsetExceptionType ensures that no value is present for ExceptionType, not even an explicit nil +func (o *LogResource) UnsetExceptionType() { + o.ExceptionType.Unset() +} + +// GetLevel returns the Level field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetLevel() string { + if o == nil || isNil(o.Level.Get()) { + var ret string + return ret + } + return *o.Level.Get() +} + +// GetLevelOk returns a tuple with the Level field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetLevelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Level.Get(), o.Level.IsSet() +} + +// HasLevel returns a boolean if a field has been set. +func (o *LogResource) HasLevel() bool { + if o != nil && o.Level.IsSet() { + return true + } + + return false +} + +// SetLevel gets a reference to the given NullableString and assigns it to the Level field. +func (o *LogResource) SetLevel(v string) { + o.Level.Set(&v) +} +// SetLevelNil sets the value for Level to be an explicit nil +func (o *LogResource) SetLevelNil() { + o.Level.Set(nil) +} + +// UnsetLevel ensures that no value is present for Level, not even an explicit nil +func (o *LogResource) UnsetLevel() { + o.Level.Unset() +} + +// GetLogger returns the Logger field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetLogger() string { + if o == nil || isNil(o.Logger.Get()) { + var ret string + return ret + } + return *o.Logger.Get() +} + +// GetLoggerOk returns a tuple with the Logger field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetLoggerOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Logger.Get(), o.Logger.IsSet() +} + +// HasLogger returns a boolean if a field has been set. +func (o *LogResource) HasLogger() bool { + if o != nil && o.Logger.IsSet() { + return true + } + + return false +} + +// SetLogger gets a reference to the given NullableString and assigns it to the Logger field. +func (o *LogResource) SetLogger(v string) { + o.Logger.Set(&v) +} +// SetLoggerNil sets the value for Logger to be an explicit nil +func (o *LogResource) SetLoggerNil() { + o.Logger.Set(nil) +} + +// UnsetLogger ensures that no value is present for Logger, not even an explicit nil +func (o *LogResource) UnsetLogger() { + o.Logger.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetMessage() string { + if o == nil || isNil(o.Message.Get()) { + var ret string + return ret + } + return *o.Message.Get() +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Message.Get(), o.Message.IsSet() +} + +// HasMessage returns a boolean if a field has been set. +func (o *LogResource) HasMessage() bool { + if o != nil && o.Message.IsSet() { + return true + } + + return false +} + +// SetMessage gets a reference to the given NullableString and assigns it to the Message field. +func (o *LogResource) SetMessage(v string) { + o.Message.Set(&v) +} +// SetMessageNil sets the value for Message to be an explicit nil +func (o *LogResource) SetMessageNil() { + o.Message.Set(nil) +} + +// UnsetMessage ensures that no value is present for Message, not even an explicit nil +func (o *LogResource) UnsetMessage() { + o.Message.Unset() +} + +// GetMethod returns the Method field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResource) GetMethod() string { + if o == nil || isNil(o.Method.Get()) { + var ret string + return ret + } + return *o.Method.Get() +} + +// GetMethodOk returns a tuple with the Method field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResource) GetMethodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Method.Get(), o.Method.IsSet() +} + +// HasMethod returns a boolean if a field has been set. +func (o *LogResource) HasMethod() bool { + if o != nil && o.Method.IsSet() { + return true + } + + return false +} + +// SetMethod gets a reference to the given NullableString and assigns it to the Method field. +func (o *LogResource) SetMethod(v string) { + o.Method.Set(&v) +} +// SetMethodNil sets the value for Method to be an explicit nil +func (o *LogResource) SetMethodNil() { + o.Method.Set(nil) +} + +// UnsetMethod ensures that no value is present for Method, not even an explicit nil +func (o *LogResource) UnsetMethod() { + o.Method.Unset() +} + +func (o LogResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.Time) { + toSerialize["time"] = o.Time + } + if o.Exception.IsSet() { + toSerialize["exception"] = o.Exception.Get() + } + if o.ExceptionType.IsSet() { + toSerialize["exceptionType"] = o.ExceptionType.Get() + } + if o.Level.IsSet() { + toSerialize["level"] = o.Level.Get() + } + if o.Logger.IsSet() { + toSerialize["logger"] = o.Logger.Get() + } + if o.Message.IsSet() { + toSerialize["message"] = o.Message.Get() + } + if o.Method.IsSet() { + toSerialize["method"] = o.Method.Get() + } + return json.Marshal(toSerialize) +} + +type NullableLogResource struct { + value *LogResource + isSet bool +} + +func (v NullableLogResource) Get() *LogResource { + return v.value +} + +func (v *NullableLogResource) Set(val *LogResource) { + v.value = val + v.isSet = true +} + +func (v NullableLogResource) IsSet() bool { + return v.isSet +} + +func (v *NullableLogResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLogResource(val *LogResource) *NullableLogResource { + return &NullableLogResource{value: val, isSet: true} +} + +func (v NullableLogResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLogResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_log_resource_paging_resource.go b/lidarr/model_log_resource_paging_resource.go new file mode 100644 index 0000000..c3ce3ef --- /dev/null +++ b/lidarr/model_log_resource_paging_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// LogResourcePagingResource struct for LogResourcePagingResource +type LogResourcePagingResource struct { + Page *int32 `json:"page,omitempty"` + PageSize *int32 `json:"pageSize,omitempty"` + SortKey NullableString `json:"sortKey,omitempty"` + SortDirection *SortDirection `json:"sortDirection,omitempty"` + Filters []*PagingResourceFilter `json:"filters,omitempty"` + TotalRecords *int32 `json:"totalRecords,omitempty"` + Records []*LogResource `json:"records,omitempty"` +} + +// NewLogResourcePagingResource instantiates a new LogResourcePagingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLogResourcePagingResource() *LogResourcePagingResource { + this := LogResourcePagingResource{} + return &this +} + +// NewLogResourcePagingResourceWithDefaults instantiates a new LogResourcePagingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLogResourcePagingResourceWithDefaults() *LogResourcePagingResource { + this := LogResourcePagingResource{} + return &this +} + +// GetPage returns the Page field value if set, zero value otherwise. +func (o *LogResourcePagingResource) GetPage() int32 { + if o == nil || isNil(o.Page) { + var ret int32 + return ret + } + return *o.Page +} + +// GetPageOk returns a tuple with the Page field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResourcePagingResource) GetPageOk() (*int32, bool) { + if o == nil || isNil(o.Page) { + return nil, false + } + return o.Page, true +} + +// HasPage returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasPage() bool { + if o != nil && !isNil(o.Page) { + return true + } + + return false +} + +// SetPage gets a reference to the given int32 and assigns it to the Page field. +func (o *LogResourcePagingResource) SetPage(v int32) { + o.Page = &v +} + +// GetPageSize returns the PageSize field value if set, zero value otherwise. +func (o *LogResourcePagingResource) GetPageSize() int32 { + if o == nil || isNil(o.PageSize) { + var ret int32 + return ret + } + return *o.PageSize +} + +// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResourcePagingResource) GetPageSizeOk() (*int32, bool) { + if o == nil || isNil(o.PageSize) { + return nil, false + } + return o.PageSize, true +} + +// HasPageSize returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasPageSize() bool { + if o != nil && !isNil(o.PageSize) { + return true + } + + return false +} + +// SetPageSize gets a reference to the given int32 and assigns it to the PageSize field. +func (o *LogResourcePagingResource) SetPageSize(v int32) { + o.PageSize = &v +} + +// GetSortKey returns the SortKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResourcePagingResource) GetSortKey() string { + if o == nil || isNil(o.SortKey.Get()) { + var ret string + return ret + } + return *o.SortKey.Get() +} + +// GetSortKeyOk returns a tuple with the SortKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResourcePagingResource) GetSortKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortKey.Get(), o.SortKey.IsSet() +} + +// HasSortKey returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasSortKey() bool { + if o != nil && o.SortKey.IsSet() { + return true + } + + return false +} + +// SetSortKey gets a reference to the given NullableString and assigns it to the SortKey field. +func (o *LogResourcePagingResource) SetSortKey(v string) { + o.SortKey.Set(&v) +} +// SetSortKeyNil sets the value for SortKey to be an explicit nil +func (o *LogResourcePagingResource) SetSortKeyNil() { + o.SortKey.Set(nil) +} + +// UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +func (o *LogResourcePagingResource) UnsetSortKey() { + o.SortKey.Unset() +} + +// GetSortDirection returns the SortDirection field value if set, zero value otherwise. +func (o *LogResourcePagingResource) GetSortDirection() SortDirection { + if o == nil || isNil(o.SortDirection) { + var ret SortDirection + return ret + } + return *o.SortDirection +} + +// GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool) { + if o == nil || isNil(o.SortDirection) { + return nil, false + } + return o.SortDirection, true +} + +// HasSortDirection returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasSortDirection() bool { + if o != nil && !isNil(o.SortDirection) { + return true + } + + return false +} + +// SetSortDirection gets a reference to the given SortDirection and assigns it to the SortDirection field. +func (o *LogResourcePagingResource) SetSortDirection(v SortDirection) { + o.SortDirection = &v +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResourcePagingResource) GetFilters() []*PagingResourceFilter { + if o == nil { + var ret []*PagingResourceFilter + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResourcePagingResource) GetFiltersOk() ([]*PagingResourceFilter, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []PagingResourceFilter and assigns it to the Filters field. +func (o *LogResourcePagingResource) SetFilters(v []*PagingResourceFilter) { + o.Filters = v +} + +// GetTotalRecords returns the TotalRecords field value if set, zero value otherwise. +func (o *LogResourcePagingResource) GetTotalRecords() int32 { + if o == nil || isNil(o.TotalRecords) { + var ret int32 + return ret + } + return *o.TotalRecords +} + +// GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LogResourcePagingResource) GetTotalRecordsOk() (*int32, bool) { + if o == nil || isNil(o.TotalRecords) { + return nil, false + } + return o.TotalRecords, true +} + +// HasTotalRecords returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasTotalRecords() bool { + if o != nil && !isNil(o.TotalRecords) { + return true + } + + return false +} + +// SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field. +func (o *LogResourcePagingResource) SetTotalRecords(v int32) { + o.TotalRecords = &v +} + +// GetRecords returns the Records field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LogResourcePagingResource) GetRecords() []*LogResource { + if o == nil { + var ret []*LogResource + return ret + } + return o.Records +} + +// GetRecordsOk returns a tuple with the Records field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LogResourcePagingResource) GetRecordsOk() ([]*LogResource, bool) { + if o == nil || isNil(o.Records) { + return nil, false + } + return o.Records, true +} + +// HasRecords returns a boolean if a field has been set. +func (o *LogResourcePagingResource) HasRecords() bool { + if o != nil && isNil(o.Records) { + return true + } + + return false +} + +// SetRecords gets a reference to the given []LogResource and assigns it to the Records field. +func (o *LogResourcePagingResource) SetRecords(v []*LogResource) { + o.Records = v +} + +func (o LogResourcePagingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Page) { + toSerialize["page"] = o.Page + } + if !isNil(o.PageSize) { + toSerialize["pageSize"] = o.PageSize + } + if o.SortKey.IsSet() { + toSerialize["sortKey"] = o.SortKey.Get() + } + if !isNil(o.SortDirection) { + toSerialize["sortDirection"] = o.SortDirection + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + if !isNil(o.TotalRecords) { + toSerialize["totalRecords"] = o.TotalRecords + } + if o.Records != nil { + toSerialize["records"] = o.Records + } + return json.Marshal(toSerialize) +} + +type NullableLogResourcePagingResource struct { + value *LogResourcePagingResource + isSet bool +} + +func (v NullableLogResourcePagingResource) Get() *LogResourcePagingResource { + return v.value +} + +func (v *NullableLogResourcePagingResource) Set(val *LogResourcePagingResource) { + v.value = val + v.isSet = true +} + +func (v NullableLogResourcePagingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableLogResourcePagingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLogResourcePagingResource(val *LogResourcePagingResource) *NullableLogResourcePagingResource { + return &NullableLogResourcePagingResource{value: val, isSet: true} +} + +func (v NullableLogResourcePagingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLogResourcePagingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_manual_import_resource.go b/lidarr/model_manual_import_resource.go new file mode 100644 index 0000000..eac949a --- /dev/null +++ b/lidarr/model_manual_import_resource.go @@ -0,0 +1,687 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ManualImportResource struct for ManualImportResource +type ManualImportResource struct { + Id *int32 `json:"id,omitempty"` + Path NullableString `json:"path,omitempty"` + Name NullableString `json:"name,omitempty"` + Size *int64 `json:"size,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Album *AlbumResource `json:"album,omitempty"` + AlbumReleaseId *int32 `json:"albumReleaseId,omitempty"` + Tracks []*TrackResource `json:"tracks,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + QualityWeight *int32 `json:"qualityWeight,omitempty"` + DownloadId NullableString `json:"downloadId,omitempty"` + Rejections []*Rejection `json:"rejections,omitempty"` + AudioTags *ParsedTrackInfo `json:"audioTags,omitempty"` + AdditionalFile *bool `json:"additionalFile,omitempty"` + ReplaceExistingFiles *bool `json:"replaceExistingFiles,omitempty"` + DisableReleaseSwitching *bool `json:"disableReleaseSwitching,omitempty"` +} + +// NewManualImportResource instantiates a new ManualImportResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewManualImportResource() *ManualImportResource { + this := ManualImportResource{} + return &this +} + +// NewManualImportResourceWithDefaults instantiates a new ManualImportResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewManualImportResourceWithDefaults() *ManualImportResource { + this := ManualImportResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ManualImportResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ManualImportResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ManualImportResource) SetId(v int32) { + o.Id = &v +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualImportResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualImportResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *ManualImportResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *ManualImportResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *ManualImportResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *ManualImportResource) UnsetPath() { + o.Path.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualImportResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualImportResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ManualImportResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ManualImportResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *ManualImportResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ManualImportResource) UnsetName() { + o.Name.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *ManualImportResource) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *ManualImportResource) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *ManualImportResource) SetSize(v int64) { + o.Size = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *ManualImportResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *ManualImportResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *ManualImportResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *ManualImportResource) GetAlbum() AlbumResource { + if o == nil || isNil(o.Album) { + var ret AlbumResource + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetAlbumOk() (*AlbumResource, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *ManualImportResource) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given AlbumResource and assigns it to the Album field. +func (o *ManualImportResource) SetAlbum(v AlbumResource) { + o.Album = &v +} + +// GetAlbumReleaseId returns the AlbumReleaseId field value if set, zero value otherwise. +func (o *ManualImportResource) GetAlbumReleaseId() int32 { + if o == nil || isNil(o.AlbumReleaseId) { + var ret int32 + return ret + } + return *o.AlbumReleaseId +} + +// GetAlbumReleaseIdOk returns a tuple with the AlbumReleaseId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetAlbumReleaseIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumReleaseId) { + return nil, false + } + return o.AlbumReleaseId, true +} + +// HasAlbumReleaseId returns a boolean if a field has been set. +func (o *ManualImportResource) HasAlbumReleaseId() bool { + if o != nil && !isNil(o.AlbumReleaseId) { + return true + } + + return false +} + +// SetAlbumReleaseId gets a reference to the given int32 and assigns it to the AlbumReleaseId field. +func (o *ManualImportResource) SetAlbumReleaseId(v int32) { + o.AlbumReleaseId = &v +} + +// GetTracks returns the Tracks field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualImportResource) GetTracks() []*TrackResource { + if o == nil { + var ret []*TrackResource + return ret + } + return o.Tracks +} + +// GetTracksOk returns a tuple with the Tracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualImportResource) GetTracksOk() ([]*TrackResource, bool) { + if o == nil || isNil(o.Tracks) { + return nil, false + } + return o.Tracks, true +} + +// HasTracks returns a boolean if a field has been set. +func (o *ManualImportResource) HasTracks() bool { + if o != nil && isNil(o.Tracks) { + return true + } + + return false +} + +// SetTracks gets a reference to the given []TrackResource and assigns it to the Tracks field. +func (o *ManualImportResource) SetTracks(v []*TrackResource) { + o.Tracks = v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *ManualImportResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *ManualImportResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *ManualImportResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetQualityWeight returns the QualityWeight field value if set, zero value otherwise. +func (o *ManualImportResource) GetQualityWeight() int32 { + if o == nil || isNil(o.QualityWeight) { + var ret int32 + return ret + } + return *o.QualityWeight +} + +// GetQualityWeightOk returns a tuple with the QualityWeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetQualityWeightOk() (*int32, bool) { + if o == nil || isNil(o.QualityWeight) { + return nil, false + } + return o.QualityWeight, true +} + +// HasQualityWeight returns a boolean if a field has been set. +func (o *ManualImportResource) HasQualityWeight() bool { + if o != nil && !isNil(o.QualityWeight) { + return true + } + + return false +} + +// SetQualityWeight gets a reference to the given int32 and assigns it to the QualityWeight field. +func (o *ManualImportResource) SetQualityWeight(v int32) { + o.QualityWeight = &v +} + +// GetDownloadId returns the DownloadId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualImportResource) GetDownloadId() string { + if o == nil || isNil(o.DownloadId.Get()) { + var ret string + return ret + } + return *o.DownloadId.Get() +} + +// GetDownloadIdOk returns a tuple with the DownloadId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualImportResource) GetDownloadIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadId.Get(), o.DownloadId.IsSet() +} + +// HasDownloadId returns a boolean if a field has been set. +func (o *ManualImportResource) HasDownloadId() bool { + if o != nil && o.DownloadId.IsSet() { + return true + } + + return false +} + +// SetDownloadId gets a reference to the given NullableString and assigns it to the DownloadId field. +func (o *ManualImportResource) SetDownloadId(v string) { + o.DownloadId.Set(&v) +} +// SetDownloadIdNil sets the value for DownloadId to be an explicit nil +func (o *ManualImportResource) SetDownloadIdNil() { + o.DownloadId.Set(nil) +} + +// UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +func (o *ManualImportResource) UnsetDownloadId() { + o.DownloadId.Unset() +} + +// GetRejections returns the Rejections field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualImportResource) GetRejections() []*Rejection { + if o == nil { + var ret []*Rejection + return ret + } + return o.Rejections +} + +// GetRejectionsOk returns a tuple with the Rejections field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualImportResource) GetRejectionsOk() ([]*Rejection, bool) { + if o == nil || isNil(o.Rejections) { + return nil, false + } + return o.Rejections, true +} + +// HasRejections returns a boolean if a field has been set. +func (o *ManualImportResource) HasRejections() bool { + if o != nil && isNil(o.Rejections) { + return true + } + + return false +} + +// SetRejections gets a reference to the given []Rejection and assigns it to the Rejections field. +func (o *ManualImportResource) SetRejections(v []*Rejection) { + o.Rejections = v +} + +// GetAudioTags returns the AudioTags field value if set, zero value otherwise. +func (o *ManualImportResource) GetAudioTags() ParsedTrackInfo { + if o == nil || isNil(o.AudioTags) { + var ret ParsedTrackInfo + return ret + } + return *o.AudioTags +} + +// GetAudioTagsOk returns a tuple with the AudioTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetAudioTagsOk() (*ParsedTrackInfo, bool) { + if o == nil || isNil(o.AudioTags) { + return nil, false + } + return o.AudioTags, true +} + +// HasAudioTags returns a boolean if a field has been set. +func (o *ManualImportResource) HasAudioTags() bool { + if o != nil && !isNil(o.AudioTags) { + return true + } + + return false +} + +// SetAudioTags gets a reference to the given ParsedTrackInfo and assigns it to the AudioTags field. +func (o *ManualImportResource) SetAudioTags(v ParsedTrackInfo) { + o.AudioTags = &v +} + +// GetAdditionalFile returns the AdditionalFile field value if set, zero value otherwise. +func (o *ManualImportResource) GetAdditionalFile() bool { + if o == nil || isNil(o.AdditionalFile) { + var ret bool + return ret + } + return *o.AdditionalFile +} + +// GetAdditionalFileOk returns a tuple with the AdditionalFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetAdditionalFileOk() (*bool, bool) { + if o == nil || isNil(o.AdditionalFile) { + return nil, false + } + return o.AdditionalFile, true +} + +// HasAdditionalFile returns a boolean if a field has been set. +func (o *ManualImportResource) HasAdditionalFile() bool { + if o != nil && !isNil(o.AdditionalFile) { + return true + } + + return false +} + +// SetAdditionalFile gets a reference to the given bool and assigns it to the AdditionalFile field. +func (o *ManualImportResource) SetAdditionalFile(v bool) { + o.AdditionalFile = &v +} + +// GetReplaceExistingFiles returns the ReplaceExistingFiles field value if set, zero value otherwise. +func (o *ManualImportResource) GetReplaceExistingFiles() bool { + if o == nil || isNil(o.ReplaceExistingFiles) { + var ret bool + return ret + } + return *o.ReplaceExistingFiles +} + +// GetReplaceExistingFilesOk returns a tuple with the ReplaceExistingFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetReplaceExistingFilesOk() (*bool, bool) { + if o == nil || isNil(o.ReplaceExistingFiles) { + return nil, false + } + return o.ReplaceExistingFiles, true +} + +// HasReplaceExistingFiles returns a boolean if a field has been set. +func (o *ManualImportResource) HasReplaceExistingFiles() bool { + if o != nil && !isNil(o.ReplaceExistingFiles) { + return true + } + + return false +} + +// SetReplaceExistingFiles gets a reference to the given bool and assigns it to the ReplaceExistingFiles field. +func (o *ManualImportResource) SetReplaceExistingFiles(v bool) { + o.ReplaceExistingFiles = &v +} + +// GetDisableReleaseSwitching returns the DisableReleaseSwitching field value if set, zero value otherwise. +func (o *ManualImportResource) GetDisableReleaseSwitching() bool { + if o == nil || isNil(o.DisableReleaseSwitching) { + var ret bool + return ret + } + return *o.DisableReleaseSwitching +} + +// GetDisableReleaseSwitchingOk returns a tuple with the DisableReleaseSwitching field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualImportResource) GetDisableReleaseSwitchingOk() (*bool, bool) { + if o == nil || isNil(o.DisableReleaseSwitching) { + return nil, false + } + return o.DisableReleaseSwitching, true +} + +// HasDisableReleaseSwitching returns a boolean if a field has been set. +func (o *ManualImportResource) HasDisableReleaseSwitching() bool { + if o != nil && !isNil(o.DisableReleaseSwitching) { + return true + } + + return false +} + +// SetDisableReleaseSwitching gets a reference to the given bool and assigns it to the DisableReleaseSwitching field. +func (o *ManualImportResource) SetDisableReleaseSwitching(v bool) { + o.DisableReleaseSwitching = &v +} + +func (o ManualImportResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + if !isNil(o.AlbumReleaseId) { + toSerialize["albumReleaseId"] = o.AlbumReleaseId + } + if o.Tracks != nil { + toSerialize["tracks"] = o.Tracks + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.QualityWeight) { + toSerialize["qualityWeight"] = o.QualityWeight + } + if o.DownloadId.IsSet() { + toSerialize["downloadId"] = o.DownloadId.Get() + } + if o.Rejections != nil { + toSerialize["rejections"] = o.Rejections + } + if !isNil(o.AudioTags) { + toSerialize["audioTags"] = o.AudioTags + } + if !isNil(o.AdditionalFile) { + toSerialize["additionalFile"] = o.AdditionalFile + } + if !isNil(o.ReplaceExistingFiles) { + toSerialize["replaceExistingFiles"] = o.ReplaceExistingFiles + } + if !isNil(o.DisableReleaseSwitching) { + toSerialize["disableReleaseSwitching"] = o.DisableReleaseSwitching + } + return json.Marshal(toSerialize) +} + +type NullableManualImportResource struct { + value *ManualImportResource + isSet bool +} + +func (v NullableManualImportResource) Get() *ManualImportResource { + return v.value +} + +func (v *NullableManualImportResource) Set(val *ManualImportResource) { + v.value = val + v.isSet = true +} + +func (v NullableManualImportResource) IsSet() bool { + return v.isSet +} + +func (v *NullableManualImportResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableManualImportResource(val *ManualImportResource) *NullableManualImportResource { + return &NullableManualImportResource{value: val, isSet: true} +} + +func (v NullableManualImportResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableManualImportResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_media_cover.go b/lidarr/model_media_cover.go new file mode 100644 index 0000000..759cb60 --- /dev/null +++ b/lidarr/model_media_cover.go @@ -0,0 +1,253 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MediaCover struct for MediaCover +type MediaCover struct { + Url NullableString `json:"url,omitempty"` + CoverType *MediaCoverTypes `json:"coverType,omitempty"` + Extension NullableString `json:"extension,omitempty"` + RemoteUrl NullableString `json:"remoteUrl,omitempty"` +} + +// NewMediaCover instantiates a new MediaCover object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMediaCover() *MediaCover { + this := MediaCover{} + return &this +} + +// NewMediaCoverWithDefaults instantiates a new MediaCover object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediaCoverWithDefaults() *MediaCover { + this := MediaCover{} + return &this +} + +// GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaCover) GetUrl() string { + if o == nil || isNil(o.Url.Get()) { + var ret string + return ret + } + return *o.Url.Get() +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaCover) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Url.Get(), o.Url.IsSet() +} + +// HasUrl returns a boolean if a field has been set. +func (o *MediaCover) HasUrl() bool { + if o != nil && o.Url.IsSet() { + return true + } + + return false +} + +// SetUrl gets a reference to the given NullableString and assigns it to the Url field. +func (o *MediaCover) SetUrl(v string) { + o.Url.Set(&v) +} +// SetUrlNil sets the value for Url to be an explicit nil +func (o *MediaCover) SetUrlNil() { + o.Url.Set(nil) +} + +// UnsetUrl ensures that no value is present for Url, not even an explicit nil +func (o *MediaCover) UnsetUrl() { + o.Url.Unset() +} + +// GetCoverType returns the CoverType field value if set, zero value otherwise. +func (o *MediaCover) GetCoverType() MediaCoverTypes { + if o == nil || isNil(o.CoverType) { + var ret MediaCoverTypes + return ret + } + return *o.CoverType +} + +// GetCoverTypeOk returns a tuple with the CoverType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaCover) GetCoverTypeOk() (*MediaCoverTypes, bool) { + if o == nil || isNil(o.CoverType) { + return nil, false + } + return o.CoverType, true +} + +// HasCoverType returns a boolean if a field has been set. +func (o *MediaCover) HasCoverType() bool { + if o != nil && !isNil(o.CoverType) { + return true + } + + return false +} + +// SetCoverType gets a reference to the given MediaCoverTypes and assigns it to the CoverType field. +func (o *MediaCover) SetCoverType(v MediaCoverTypes) { + o.CoverType = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaCover) GetExtension() string { + if o == nil || isNil(o.Extension.Get()) { + var ret string + return ret + } + return *o.Extension.Get() +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaCover) GetExtensionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Extension.Get(), o.Extension.IsSet() +} + +// HasExtension returns a boolean if a field has been set. +func (o *MediaCover) HasExtension() bool { + if o != nil && o.Extension.IsSet() { + return true + } + + return false +} + +// SetExtension gets a reference to the given NullableString and assigns it to the Extension field. +func (o *MediaCover) SetExtension(v string) { + o.Extension.Set(&v) +} +// SetExtensionNil sets the value for Extension to be an explicit nil +func (o *MediaCover) SetExtensionNil() { + o.Extension.Set(nil) +} + +// UnsetExtension ensures that no value is present for Extension, not even an explicit nil +func (o *MediaCover) UnsetExtension() { + o.Extension.Unset() +} + +// GetRemoteUrl returns the RemoteUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaCover) GetRemoteUrl() string { + if o == nil || isNil(o.RemoteUrl.Get()) { + var ret string + return ret + } + return *o.RemoteUrl.Get() +} + +// GetRemoteUrlOk returns a tuple with the RemoteUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaCover) GetRemoteUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RemoteUrl.Get(), o.RemoteUrl.IsSet() +} + +// HasRemoteUrl returns a boolean if a field has been set. +func (o *MediaCover) HasRemoteUrl() bool { + if o != nil && o.RemoteUrl.IsSet() { + return true + } + + return false +} + +// SetRemoteUrl gets a reference to the given NullableString and assigns it to the RemoteUrl field. +func (o *MediaCover) SetRemoteUrl(v string) { + o.RemoteUrl.Set(&v) +} +// SetRemoteUrlNil sets the value for RemoteUrl to be an explicit nil +func (o *MediaCover) SetRemoteUrlNil() { + o.RemoteUrl.Set(nil) +} + +// UnsetRemoteUrl ensures that no value is present for RemoteUrl, not even an explicit nil +func (o *MediaCover) UnsetRemoteUrl() { + o.RemoteUrl.Unset() +} + +func (o MediaCover) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Url.IsSet() { + toSerialize["url"] = o.Url.Get() + } + if !isNil(o.CoverType) { + toSerialize["coverType"] = o.CoverType + } + if o.Extension.IsSet() { + toSerialize["extension"] = o.Extension.Get() + } + if o.RemoteUrl.IsSet() { + toSerialize["remoteUrl"] = o.RemoteUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMediaCover struct { + value *MediaCover + isSet bool +} + +func (v NullableMediaCover) Get() *MediaCover { + return v.value +} + +func (v *NullableMediaCover) Set(val *MediaCover) { + v.value = val + v.isSet = true +} + +func (v NullableMediaCover) IsSet() bool { + return v.isSet +} + +func (v *NullableMediaCover) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediaCover(val *MediaCover) *NullableMediaCover { + return &NullableMediaCover{value: val, isSet: true} +} + +func (v NullableMediaCover) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediaCover) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_media_cover_types.go b/lidarr/model_media_cover_types.go new file mode 100644 index 0000000..b80c5de --- /dev/null +++ b/lidarr/model_media_cover_types.go @@ -0,0 +1,125 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// MediaCoverTypes the model 'MediaCoverTypes' +type MediaCoverTypes string + +// List of MediaCoverTypes +const ( + MEDIACOVERTYPES_UNKNOWN MediaCoverTypes = "unknown" + MEDIACOVERTYPES_POSTER MediaCoverTypes = "poster" + MEDIACOVERTYPES_BANNER MediaCoverTypes = "banner" + MEDIACOVERTYPES_FANART MediaCoverTypes = "fanart" + MEDIACOVERTYPES_SCREENSHOT MediaCoverTypes = "screenshot" + MEDIACOVERTYPES_HEADSHOT MediaCoverTypes = "headshot" + MEDIACOVERTYPES_COVER MediaCoverTypes = "cover" + MEDIACOVERTYPES_DISC MediaCoverTypes = "disc" + MEDIACOVERTYPES_LOGO MediaCoverTypes = "logo" +) + +// All allowed values of MediaCoverTypes enum +var AllowedMediaCoverTypesEnumValues = []MediaCoverTypes{ + "unknown", + "poster", + "banner", + "fanart", + "screenshot", + "headshot", + "cover", + "disc", + "logo", +} + +func (v *MediaCoverTypes) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := MediaCoverTypes(value) + for _, existing := range AllowedMediaCoverTypesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid MediaCoverTypes", value) +} + +// NewMediaCoverTypesFromValue returns a pointer to a valid MediaCoverTypes +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewMediaCoverTypesFromValue(v string) (*MediaCoverTypes, error) { + ev := MediaCoverTypes(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for MediaCoverTypes: valid values are %v", v, AllowedMediaCoverTypesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v MediaCoverTypes) IsValid() bool { + for _, existing := range AllowedMediaCoverTypesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to MediaCoverTypes value +func (v MediaCoverTypes) Ptr() *MediaCoverTypes { + return &v +} + +type NullableMediaCoverTypes struct { + value *MediaCoverTypes + isSet bool +} + +func (v NullableMediaCoverTypes) Get() *MediaCoverTypes { + return v.value +} + +func (v *NullableMediaCoverTypes) Set(val *MediaCoverTypes) { + v.value = val + v.isSet = true +} + +func (v NullableMediaCoverTypes) IsSet() bool { + return v.isSet +} + +func (v *NullableMediaCoverTypes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediaCoverTypes(val *MediaCoverTypes) *NullableMediaCoverTypes { + return &NullableMediaCoverTypes{value: val, isSet: true} +} + +func (v NullableMediaCoverTypes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediaCoverTypes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_media_info_model.go b/lidarr/model_media_info_model.go new file mode 100644 index 0000000..5541a19 --- /dev/null +++ b/lidarr/model_media_info_model.go @@ -0,0 +1,269 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MediaInfoModel struct for MediaInfoModel +type MediaInfoModel struct { + AudioFormat NullableString `json:"audioFormat,omitempty"` + AudioBitrate *int32 `json:"audioBitrate,omitempty"` + AudioChannels *int32 `json:"audioChannels,omitempty"` + AudioBits *int32 `json:"audioBits,omitempty"` + AudioSampleRate *int32 `json:"audioSampleRate,omitempty"` +} + +// NewMediaInfoModel instantiates a new MediaInfoModel object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMediaInfoModel() *MediaInfoModel { + this := MediaInfoModel{} + return &this +} + +// NewMediaInfoModelWithDefaults instantiates a new MediaInfoModel object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediaInfoModelWithDefaults() *MediaInfoModel { + this := MediaInfoModel{} + return &this +} + +// GetAudioFormat returns the AudioFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaInfoModel) GetAudioFormat() string { + if o == nil || isNil(o.AudioFormat.Get()) { + var ret string + return ret + } + return *o.AudioFormat.Get() +} + +// GetAudioFormatOk returns a tuple with the AudioFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaInfoModel) GetAudioFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AudioFormat.Get(), o.AudioFormat.IsSet() +} + +// HasAudioFormat returns a boolean if a field has been set. +func (o *MediaInfoModel) HasAudioFormat() bool { + if o != nil && o.AudioFormat.IsSet() { + return true + } + + return false +} + +// SetAudioFormat gets a reference to the given NullableString and assigns it to the AudioFormat field. +func (o *MediaInfoModel) SetAudioFormat(v string) { + o.AudioFormat.Set(&v) +} +// SetAudioFormatNil sets the value for AudioFormat to be an explicit nil +func (o *MediaInfoModel) SetAudioFormatNil() { + o.AudioFormat.Set(nil) +} + +// UnsetAudioFormat ensures that no value is present for AudioFormat, not even an explicit nil +func (o *MediaInfoModel) UnsetAudioFormat() { + o.AudioFormat.Unset() +} + +// GetAudioBitrate returns the AudioBitrate field value if set, zero value otherwise. +func (o *MediaInfoModel) GetAudioBitrate() int32 { + if o == nil || isNil(o.AudioBitrate) { + var ret int32 + return ret + } + return *o.AudioBitrate +} + +// GetAudioBitrateOk returns a tuple with the AudioBitrate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoModel) GetAudioBitrateOk() (*int32, bool) { + if o == nil || isNil(o.AudioBitrate) { + return nil, false + } + return o.AudioBitrate, true +} + +// HasAudioBitrate returns a boolean if a field has been set. +func (o *MediaInfoModel) HasAudioBitrate() bool { + if o != nil && !isNil(o.AudioBitrate) { + return true + } + + return false +} + +// SetAudioBitrate gets a reference to the given int32 and assigns it to the AudioBitrate field. +func (o *MediaInfoModel) SetAudioBitrate(v int32) { + o.AudioBitrate = &v +} + +// GetAudioChannels returns the AudioChannels field value if set, zero value otherwise. +func (o *MediaInfoModel) GetAudioChannels() int32 { + if o == nil || isNil(o.AudioChannels) { + var ret int32 + return ret + } + return *o.AudioChannels +} + +// GetAudioChannelsOk returns a tuple with the AudioChannels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoModel) GetAudioChannelsOk() (*int32, bool) { + if o == nil || isNil(o.AudioChannels) { + return nil, false + } + return o.AudioChannels, true +} + +// HasAudioChannels returns a boolean if a field has been set. +func (o *MediaInfoModel) HasAudioChannels() bool { + if o != nil && !isNil(o.AudioChannels) { + return true + } + + return false +} + +// SetAudioChannels gets a reference to the given int32 and assigns it to the AudioChannels field. +func (o *MediaInfoModel) SetAudioChannels(v int32) { + o.AudioChannels = &v +} + +// GetAudioBits returns the AudioBits field value if set, zero value otherwise. +func (o *MediaInfoModel) GetAudioBits() int32 { + if o == nil || isNil(o.AudioBits) { + var ret int32 + return ret + } + return *o.AudioBits +} + +// GetAudioBitsOk returns a tuple with the AudioBits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoModel) GetAudioBitsOk() (*int32, bool) { + if o == nil || isNil(o.AudioBits) { + return nil, false + } + return o.AudioBits, true +} + +// HasAudioBits returns a boolean if a field has been set. +func (o *MediaInfoModel) HasAudioBits() bool { + if o != nil && !isNil(o.AudioBits) { + return true + } + + return false +} + +// SetAudioBits gets a reference to the given int32 and assigns it to the AudioBits field. +func (o *MediaInfoModel) SetAudioBits(v int32) { + o.AudioBits = &v +} + +// GetAudioSampleRate returns the AudioSampleRate field value if set, zero value otherwise. +func (o *MediaInfoModel) GetAudioSampleRate() int32 { + if o == nil || isNil(o.AudioSampleRate) { + var ret int32 + return ret + } + return *o.AudioSampleRate +} + +// GetAudioSampleRateOk returns a tuple with the AudioSampleRate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoModel) GetAudioSampleRateOk() (*int32, bool) { + if o == nil || isNil(o.AudioSampleRate) { + return nil, false + } + return o.AudioSampleRate, true +} + +// HasAudioSampleRate returns a boolean if a field has been set. +func (o *MediaInfoModel) HasAudioSampleRate() bool { + if o != nil && !isNil(o.AudioSampleRate) { + return true + } + + return false +} + +// SetAudioSampleRate gets a reference to the given int32 and assigns it to the AudioSampleRate field. +func (o *MediaInfoModel) SetAudioSampleRate(v int32) { + o.AudioSampleRate = &v +} + +func (o MediaInfoModel) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.AudioFormat.IsSet() { + toSerialize["audioFormat"] = o.AudioFormat.Get() + } + if !isNil(o.AudioBitrate) { + toSerialize["audioBitrate"] = o.AudioBitrate + } + if !isNil(o.AudioChannels) { + toSerialize["audioChannels"] = o.AudioChannels + } + if !isNil(o.AudioBits) { + toSerialize["audioBits"] = o.AudioBits + } + if !isNil(o.AudioSampleRate) { + toSerialize["audioSampleRate"] = o.AudioSampleRate + } + return json.Marshal(toSerialize) +} + +type NullableMediaInfoModel struct { + value *MediaInfoModel + isSet bool +} + +func (v NullableMediaInfoModel) Get() *MediaInfoModel { + return v.value +} + +func (v *NullableMediaInfoModel) Set(val *MediaInfoModel) { + v.value = val + v.isSet = true +} + +func (v NullableMediaInfoModel) IsSet() bool { + return v.isSet +} + +func (v *NullableMediaInfoModel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediaInfoModel(val *MediaInfoModel) *NullableMediaInfoModel { + return &NullableMediaInfoModel{value: val, isSet: true} +} + +func (v NullableMediaInfoModel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediaInfoModel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_media_info_resource.go b/lidarr/model_media_info_resource.go new file mode 100644 index 0000000..e7ed5c2 --- /dev/null +++ b/lidarr/model_media_info_resource.go @@ -0,0 +1,335 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MediaInfoResource struct for MediaInfoResource +type MediaInfoResource struct { + Id *int32 `json:"id,omitempty"` + AudioChannels *float64 `json:"audioChannels,omitempty"` + AudioBitRate NullableString `json:"audioBitRate,omitempty"` + AudioCodec NullableString `json:"audioCodec,omitempty"` + AudioBits NullableString `json:"audioBits,omitempty"` + AudioSampleRate NullableString `json:"audioSampleRate,omitempty"` +} + +// NewMediaInfoResource instantiates a new MediaInfoResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMediaInfoResource() *MediaInfoResource { + this := MediaInfoResource{} + return &this +} + +// NewMediaInfoResourceWithDefaults instantiates a new MediaInfoResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediaInfoResourceWithDefaults() *MediaInfoResource { + this := MediaInfoResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MediaInfoResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MediaInfoResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MediaInfoResource) SetId(v int32) { + o.Id = &v +} + +// GetAudioChannels returns the AudioChannels field value if set, zero value otherwise. +func (o *MediaInfoResource) GetAudioChannels() float64 { + if o == nil || isNil(o.AudioChannels) { + var ret float64 + return ret + } + return *o.AudioChannels +} + +// GetAudioChannelsOk returns a tuple with the AudioChannels field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaInfoResource) GetAudioChannelsOk() (*float64, bool) { + if o == nil || isNil(o.AudioChannels) { + return nil, false + } + return o.AudioChannels, true +} + +// HasAudioChannels returns a boolean if a field has been set. +func (o *MediaInfoResource) HasAudioChannels() bool { + if o != nil && !isNil(o.AudioChannels) { + return true + } + + return false +} + +// SetAudioChannels gets a reference to the given float64 and assigns it to the AudioChannels field. +func (o *MediaInfoResource) SetAudioChannels(v float64) { + o.AudioChannels = &v +} + +// GetAudioBitRate returns the AudioBitRate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaInfoResource) GetAudioBitRate() string { + if o == nil || isNil(o.AudioBitRate.Get()) { + var ret string + return ret + } + return *o.AudioBitRate.Get() +} + +// GetAudioBitRateOk returns a tuple with the AudioBitRate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaInfoResource) GetAudioBitRateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AudioBitRate.Get(), o.AudioBitRate.IsSet() +} + +// HasAudioBitRate returns a boolean if a field has been set. +func (o *MediaInfoResource) HasAudioBitRate() bool { + if o != nil && o.AudioBitRate.IsSet() { + return true + } + + return false +} + +// SetAudioBitRate gets a reference to the given NullableString and assigns it to the AudioBitRate field. +func (o *MediaInfoResource) SetAudioBitRate(v string) { + o.AudioBitRate.Set(&v) +} +// SetAudioBitRateNil sets the value for AudioBitRate to be an explicit nil +func (o *MediaInfoResource) SetAudioBitRateNil() { + o.AudioBitRate.Set(nil) +} + +// UnsetAudioBitRate ensures that no value is present for AudioBitRate, not even an explicit nil +func (o *MediaInfoResource) UnsetAudioBitRate() { + o.AudioBitRate.Unset() +} + +// GetAudioCodec returns the AudioCodec field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaInfoResource) GetAudioCodec() string { + if o == nil || isNil(o.AudioCodec.Get()) { + var ret string + return ret + } + return *o.AudioCodec.Get() +} + +// GetAudioCodecOk returns a tuple with the AudioCodec field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaInfoResource) GetAudioCodecOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AudioCodec.Get(), o.AudioCodec.IsSet() +} + +// HasAudioCodec returns a boolean if a field has been set. +func (o *MediaInfoResource) HasAudioCodec() bool { + if o != nil && o.AudioCodec.IsSet() { + return true + } + + return false +} + +// SetAudioCodec gets a reference to the given NullableString and assigns it to the AudioCodec field. +func (o *MediaInfoResource) SetAudioCodec(v string) { + o.AudioCodec.Set(&v) +} +// SetAudioCodecNil sets the value for AudioCodec to be an explicit nil +func (o *MediaInfoResource) SetAudioCodecNil() { + o.AudioCodec.Set(nil) +} + +// UnsetAudioCodec ensures that no value is present for AudioCodec, not even an explicit nil +func (o *MediaInfoResource) UnsetAudioCodec() { + o.AudioCodec.Unset() +} + +// GetAudioBits returns the AudioBits field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaInfoResource) GetAudioBits() string { + if o == nil || isNil(o.AudioBits.Get()) { + var ret string + return ret + } + return *o.AudioBits.Get() +} + +// GetAudioBitsOk returns a tuple with the AudioBits field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaInfoResource) GetAudioBitsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AudioBits.Get(), o.AudioBits.IsSet() +} + +// HasAudioBits returns a boolean if a field has been set. +func (o *MediaInfoResource) HasAudioBits() bool { + if o != nil && o.AudioBits.IsSet() { + return true + } + + return false +} + +// SetAudioBits gets a reference to the given NullableString and assigns it to the AudioBits field. +func (o *MediaInfoResource) SetAudioBits(v string) { + o.AudioBits.Set(&v) +} +// SetAudioBitsNil sets the value for AudioBits to be an explicit nil +func (o *MediaInfoResource) SetAudioBitsNil() { + o.AudioBits.Set(nil) +} + +// UnsetAudioBits ensures that no value is present for AudioBits, not even an explicit nil +func (o *MediaInfoResource) UnsetAudioBits() { + o.AudioBits.Unset() +} + +// GetAudioSampleRate returns the AudioSampleRate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaInfoResource) GetAudioSampleRate() string { + if o == nil || isNil(o.AudioSampleRate.Get()) { + var ret string + return ret + } + return *o.AudioSampleRate.Get() +} + +// GetAudioSampleRateOk returns a tuple with the AudioSampleRate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaInfoResource) GetAudioSampleRateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AudioSampleRate.Get(), o.AudioSampleRate.IsSet() +} + +// HasAudioSampleRate returns a boolean if a field has been set. +func (o *MediaInfoResource) HasAudioSampleRate() bool { + if o != nil && o.AudioSampleRate.IsSet() { + return true + } + + return false +} + +// SetAudioSampleRate gets a reference to the given NullableString and assigns it to the AudioSampleRate field. +func (o *MediaInfoResource) SetAudioSampleRate(v string) { + o.AudioSampleRate.Set(&v) +} +// SetAudioSampleRateNil sets the value for AudioSampleRate to be an explicit nil +func (o *MediaInfoResource) SetAudioSampleRateNil() { + o.AudioSampleRate.Set(nil) +} + +// UnsetAudioSampleRate ensures that no value is present for AudioSampleRate, not even an explicit nil +func (o *MediaInfoResource) UnsetAudioSampleRate() { + o.AudioSampleRate.Unset() +} + +func (o MediaInfoResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AudioChannels) { + toSerialize["audioChannels"] = o.AudioChannels + } + if o.AudioBitRate.IsSet() { + toSerialize["audioBitRate"] = o.AudioBitRate.Get() + } + if o.AudioCodec.IsSet() { + toSerialize["audioCodec"] = o.AudioCodec.Get() + } + if o.AudioBits.IsSet() { + toSerialize["audioBits"] = o.AudioBits.Get() + } + if o.AudioSampleRate.IsSet() { + toSerialize["audioSampleRate"] = o.AudioSampleRate.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMediaInfoResource struct { + value *MediaInfoResource + isSet bool +} + +func (v NullableMediaInfoResource) Get() *MediaInfoResource { + return v.value +} + +func (v *NullableMediaInfoResource) Set(val *MediaInfoResource) { + v.value = val + v.isSet = true +} + +func (v NullableMediaInfoResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMediaInfoResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediaInfoResource(val *MediaInfoResource) *NullableMediaInfoResource { + return &NullableMediaInfoResource{value: val, isSet: true} +} + +func (v NullableMediaInfoResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediaInfoResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_media_management_config_resource.go b/lidarr/model_media_management_config_resource.go new file mode 100644 index 0000000..b4a5f22 --- /dev/null +++ b/lidarr/model_media_management_config_resource.go @@ -0,0 +1,803 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MediaManagementConfigResource struct for MediaManagementConfigResource +type MediaManagementConfigResource struct { + Id *int32 `json:"id,omitempty"` + AutoUnmonitorPreviouslyDownloadedTracks *bool `json:"autoUnmonitorPreviouslyDownloadedTracks,omitempty"` + RecycleBin NullableString `json:"recycleBin,omitempty"` + RecycleBinCleanupDays *int32 `json:"recycleBinCleanupDays,omitempty"` + DownloadPropersAndRepacks *ProperDownloadTypes `json:"downloadPropersAndRepacks,omitempty"` + CreateEmptyArtistFolders *bool `json:"createEmptyArtistFolders,omitempty"` + DeleteEmptyFolders *bool `json:"deleteEmptyFolders,omitempty"` + FileDate *FileDateType `json:"fileDate,omitempty"` + WatchLibraryForChanges *bool `json:"watchLibraryForChanges,omitempty"` + RescanAfterRefresh *RescanAfterRefreshType `json:"rescanAfterRefresh,omitempty"` + AllowFingerprinting *AllowFingerprinting `json:"allowFingerprinting,omitempty"` + SetPermissionsLinux *bool `json:"setPermissionsLinux,omitempty"` + ChmodFolder NullableString `json:"chmodFolder,omitempty"` + ChownGroup NullableString `json:"chownGroup,omitempty"` + SkipFreeSpaceCheckWhenImporting *bool `json:"skipFreeSpaceCheckWhenImporting,omitempty"` + MinimumFreeSpaceWhenImporting *int32 `json:"minimumFreeSpaceWhenImporting,omitempty"` + CopyUsingHardlinks *bool `json:"copyUsingHardlinks,omitempty"` + ImportExtraFiles *bool `json:"importExtraFiles,omitempty"` + ExtraFileExtensions NullableString `json:"extraFileExtensions,omitempty"` +} + +// NewMediaManagementConfigResource instantiates a new MediaManagementConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMediaManagementConfigResource() *MediaManagementConfigResource { + this := MediaManagementConfigResource{} + return &this +} + +// NewMediaManagementConfigResourceWithDefaults instantiates a new MediaManagementConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediaManagementConfigResourceWithDefaults() *MediaManagementConfigResource { + this := MediaManagementConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MediaManagementConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetAutoUnmonitorPreviouslyDownloadedTracks returns the AutoUnmonitorPreviouslyDownloadedTracks field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetAutoUnmonitorPreviouslyDownloadedTracks() bool { + if o == nil || isNil(o.AutoUnmonitorPreviouslyDownloadedTracks) { + var ret bool + return ret + } + return *o.AutoUnmonitorPreviouslyDownloadedTracks +} + +// GetAutoUnmonitorPreviouslyDownloadedTracksOk returns a tuple with the AutoUnmonitorPreviouslyDownloadedTracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetAutoUnmonitorPreviouslyDownloadedTracksOk() (*bool, bool) { + if o == nil || isNil(o.AutoUnmonitorPreviouslyDownloadedTracks) { + return nil, false + } + return o.AutoUnmonitorPreviouslyDownloadedTracks, true +} + +// HasAutoUnmonitorPreviouslyDownloadedTracks returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasAutoUnmonitorPreviouslyDownloadedTracks() bool { + if o != nil && !isNil(o.AutoUnmonitorPreviouslyDownloadedTracks) { + return true + } + + return false +} + +// SetAutoUnmonitorPreviouslyDownloadedTracks gets a reference to the given bool and assigns it to the AutoUnmonitorPreviouslyDownloadedTracks field. +func (o *MediaManagementConfigResource) SetAutoUnmonitorPreviouslyDownloadedTracks(v bool) { + o.AutoUnmonitorPreviouslyDownloadedTracks = &v +} + +// GetRecycleBin returns the RecycleBin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaManagementConfigResource) GetRecycleBin() string { + if o == nil || isNil(o.RecycleBin.Get()) { + var ret string + return ret + } + return *o.RecycleBin.Get() +} + +// GetRecycleBinOk returns a tuple with the RecycleBin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaManagementConfigResource) GetRecycleBinOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RecycleBin.Get(), o.RecycleBin.IsSet() +} + +// HasRecycleBin returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasRecycleBin() bool { + if o != nil && o.RecycleBin.IsSet() { + return true + } + + return false +} + +// SetRecycleBin gets a reference to the given NullableString and assigns it to the RecycleBin field. +func (o *MediaManagementConfigResource) SetRecycleBin(v string) { + o.RecycleBin.Set(&v) +} +// SetRecycleBinNil sets the value for RecycleBin to be an explicit nil +func (o *MediaManagementConfigResource) SetRecycleBinNil() { + o.RecycleBin.Set(nil) +} + +// UnsetRecycleBin ensures that no value is present for RecycleBin, not even an explicit nil +func (o *MediaManagementConfigResource) UnsetRecycleBin() { + o.RecycleBin.Unset() +} + +// GetRecycleBinCleanupDays returns the RecycleBinCleanupDays field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetRecycleBinCleanupDays() int32 { + if o == nil || isNil(o.RecycleBinCleanupDays) { + var ret int32 + return ret + } + return *o.RecycleBinCleanupDays +} + +// GetRecycleBinCleanupDaysOk returns a tuple with the RecycleBinCleanupDays field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetRecycleBinCleanupDaysOk() (*int32, bool) { + if o == nil || isNil(o.RecycleBinCleanupDays) { + return nil, false + } + return o.RecycleBinCleanupDays, true +} + +// HasRecycleBinCleanupDays returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasRecycleBinCleanupDays() bool { + if o != nil && !isNil(o.RecycleBinCleanupDays) { + return true + } + + return false +} + +// SetRecycleBinCleanupDays gets a reference to the given int32 and assigns it to the RecycleBinCleanupDays field. +func (o *MediaManagementConfigResource) SetRecycleBinCleanupDays(v int32) { + o.RecycleBinCleanupDays = &v +} + +// GetDownloadPropersAndRepacks returns the DownloadPropersAndRepacks field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetDownloadPropersAndRepacks() ProperDownloadTypes { + if o == nil || isNil(o.DownloadPropersAndRepacks) { + var ret ProperDownloadTypes + return ret + } + return *o.DownloadPropersAndRepacks +} + +// GetDownloadPropersAndRepacksOk returns a tuple with the DownloadPropersAndRepacks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetDownloadPropersAndRepacksOk() (*ProperDownloadTypes, bool) { + if o == nil || isNil(o.DownloadPropersAndRepacks) { + return nil, false + } + return o.DownloadPropersAndRepacks, true +} + +// HasDownloadPropersAndRepacks returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasDownloadPropersAndRepacks() bool { + if o != nil && !isNil(o.DownloadPropersAndRepacks) { + return true + } + + return false +} + +// SetDownloadPropersAndRepacks gets a reference to the given ProperDownloadTypes and assigns it to the DownloadPropersAndRepacks field. +func (o *MediaManagementConfigResource) SetDownloadPropersAndRepacks(v ProperDownloadTypes) { + o.DownloadPropersAndRepacks = &v +} + +// GetCreateEmptyArtistFolders returns the CreateEmptyArtistFolders field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetCreateEmptyArtistFolders() bool { + if o == nil || isNil(o.CreateEmptyArtistFolders) { + var ret bool + return ret + } + return *o.CreateEmptyArtistFolders +} + +// GetCreateEmptyArtistFoldersOk returns a tuple with the CreateEmptyArtistFolders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetCreateEmptyArtistFoldersOk() (*bool, bool) { + if o == nil || isNil(o.CreateEmptyArtistFolders) { + return nil, false + } + return o.CreateEmptyArtistFolders, true +} + +// HasCreateEmptyArtistFolders returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasCreateEmptyArtistFolders() bool { + if o != nil && !isNil(o.CreateEmptyArtistFolders) { + return true + } + + return false +} + +// SetCreateEmptyArtistFolders gets a reference to the given bool and assigns it to the CreateEmptyArtistFolders field. +func (o *MediaManagementConfigResource) SetCreateEmptyArtistFolders(v bool) { + o.CreateEmptyArtistFolders = &v +} + +// GetDeleteEmptyFolders returns the DeleteEmptyFolders field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetDeleteEmptyFolders() bool { + if o == nil || isNil(o.DeleteEmptyFolders) { + var ret bool + return ret + } + return *o.DeleteEmptyFolders +} + +// GetDeleteEmptyFoldersOk returns a tuple with the DeleteEmptyFolders field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetDeleteEmptyFoldersOk() (*bool, bool) { + if o == nil || isNil(o.DeleteEmptyFolders) { + return nil, false + } + return o.DeleteEmptyFolders, true +} + +// HasDeleteEmptyFolders returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasDeleteEmptyFolders() bool { + if o != nil && !isNil(o.DeleteEmptyFolders) { + return true + } + + return false +} + +// SetDeleteEmptyFolders gets a reference to the given bool and assigns it to the DeleteEmptyFolders field. +func (o *MediaManagementConfigResource) SetDeleteEmptyFolders(v bool) { + o.DeleteEmptyFolders = &v +} + +// GetFileDate returns the FileDate field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetFileDate() FileDateType { + if o == nil || isNil(o.FileDate) { + var ret FileDateType + return ret + } + return *o.FileDate +} + +// GetFileDateOk returns a tuple with the FileDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetFileDateOk() (*FileDateType, bool) { + if o == nil || isNil(o.FileDate) { + return nil, false + } + return o.FileDate, true +} + +// HasFileDate returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasFileDate() bool { + if o != nil && !isNil(o.FileDate) { + return true + } + + return false +} + +// SetFileDate gets a reference to the given FileDateType and assigns it to the FileDate field. +func (o *MediaManagementConfigResource) SetFileDate(v FileDateType) { + o.FileDate = &v +} + +// GetWatchLibraryForChanges returns the WatchLibraryForChanges field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetWatchLibraryForChanges() bool { + if o == nil || isNil(o.WatchLibraryForChanges) { + var ret bool + return ret + } + return *o.WatchLibraryForChanges +} + +// GetWatchLibraryForChangesOk returns a tuple with the WatchLibraryForChanges field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetWatchLibraryForChangesOk() (*bool, bool) { + if o == nil || isNil(o.WatchLibraryForChanges) { + return nil, false + } + return o.WatchLibraryForChanges, true +} + +// HasWatchLibraryForChanges returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasWatchLibraryForChanges() bool { + if o != nil && !isNil(o.WatchLibraryForChanges) { + return true + } + + return false +} + +// SetWatchLibraryForChanges gets a reference to the given bool and assigns it to the WatchLibraryForChanges field. +func (o *MediaManagementConfigResource) SetWatchLibraryForChanges(v bool) { + o.WatchLibraryForChanges = &v +} + +// GetRescanAfterRefresh returns the RescanAfterRefresh field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetRescanAfterRefresh() RescanAfterRefreshType { + if o == nil || isNil(o.RescanAfterRefresh) { + var ret RescanAfterRefreshType + return ret + } + return *o.RescanAfterRefresh +} + +// GetRescanAfterRefreshOk returns a tuple with the RescanAfterRefresh field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetRescanAfterRefreshOk() (*RescanAfterRefreshType, bool) { + if o == nil || isNil(o.RescanAfterRefresh) { + return nil, false + } + return o.RescanAfterRefresh, true +} + +// HasRescanAfterRefresh returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasRescanAfterRefresh() bool { + if o != nil && !isNil(o.RescanAfterRefresh) { + return true + } + + return false +} + +// SetRescanAfterRefresh gets a reference to the given RescanAfterRefreshType and assigns it to the RescanAfterRefresh field. +func (o *MediaManagementConfigResource) SetRescanAfterRefresh(v RescanAfterRefreshType) { + o.RescanAfterRefresh = &v +} + +// GetAllowFingerprinting returns the AllowFingerprinting field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetAllowFingerprinting() AllowFingerprinting { + if o == nil || isNil(o.AllowFingerprinting) { + var ret AllowFingerprinting + return ret + } + return *o.AllowFingerprinting +} + +// GetAllowFingerprintingOk returns a tuple with the AllowFingerprinting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetAllowFingerprintingOk() (*AllowFingerprinting, bool) { + if o == nil || isNil(o.AllowFingerprinting) { + return nil, false + } + return o.AllowFingerprinting, true +} + +// HasAllowFingerprinting returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasAllowFingerprinting() bool { + if o != nil && !isNil(o.AllowFingerprinting) { + return true + } + + return false +} + +// SetAllowFingerprinting gets a reference to the given AllowFingerprinting and assigns it to the AllowFingerprinting field. +func (o *MediaManagementConfigResource) SetAllowFingerprinting(v AllowFingerprinting) { + o.AllowFingerprinting = &v +} + +// GetSetPermissionsLinux returns the SetPermissionsLinux field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetSetPermissionsLinux() bool { + if o == nil || isNil(o.SetPermissionsLinux) { + var ret bool + return ret + } + return *o.SetPermissionsLinux +} + +// GetSetPermissionsLinuxOk returns a tuple with the SetPermissionsLinux field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetSetPermissionsLinuxOk() (*bool, bool) { + if o == nil || isNil(o.SetPermissionsLinux) { + return nil, false + } + return o.SetPermissionsLinux, true +} + +// HasSetPermissionsLinux returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasSetPermissionsLinux() bool { + if o != nil && !isNil(o.SetPermissionsLinux) { + return true + } + + return false +} + +// SetSetPermissionsLinux gets a reference to the given bool and assigns it to the SetPermissionsLinux field. +func (o *MediaManagementConfigResource) SetSetPermissionsLinux(v bool) { + o.SetPermissionsLinux = &v +} + +// GetChmodFolder returns the ChmodFolder field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaManagementConfigResource) GetChmodFolder() string { + if o == nil || isNil(o.ChmodFolder.Get()) { + var ret string + return ret + } + return *o.ChmodFolder.Get() +} + +// GetChmodFolderOk returns a tuple with the ChmodFolder field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaManagementConfigResource) GetChmodFolderOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ChmodFolder.Get(), o.ChmodFolder.IsSet() +} + +// HasChmodFolder returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasChmodFolder() bool { + if o != nil && o.ChmodFolder.IsSet() { + return true + } + + return false +} + +// SetChmodFolder gets a reference to the given NullableString and assigns it to the ChmodFolder field. +func (o *MediaManagementConfigResource) SetChmodFolder(v string) { + o.ChmodFolder.Set(&v) +} +// SetChmodFolderNil sets the value for ChmodFolder to be an explicit nil +func (o *MediaManagementConfigResource) SetChmodFolderNil() { + o.ChmodFolder.Set(nil) +} + +// UnsetChmodFolder ensures that no value is present for ChmodFolder, not even an explicit nil +func (o *MediaManagementConfigResource) UnsetChmodFolder() { + o.ChmodFolder.Unset() +} + +// GetChownGroup returns the ChownGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaManagementConfigResource) GetChownGroup() string { + if o == nil || isNil(o.ChownGroup.Get()) { + var ret string + return ret + } + return *o.ChownGroup.Get() +} + +// GetChownGroupOk returns a tuple with the ChownGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaManagementConfigResource) GetChownGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ChownGroup.Get(), o.ChownGroup.IsSet() +} + +// HasChownGroup returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasChownGroup() bool { + if o != nil && o.ChownGroup.IsSet() { + return true + } + + return false +} + +// SetChownGroup gets a reference to the given NullableString and assigns it to the ChownGroup field. +func (o *MediaManagementConfigResource) SetChownGroup(v string) { + o.ChownGroup.Set(&v) +} +// SetChownGroupNil sets the value for ChownGroup to be an explicit nil +func (o *MediaManagementConfigResource) SetChownGroupNil() { + o.ChownGroup.Set(nil) +} + +// UnsetChownGroup ensures that no value is present for ChownGroup, not even an explicit nil +func (o *MediaManagementConfigResource) UnsetChownGroup() { + o.ChownGroup.Unset() +} + +// GetSkipFreeSpaceCheckWhenImporting returns the SkipFreeSpaceCheckWhenImporting field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetSkipFreeSpaceCheckWhenImporting() bool { + if o == nil || isNil(o.SkipFreeSpaceCheckWhenImporting) { + var ret bool + return ret + } + return *o.SkipFreeSpaceCheckWhenImporting +} + +// GetSkipFreeSpaceCheckWhenImportingOk returns a tuple with the SkipFreeSpaceCheckWhenImporting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetSkipFreeSpaceCheckWhenImportingOk() (*bool, bool) { + if o == nil || isNil(o.SkipFreeSpaceCheckWhenImporting) { + return nil, false + } + return o.SkipFreeSpaceCheckWhenImporting, true +} + +// HasSkipFreeSpaceCheckWhenImporting returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasSkipFreeSpaceCheckWhenImporting() bool { + if o != nil && !isNil(o.SkipFreeSpaceCheckWhenImporting) { + return true + } + + return false +} + +// SetSkipFreeSpaceCheckWhenImporting gets a reference to the given bool and assigns it to the SkipFreeSpaceCheckWhenImporting field. +func (o *MediaManagementConfigResource) SetSkipFreeSpaceCheckWhenImporting(v bool) { + o.SkipFreeSpaceCheckWhenImporting = &v +} + +// GetMinimumFreeSpaceWhenImporting returns the MinimumFreeSpaceWhenImporting field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetMinimumFreeSpaceWhenImporting() int32 { + if o == nil || isNil(o.MinimumFreeSpaceWhenImporting) { + var ret int32 + return ret + } + return *o.MinimumFreeSpaceWhenImporting +} + +// GetMinimumFreeSpaceWhenImportingOk returns a tuple with the MinimumFreeSpaceWhenImporting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetMinimumFreeSpaceWhenImportingOk() (*int32, bool) { + if o == nil || isNil(o.MinimumFreeSpaceWhenImporting) { + return nil, false + } + return o.MinimumFreeSpaceWhenImporting, true +} + +// HasMinimumFreeSpaceWhenImporting returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasMinimumFreeSpaceWhenImporting() bool { + if o != nil && !isNil(o.MinimumFreeSpaceWhenImporting) { + return true + } + + return false +} + +// SetMinimumFreeSpaceWhenImporting gets a reference to the given int32 and assigns it to the MinimumFreeSpaceWhenImporting field. +func (o *MediaManagementConfigResource) SetMinimumFreeSpaceWhenImporting(v int32) { + o.MinimumFreeSpaceWhenImporting = &v +} + +// GetCopyUsingHardlinks returns the CopyUsingHardlinks field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetCopyUsingHardlinks() bool { + if o == nil || isNil(o.CopyUsingHardlinks) { + var ret bool + return ret + } + return *o.CopyUsingHardlinks +} + +// GetCopyUsingHardlinksOk returns a tuple with the CopyUsingHardlinks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetCopyUsingHardlinksOk() (*bool, bool) { + if o == nil || isNil(o.CopyUsingHardlinks) { + return nil, false + } + return o.CopyUsingHardlinks, true +} + +// HasCopyUsingHardlinks returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasCopyUsingHardlinks() bool { + if o != nil && !isNil(o.CopyUsingHardlinks) { + return true + } + + return false +} + +// SetCopyUsingHardlinks gets a reference to the given bool and assigns it to the CopyUsingHardlinks field. +func (o *MediaManagementConfigResource) SetCopyUsingHardlinks(v bool) { + o.CopyUsingHardlinks = &v +} + +// GetImportExtraFiles returns the ImportExtraFiles field value if set, zero value otherwise. +func (o *MediaManagementConfigResource) GetImportExtraFiles() bool { + if o == nil || isNil(o.ImportExtraFiles) { + var ret bool + return ret + } + return *o.ImportExtraFiles +} + +// GetImportExtraFilesOk returns a tuple with the ImportExtraFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediaManagementConfigResource) GetImportExtraFilesOk() (*bool, bool) { + if o == nil || isNil(o.ImportExtraFiles) { + return nil, false + } + return o.ImportExtraFiles, true +} + +// HasImportExtraFiles returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasImportExtraFiles() bool { + if o != nil && !isNil(o.ImportExtraFiles) { + return true + } + + return false +} + +// SetImportExtraFiles gets a reference to the given bool and assigns it to the ImportExtraFiles field. +func (o *MediaManagementConfigResource) SetImportExtraFiles(v bool) { + o.ImportExtraFiles = &v +} + +// GetExtraFileExtensions returns the ExtraFileExtensions field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediaManagementConfigResource) GetExtraFileExtensions() string { + if o == nil || isNil(o.ExtraFileExtensions.Get()) { + var ret string + return ret + } + return *o.ExtraFileExtensions.Get() +} + +// GetExtraFileExtensionsOk returns a tuple with the ExtraFileExtensions field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediaManagementConfigResource) GetExtraFileExtensionsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraFileExtensions.Get(), o.ExtraFileExtensions.IsSet() +} + +// HasExtraFileExtensions returns a boolean if a field has been set. +func (o *MediaManagementConfigResource) HasExtraFileExtensions() bool { + if o != nil && o.ExtraFileExtensions.IsSet() { + return true + } + + return false +} + +// SetExtraFileExtensions gets a reference to the given NullableString and assigns it to the ExtraFileExtensions field. +func (o *MediaManagementConfigResource) SetExtraFileExtensions(v string) { + o.ExtraFileExtensions.Set(&v) +} +// SetExtraFileExtensionsNil sets the value for ExtraFileExtensions to be an explicit nil +func (o *MediaManagementConfigResource) SetExtraFileExtensionsNil() { + o.ExtraFileExtensions.Set(nil) +} + +// UnsetExtraFileExtensions ensures that no value is present for ExtraFileExtensions, not even an explicit nil +func (o *MediaManagementConfigResource) UnsetExtraFileExtensions() { + o.ExtraFileExtensions.Unset() +} + +func (o MediaManagementConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AutoUnmonitorPreviouslyDownloadedTracks) { + toSerialize["autoUnmonitorPreviouslyDownloadedTracks"] = o.AutoUnmonitorPreviouslyDownloadedTracks + } + if o.RecycleBin.IsSet() { + toSerialize["recycleBin"] = o.RecycleBin.Get() + } + if !isNil(o.RecycleBinCleanupDays) { + toSerialize["recycleBinCleanupDays"] = o.RecycleBinCleanupDays + } + if !isNil(o.DownloadPropersAndRepacks) { + toSerialize["downloadPropersAndRepacks"] = o.DownloadPropersAndRepacks + } + if !isNil(o.CreateEmptyArtistFolders) { + toSerialize["createEmptyArtistFolders"] = o.CreateEmptyArtistFolders + } + if !isNil(o.DeleteEmptyFolders) { + toSerialize["deleteEmptyFolders"] = o.DeleteEmptyFolders + } + if !isNil(o.FileDate) { + toSerialize["fileDate"] = o.FileDate + } + if !isNil(o.WatchLibraryForChanges) { + toSerialize["watchLibraryForChanges"] = o.WatchLibraryForChanges + } + if !isNil(o.RescanAfterRefresh) { + toSerialize["rescanAfterRefresh"] = o.RescanAfterRefresh + } + if !isNil(o.AllowFingerprinting) { + toSerialize["allowFingerprinting"] = o.AllowFingerprinting + } + if !isNil(o.SetPermissionsLinux) { + toSerialize["setPermissionsLinux"] = o.SetPermissionsLinux + } + if o.ChmodFolder.IsSet() { + toSerialize["chmodFolder"] = o.ChmodFolder.Get() + } + if o.ChownGroup.IsSet() { + toSerialize["chownGroup"] = o.ChownGroup.Get() + } + if !isNil(o.SkipFreeSpaceCheckWhenImporting) { + toSerialize["skipFreeSpaceCheckWhenImporting"] = o.SkipFreeSpaceCheckWhenImporting + } + if !isNil(o.MinimumFreeSpaceWhenImporting) { + toSerialize["minimumFreeSpaceWhenImporting"] = o.MinimumFreeSpaceWhenImporting + } + if !isNil(o.CopyUsingHardlinks) { + toSerialize["copyUsingHardlinks"] = o.CopyUsingHardlinks + } + if !isNil(o.ImportExtraFiles) { + toSerialize["importExtraFiles"] = o.ImportExtraFiles + } + if o.ExtraFileExtensions.IsSet() { + toSerialize["extraFileExtensions"] = o.ExtraFileExtensions.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMediaManagementConfigResource struct { + value *MediaManagementConfigResource + isSet bool +} + +func (v NullableMediaManagementConfigResource) Get() *MediaManagementConfigResource { + return v.value +} + +func (v *NullableMediaManagementConfigResource) Set(val *MediaManagementConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableMediaManagementConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMediaManagementConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediaManagementConfigResource(val *MediaManagementConfigResource) *NullableMediaManagementConfigResource { + return &NullableMediaManagementConfigResource{value: val, isSet: true} +} + +func (v NullableMediaManagementConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediaManagementConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_medium.go b/lidarr/model_medium.go new file mode 100644 index 0000000..2d905ff --- /dev/null +++ b/lidarr/model_medium.go @@ -0,0 +1,207 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Medium struct for Medium +type Medium struct { + Number *int32 `json:"number,omitempty"` + Name NullableString `json:"name,omitempty"` + Format NullableString `json:"format,omitempty"` +} + +// NewMedium instantiates a new Medium object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMedium() *Medium { + this := Medium{} + return &this +} + +// NewMediumWithDefaults instantiates a new Medium object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediumWithDefaults() *Medium { + this := Medium{} + return &this +} + +// GetNumber returns the Number field value if set, zero value otherwise. +func (o *Medium) GetNumber() int32 { + if o == nil || isNil(o.Number) { + var ret int32 + return ret + } + return *o.Number +} + +// GetNumberOk returns a tuple with the Number field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Medium) GetNumberOk() (*int32, bool) { + if o == nil || isNil(o.Number) { + return nil, false + } + return o.Number, true +} + +// HasNumber returns a boolean if a field has been set. +func (o *Medium) HasNumber() bool { + if o != nil && !isNil(o.Number) { + return true + } + + return false +} + +// SetNumber gets a reference to the given int32 and assigns it to the Number field. +func (o *Medium) SetNumber(v int32) { + o.Number = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Medium) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Medium) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Medium) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Medium) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Medium) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Medium) UnsetName() { + o.Name.Unset() +} + +// GetFormat returns the Format field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Medium) GetFormat() string { + if o == nil || isNil(o.Format.Get()) { + var ret string + return ret + } + return *o.Format.Get() +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Medium) GetFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Format.Get(), o.Format.IsSet() +} + +// HasFormat returns a boolean if a field has been set. +func (o *Medium) HasFormat() bool { + if o != nil && o.Format.IsSet() { + return true + } + + return false +} + +// SetFormat gets a reference to the given NullableString and assigns it to the Format field. +func (o *Medium) SetFormat(v string) { + o.Format.Set(&v) +} +// SetFormatNil sets the value for Format to be an explicit nil +func (o *Medium) SetFormatNil() { + o.Format.Set(nil) +} + +// UnsetFormat ensures that no value is present for Format, not even an explicit nil +func (o *Medium) UnsetFormat() { + o.Format.Unset() +} + +func (o Medium) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Number) { + toSerialize["number"] = o.Number + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Format.IsSet() { + toSerialize["format"] = o.Format.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMedium struct { + value *Medium + isSet bool +} + +func (v NullableMedium) Get() *Medium { + return v.value +} + +func (v *NullableMedium) Set(val *Medium) { + v.value = val + v.isSet = true +} + +func (v NullableMedium) IsSet() bool { + return v.isSet +} + +func (v *NullableMedium) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMedium(val *Medium) *NullableMedium { + return &NullableMedium{value: val, isSet: true} +} + +func (v NullableMedium) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMedium) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_medium_resource.go b/lidarr/model_medium_resource.go new file mode 100644 index 0000000..afe04f1 --- /dev/null +++ b/lidarr/model_medium_resource.go @@ -0,0 +1,207 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MediumResource struct for MediumResource +type MediumResource struct { + MediumNumber *int32 `json:"mediumNumber,omitempty"` + MediumName NullableString `json:"mediumName,omitempty"` + MediumFormat NullableString `json:"mediumFormat,omitempty"` +} + +// NewMediumResource instantiates a new MediumResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMediumResource() *MediumResource { + this := MediumResource{} + return &this +} + +// NewMediumResourceWithDefaults instantiates a new MediumResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMediumResourceWithDefaults() *MediumResource { + this := MediumResource{} + return &this +} + +// GetMediumNumber returns the MediumNumber field value if set, zero value otherwise. +func (o *MediumResource) GetMediumNumber() int32 { + if o == nil || isNil(o.MediumNumber) { + var ret int32 + return ret + } + return *o.MediumNumber +} + +// GetMediumNumberOk returns a tuple with the MediumNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MediumResource) GetMediumNumberOk() (*int32, bool) { + if o == nil || isNil(o.MediumNumber) { + return nil, false + } + return o.MediumNumber, true +} + +// HasMediumNumber returns a boolean if a field has been set. +func (o *MediumResource) HasMediumNumber() bool { + if o != nil && !isNil(o.MediumNumber) { + return true + } + + return false +} + +// SetMediumNumber gets a reference to the given int32 and assigns it to the MediumNumber field. +func (o *MediumResource) SetMediumNumber(v int32) { + o.MediumNumber = &v +} + +// GetMediumName returns the MediumName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediumResource) GetMediumName() string { + if o == nil || isNil(o.MediumName.Get()) { + var ret string + return ret + } + return *o.MediumName.Get() +} + +// GetMediumNameOk returns a tuple with the MediumName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediumResource) GetMediumNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MediumName.Get(), o.MediumName.IsSet() +} + +// HasMediumName returns a boolean if a field has been set. +func (o *MediumResource) HasMediumName() bool { + if o != nil && o.MediumName.IsSet() { + return true + } + + return false +} + +// SetMediumName gets a reference to the given NullableString and assigns it to the MediumName field. +func (o *MediumResource) SetMediumName(v string) { + o.MediumName.Set(&v) +} +// SetMediumNameNil sets the value for MediumName to be an explicit nil +func (o *MediumResource) SetMediumNameNil() { + o.MediumName.Set(nil) +} + +// UnsetMediumName ensures that no value is present for MediumName, not even an explicit nil +func (o *MediumResource) UnsetMediumName() { + o.MediumName.Unset() +} + +// GetMediumFormat returns the MediumFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MediumResource) GetMediumFormat() string { + if o == nil || isNil(o.MediumFormat.Get()) { + var ret string + return ret + } + return *o.MediumFormat.Get() +} + +// GetMediumFormatOk returns a tuple with the MediumFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MediumResource) GetMediumFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MediumFormat.Get(), o.MediumFormat.IsSet() +} + +// HasMediumFormat returns a boolean if a field has been set. +func (o *MediumResource) HasMediumFormat() bool { + if o != nil && o.MediumFormat.IsSet() { + return true + } + + return false +} + +// SetMediumFormat gets a reference to the given NullableString and assigns it to the MediumFormat field. +func (o *MediumResource) SetMediumFormat(v string) { + o.MediumFormat.Set(&v) +} +// SetMediumFormatNil sets the value for MediumFormat to be an explicit nil +func (o *MediumResource) SetMediumFormatNil() { + o.MediumFormat.Set(nil) +} + +// UnsetMediumFormat ensures that no value is present for MediumFormat, not even an explicit nil +func (o *MediumResource) UnsetMediumFormat() { + o.MediumFormat.Unset() +} + +func (o MediumResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.MediumNumber) { + toSerialize["mediumNumber"] = o.MediumNumber + } + if o.MediumName.IsSet() { + toSerialize["mediumName"] = o.MediumName.Get() + } + if o.MediumFormat.IsSet() { + toSerialize["mediumFormat"] = o.MediumFormat.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMediumResource struct { + value *MediumResource + isSet bool +} + +func (v NullableMediumResource) Get() *MediumResource { + return v.value +} + +func (v *NullableMediumResource) Set(val *MediumResource) { + v.value = val + v.isSet = true +} + +func (v NullableMediumResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMediumResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMediumResource(val *MediumResource) *NullableMediumResource { + return &NullableMediumResource{value: val, isSet: true} +} + +func (v NullableMediumResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMediumResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_member.go b/lidarr/model_member.go new file mode 100644 index 0000000..ab8e0a7 --- /dev/null +++ b/lidarr/model_member.go @@ -0,0 +1,208 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Member struct for Member +type Member struct { + Name NullableString `json:"name,omitempty"` + Instrument NullableString `json:"instrument,omitempty"` + Images []*MediaCover `json:"images,omitempty"` +} + +// NewMember instantiates a new Member object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMember() *Member { + this := Member{} + return &this +} + +// NewMemberWithDefaults instantiates a new Member object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMemberWithDefaults() *Member { + this := Member{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Member) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Member) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Member) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Member) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Member) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Member) UnsetName() { + o.Name.Unset() +} + +// GetInstrument returns the Instrument field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Member) GetInstrument() string { + if o == nil || isNil(o.Instrument.Get()) { + var ret string + return ret + } + return *o.Instrument.Get() +} + +// GetInstrumentOk returns a tuple with the Instrument field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Member) GetInstrumentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Instrument.Get(), o.Instrument.IsSet() +} + +// HasInstrument returns a boolean if a field has been set. +func (o *Member) HasInstrument() bool { + if o != nil && o.Instrument.IsSet() { + return true + } + + return false +} + +// SetInstrument gets a reference to the given NullableString and assigns it to the Instrument field. +func (o *Member) SetInstrument(v string) { + o.Instrument.Set(&v) +} +// SetInstrumentNil sets the value for Instrument to be an explicit nil +func (o *Member) SetInstrumentNil() { + o.Instrument.Set(nil) +} + +// UnsetInstrument ensures that no value is present for Instrument, not even an explicit nil +func (o *Member) UnsetInstrument() { + o.Instrument.Unset() +} + +// GetImages returns the Images field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Member) GetImages() []*MediaCover { + if o == nil { + var ret []*MediaCover + return ret + } + return o.Images +} + +// GetImagesOk returns a tuple with the Images field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Member) GetImagesOk() ([]*MediaCover, bool) { + if o == nil || isNil(o.Images) { + return nil, false + } + return o.Images, true +} + +// HasImages returns a boolean if a field has been set. +func (o *Member) HasImages() bool { + if o != nil && isNil(o.Images) { + return true + } + + return false +} + +// SetImages gets a reference to the given []MediaCover and assigns it to the Images field. +func (o *Member) SetImages(v []*MediaCover) { + o.Images = v +} + +func (o Member) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Instrument.IsSet() { + toSerialize["instrument"] = o.Instrument.Get() + } + if o.Images != nil { + toSerialize["images"] = o.Images + } + return json.Marshal(toSerialize) +} + +type NullableMember struct { + value *Member + isSet bool +} + +func (v NullableMember) Get() *Member { + return v.value +} + +func (v *NullableMember) Set(val *Member) { + v.value = val + v.isSet = true +} + +func (v NullableMember) IsSet() bool { + return v.isSet +} + +func (v *NullableMember) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMember(val *Member) *NullableMember { + return &NullableMember{value: val, isSet: true} +} + +func (v NullableMember) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMember) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_metadata_profile.go b/lidarr/model_metadata_profile.go new file mode 100644 index 0000000..edae8b5 --- /dev/null +++ b/lidarr/model_metadata_profile.go @@ -0,0 +1,272 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MetadataProfile struct for MetadataProfile +type MetadataProfile struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + PrimaryAlbumTypes []*ProfilePrimaryAlbumTypeItem `json:"primaryAlbumTypes,omitempty"` + SecondaryAlbumTypes []*ProfileSecondaryAlbumTypeItem `json:"secondaryAlbumTypes,omitempty"` + ReleaseStatuses []*ProfileReleaseStatusItem `json:"releaseStatuses,omitempty"` +} + +// NewMetadataProfile instantiates a new MetadataProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMetadataProfile() *MetadataProfile { + this := MetadataProfile{} + return &this +} + +// NewMetadataProfileWithDefaults instantiates a new MetadataProfile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMetadataProfileWithDefaults() *MetadataProfile { + this := MetadataProfile{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataProfile) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProfile) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataProfile) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MetadataProfile) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfile) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfile) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *MetadataProfile) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *MetadataProfile) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *MetadataProfile) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *MetadataProfile) UnsetName() { + o.Name.Unset() +} + +// GetPrimaryAlbumTypes returns the PrimaryAlbumTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfile) GetPrimaryAlbumTypes() []*ProfilePrimaryAlbumTypeItem { + if o == nil { + var ret []*ProfilePrimaryAlbumTypeItem + return ret + } + return o.PrimaryAlbumTypes +} + +// GetPrimaryAlbumTypesOk returns a tuple with the PrimaryAlbumTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfile) GetPrimaryAlbumTypesOk() ([]*ProfilePrimaryAlbumTypeItem, bool) { + if o == nil || isNil(o.PrimaryAlbumTypes) { + return nil, false + } + return o.PrimaryAlbumTypes, true +} + +// HasPrimaryAlbumTypes returns a boolean if a field has been set. +func (o *MetadataProfile) HasPrimaryAlbumTypes() bool { + if o != nil && isNil(o.PrimaryAlbumTypes) { + return true + } + + return false +} + +// SetPrimaryAlbumTypes gets a reference to the given []ProfilePrimaryAlbumTypeItem and assigns it to the PrimaryAlbumTypes field. +func (o *MetadataProfile) SetPrimaryAlbumTypes(v []*ProfilePrimaryAlbumTypeItem) { + o.PrimaryAlbumTypes = v +} + +// GetSecondaryAlbumTypes returns the SecondaryAlbumTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfile) GetSecondaryAlbumTypes() []*ProfileSecondaryAlbumTypeItem { + if o == nil { + var ret []*ProfileSecondaryAlbumTypeItem + return ret + } + return o.SecondaryAlbumTypes +} + +// GetSecondaryAlbumTypesOk returns a tuple with the SecondaryAlbumTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfile) GetSecondaryAlbumTypesOk() ([]*ProfileSecondaryAlbumTypeItem, bool) { + if o == nil || isNil(o.SecondaryAlbumTypes) { + return nil, false + } + return o.SecondaryAlbumTypes, true +} + +// HasSecondaryAlbumTypes returns a boolean if a field has been set. +func (o *MetadataProfile) HasSecondaryAlbumTypes() bool { + if o != nil && isNil(o.SecondaryAlbumTypes) { + return true + } + + return false +} + +// SetSecondaryAlbumTypes gets a reference to the given []ProfileSecondaryAlbumTypeItem and assigns it to the SecondaryAlbumTypes field. +func (o *MetadataProfile) SetSecondaryAlbumTypes(v []*ProfileSecondaryAlbumTypeItem) { + o.SecondaryAlbumTypes = v +} + +// GetReleaseStatuses returns the ReleaseStatuses field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfile) GetReleaseStatuses() []*ProfileReleaseStatusItem { + if o == nil { + var ret []*ProfileReleaseStatusItem + return ret + } + return o.ReleaseStatuses +} + +// GetReleaseStatusesOk returns a tuple with the ReleaseStatuses field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfile) GetReleaseStatusesOk() ([]*ProfileReleaseStatusItem, bool) { + if o == nil || isNil(o.ReleaseStatuses) { + return nil, false + } + return o.ReleaseStatuses, true +} + +// HasReleaseStatuses returns a boolean if a field has been set. +func (o *MetadataProfile) HasReleaseStatuses() bool { + if o != nil && isNil(o.ReleaseStatuses) { + return true + } + + return false +} + +// SetReleaseStatuses gets a reference to the given []ProfileReleaseStatusItem and assigns it to the ReleaseStatuses field. +func (o *MetadataProfile) SetReleaseStatuses(v []*ProfileReleaseStatusItem) { + o.ReleaseStatuses = v +} + +func (o MetadataProfile) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.PrimaryAlbumTypes != nil { + toSerialize["primaryAlbumTypes"] = o.PrimaryAlbumTypes + } + if o.SecondaryAlbumTypes != nil { + toSerialize["secondaryAlbumTypes"] = o.SecondaryAlbumTypes + } + if o.ReleaseStatuses != nil { + toSerialize["releaseStatuses"] = o.ReleaseStatuses + } + return json.Marshal(toSerialize) +} + +type NullableMetadataProfile struct { + value *MetadataProfile + isSet bool +} + +func (v NullableMetadataProfile) Get() *MetadataProfile { + return v.value +} + +func (v *NullableMetadataProfile) Set(val *MetadataProfile) { + v.value = val + v.isSet = true +} + +func (v NullableMetadataProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableMetadataProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMetadataProfile(val *MetadataProfile) *NullableMetadataProfile { + return &NullableMetadataProfile{value: val, isSet: true} +} + +func (v NullableMetadataProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMetadataProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_metadata_profile_lazy_loaded.go b/lidarr/model_metadata_profile_lazy_loaded.go new file mode 100644 index 0000000..ede540c --- /dev/null +++ b/lidarr/model_metadata_profile_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MetadataProfileLazyLoaded struct for MetadataProfileLazyLoaded +type MetadataProfileLazyLoaded struct { + Value *MetadataProfile `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewMetadataProfileLazyLoaded instantiates a new MetadataProfileLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMetadataProfileLazyLoaded() *MetadataProfileLazyLoaded { + this := MetadataProfileLazyLoaded{} + return &this +} + +// NewMetadataProfileLazyLoadedWithDefaults instantiates a new MetadataProfileLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMetadataProfileLazyLoadedWithDefaults() *MetadataProfileLazyLoaded { + this := MetadataProfileLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *MetadataProfileLazyLoaded) GetValue() MetadataProfile { + if o == nil || isNil(o.Value) { + var ret MetadataProfile + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProfileLazyLoaded) GetValueOk() (*MetadataProfile, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *MetadataProfileLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given MetadataProfile and assigns it to the Value field. +func (o *MetadataProfileLazyLoaded) SetValue(v MetadataProfile) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *MetadataProfileLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProfileLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *MetadataProfileLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *MetadataProfileLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o MetadataProfileLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableMetadataProfileLazyLoaded struct { + value *MetadataProfileLazyLoaded + isSet bool +} + +func (v NullableMetadataProfileLazyLoaded) Get() *MetadataProfileLazyLoaded { + return v.value +} + +func (v *NullableMetadataProfileLazyLoaded) Set(val *MetadataProfileLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableMetadataProfileLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableMetadataProfileLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMetadataProfileLazyLoaded(val *MetadataProfileLazyLoaded) *NullableMetadataProfileLazyLoaded { + return &NullableMetadataProfileLazyLoaded{value: val, isSet: true} +} + +func (v NullableMetadataProfileLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMetadataProfileLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_metadata_profile_resource.go b/lidarr/model_metadata_profile_resource.go new file mode 100644 index 0000000..e53239e --- /dev/null +++ b/lidarr/model_metadata_profile_resource.go @@ -0,0 +1,272 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MetadataProfileResource struct for MetadataProfileResource +type MetadataProfileResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + PrimaryAlbumTypes []*ProfilePrimaryAlbumTypeItemResource `json:"primaryAlbumTypes,omitempty"` + SecondaryAlbumTypes []*ProfileSecondaryAlbumTypeItemResource `json:"secondaryAlbumTypes,omitempty"` + ReleaseStatuses []*ProfileReleaseStatusItemResource `json:"releaseStatuses,omitempty"` +} + +// NewMetadataProfileResource instantiates a new MetadataProfileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMetadataProfileResource() *MetadataProfileResource { + this := MetadataProfileResource{} + return &this +} + +// NewMetadataProfileResourceWithDefaults instantiates a new MetadataProfileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMetadataProfileResourceWithDefaults() *MetadataProfileResource { + this := MetadataProfileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataProfileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProfileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataProfileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MetadataProfileResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfileResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfileResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *MetadataProfileResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *MetadataProfileResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *MetadataProfileResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *MetadataProfileResource) UnsetName() { + o.Name.Unset() +} + +// GetPrimaryAlbumTypes returns the PrimaryAlbumTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfileResource) GetPrimaryAlbumTypes() []*ProfilePrimaryAlbumTypeItemResource { + if o == nil { + var ret []*ProfilePrimaryAlbumTypeItemResource + return ret + } + return o.PrimaryAlbumTypes +} + +// GetPrimaryAlbumTypesOk returns a tuple with the PrimaryAlbumTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfileResource) GetPrimaryAlbumTypesOk() ([]*ProfilePrimaryAlbumTypeItemResource, bool) { + if o == nil || isNil(o.PrimaryAlbumTypes) { + return nil, false + } + return o.PrimaryAlbumTypes, true +} + +// HasPrimaryAlbumTypes returns a boolean if a field has been set. +func (o *MetadataProfileResource) HasPrimaryAlbumTypes() bool { + if o != nil && isNil(o.PrimaryAlbumTypes) { + return true + } + + return false +} + +// SetPrimaryAlbumTypes gets a reference to the given []ProfilePrimaryAlbumTypeItemResource and assigns it to the PrimaryAlbumTypes field. +func (o *MetadataProfileResource) SetPrimaryAlbumTypes(v []*ProfilePrimaryAlbumTypeItemResource) { + o.PrimaryAlbumTypes = v +} + +// GetSecondaryAlbumTypes returns the SecondaryAlbumTypes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfileResource) GetSecondaryAlbumTypes() []*ProfileSecondaryAlbumTypeItemResource { + if o == nil { + var ret []*ProfileSecondaryAlbumTypeItemResource + return ret + } + return o.SecondaryAlbumTypes +} + +// GetSecondaryAlbumTypesOk returns a tuple with the SecondaryAlbumTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfileResource) GetSecondaryAlbumTypesOk() ([]*ProfileSecondaryAlbumTypeItemResource, bool) { + if o == nil || isNil(o.SecondaryAlbumTypes) { + return nil, false + } + return o.SecondaryAlbumTypes, true +} + +// HasSecondaryAlbumTypes returns a boolean if a field has been set. +func (o *MetadataProfileResource) HasSecondaryAlbumTypes() bool { + if o != nil && isNil(o.SecondaryAlbumTypes) { + return true + } + + return false +} + +// SetSecondaryAlbumTypes gets a reference to the given []ProfileSecondaryAlbumTypeItemResource and assigns it to the SecondaryAlbumTypes field. +func (o *MetadataProfileResource) SetSecondaryAlbumTypes(v []*ProfileSecondaryAlbumTypeItemResource) { + o.SecondaryAlbumTypes = v +} + +// GetReleaseStatuses returns the ReleaseStatuses field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProfileResource) GetReleaseStatuses() []*ProfileReleaseStatusItemResource { + if o == nil { + var ret []*ProfileReleaseStatusItemResource + return ret + } + return o.ReleaseStatuses +} + +// GetReleaseStatusesOk returns a tuple with the ReleaseStatuses field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProfileResource) GetReleaseStatusesOk() ([]*ProfileReleaseStatusItemResource, bool) { + if o == nil || isNil(o.ReleaseStatuses) { + return nil, false + } + return o.ReleaseStatuses, true +} + +// HasReleaseStatuses returns a boolean if a field has been set. +func (o *MetadataProfileResource) HasReleaseStatuses() bool { + if o != nil && isNil(o.ReleaseStatuses) { + return true + } + + return false +} + +// SetReleaseStatuses gets a reference to the given []ProfileReleaseStatusItemResource and assigns it to the ReleaseStatuses field. +func (o *MetadataProfileResource) SetReleaseStatuses(v []*ProfileReleaseStatusItemResource) { + o.ReleaseStatuses = v +} + +func (o MetadataProfileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.PrimaryAlbumTypes != nil { + toSerialize["primaryAlbumTypes"] = o.PrimaryAlbumTypes + } + if o.SecondaryAlbumTypes != nil { + toSerialize["secondaryAlbumTypes"] = o.SecondaryAlbumTypes + } + if o.ReleaseStatuses != nil { + toSerialize["releaseStatuses"] = o.ReleaseStatuses + } + return json.Marshal(toSerialize) +} + +type NullableMetadataProfileResource struct { + value *MetadataProfileResource + isSet bool +} + +func (v NullableMetadataProfileResource) Get() *MetadataProfileResource { + return v.value +} + +func (v *NullableMetadataProfileResource) Set(val *MetadataProfileResource) { + v.value = val + v.isSet = true +} + +func (v NullableMetadataProfileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMetadataProfileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMetadataProfileResource(val *MetadataProfileResource) *NullableMetadataProfileResource { + return &NullableMetadataProfileResource{value: val, isSet: true} +} + +func (v NullableMetadataProfileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMetadataProfileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_metadata_provider_config_resource.go b/lidarr/model_metadata_provider_config_resource.go new file mode 100644 index 0000000..dba7f5f --- /dev/null +++ b/lidarr/model_metadata_provider_config_resource.go @@ -0,0 +1,233 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MetadataProviderConfigResource struct for MetadataProviderConfigResource +type MetadataProviderConfigResource struct { + Id *int32 `json:"id,omitempty"` + MetadataSource NullableString `json:"metadataSource,omitempty"` + WriteAudioTags *WriteAudioTagsType `json:"writeAudioTags,omitempty"` + ScrubAudioTags *bool `json:"scrubAudioTags,omitempty"` +} + +// NewMetadataProviderConfigResource instantiates a new MetadataProviderConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMetadataProviderConfigResource() *MetadataProviderConfigResource { + this := MetadataProviderConfigResource{} + return &this +} + +// NewMetadataProviderConfigResourceWithDefaults instantiates a new MetadataProviderConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMetadataProviderConfigResourceWithDefaults() *MetadataProviderConfigResource { + this := MetadataProviderConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataProviderConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProviderConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataProviderConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MetadataProviderConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetMetadataSource returns the MetadataSource field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataProviderConfigResource) GetMetadataSource() string { + if o == nil || isNil(o.MetadataSource.Get()) { + var ret string + return ret + } + return *o.MetadataSource.Get() +} + +// GetMetadataSourceOk returns a tuple with the MetadataSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataProviderConfigResource) GetMetadataSourceOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MetadataSource.Get(), o.MetadataSource.IsSet() +} + +// HasMetadataSource returns a boolean if a field has been set. +func (o *MetadataProviderConfigResource) HasMetadataSource() bool { + if o != nil && o.MetadataSource.IsSet() { + return true + } + + return false +} + +// SetMetadataSource gets a reference to the given NullableString and assigns it to the MetadataSource field. +func (o *MetadataProviderConfigResource) SetMetadataSource(v string) { + o.MetadataSource.Set(&v) +} +// SetMetadataSourceNil sets the value for MetadataSource to be an explicit nil +func (o *MetadataProviderConfigResource) SetMetadataSourceNil() { + o.MetadataSource.Set(nil) +} + +// UnsetMetadataSource ensures that no value is present for MetadataSource, not even an explicit nil +func (o *MetadataProviderConfigResource) UnsetMetadataSource() { + o.MetadataSource.Unset() +} + +// GetWriteAudioTags returns the WriteAudioTags field value if set, zero value otherwise. +func (o *MetadataProviderConfigResource) GetWriteAudioTags() WriteAudioTagsType { + if o == nil || isNil(o.WriteAudioTags) { + var ret WriteAudioTagsType + return ret + } + return *o.WriteAudioTags +} + +// GetWriteAudioTagsOk returns a tuple with the WriteAudioTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProviderConfigResource) GetWriteAudioTagsOk() (*WriteAudioTagsType, bool) { + if o == nil || isNil(o.WriteAudioTags) { + return nil, false + } + return o.WriteAudioTags, true +} + +// HasWriteAudioTags returns a boolean if a field has been set. +func (o *MetadataProviderConfigResource) HasWriteAudioTags() bool { + if o != nil && !isNil(o.WriteAudioTags) { + return true + } + + return false +} + +// SetWriteAudioTags gets a reference to the given WriteAudioTagsType and assigns it to the WriteAudioTags field. +func (o *MetadataProviderConfigResource) SetWriteAudioTags(v WriteAudioTagsType) { + o.WriteAudioTags = &v +} + +// GetScrubAudioTags returns the ScrubAudioTags field value if set, zero value otherwise. +func (o *MetadataProviderConfigResource) GetScrubAudioTags() bool { + if o == nil || isNil(o.ScrubAudioTags) { + var ret bool + return ret + } + return *o.ScrubAudioTags +} + +// GetScrubAudioTagsOk returns a tuple with the ScrubAudioTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataProviderConfigResource) GetScrubAudioTagsOk() (*bool, bool) { + if o == nil || isNil(o.ScrubAudioTags) { + return nil, false + } + return o.ScrubAudioTags, true +} + +// HasScrubAudioTags returns a boolean if a field has been set. +func (o *MetadataProviderConfigResource) HasScrubAudioTags() bool { + if o != nil && !isNil(o.ScrubAudioTags) { + return true + } + + return false +} + +// SetScrubAudioTags gets a reference to the given bool and assigns it to the ScrubAudioTags field. +func (o *MetadataProviderConfigResource) SetScrubAudioTags(v bool) { + o.ScrubAudioTags = &v +} + +func (o MetadataProviderConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.MetadataSource.IsSet() { + toSerialize["metadataSource"] = o.MetadataSource.Get() + } + if !isNil(o.WriteAudioTags) { + toSerialize["writeAudioTags"] = o.WriteAudioTags + } + if !isNil(o.ScrubAudioTags) { + toSerialize["scrubAudioTags"] = o.ScrubAudioTags + } + return json.Marshal(toSerialize) +} + +type NullableMetadataProviderConfigResource struct { + value *MetadataProviderConfigResource + isSet bool +} + +func (v NullableMetadataProviderConfigResource) Get() *MetadataProviderConfigResource { + return v.value +} + +func (v *NullableMetadataProviderConfigResource) Set(val *MetadataProviderConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableMetadataProviderConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMetadataProviderConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMetadataProviderConfigResource(val *MetadataProviderConfigResource) *NullableMetadataProviderConfigResource { + return &NullableMetadataProviderConfigResource{value: val, isSet: true} +} + +func (v NullableMetadataProviderConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMetadataProviderConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_metadata_resource.go b/lidarr/model_metadata_resource.go new file mode 100644 index 0000000..4618b5d --- /dev/null +++ b/lidarr/model_metadata_resource.go @@ -0,0 +1,528 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MetadataResource struct for MetadataResource +type MetadataResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Fields []*Field `json:"fields,omitempty"` + ImplementationName NullableString `json:"implementationName,omitempty"` + Implementation NullableString `json:"implementation,omitempty"` + ConfigContract NullableString `json:"configContract,omitempty"` + InfoLink NullableString `json:"infoLink,omitempty"` + Message *ProviderMessage `json:"message,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Presets []*MetadataResource `json:"presets,omitempty"` + Enable *bool `json:"enable,omitempty"` +} + +// NewMetadataResource instantiates a new MetadataResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMetadataResource() *MetadataResource { + this := MetadataResource{} + return &this +} + +// NewMetadataResourceWithDefaults instantiates a new MetadataResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMetadataResourceWithDefaults() *MetadataResource { + this := MetadataResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *MetadataResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *MetadataResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *MetadataResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *MetadataResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *MetadataResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *MetadataResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *MetadataResource) UnsetName() { + o.Name.Unset() +} + +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetFields() []*Field { + if o == nil { + var ret []*Field + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetFieldsOk() ([]*Field, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *MetadataResource) HasFields() bool { + if o != nil && isNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given []Field and assigns it to the Fields field. +func (o *MetadataResource) SetFields(v []*Field) { + o.Fields = v +} + +// GetImplementationName returns the ImplementationName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetImplementationName() string { + if o == nil || isNil(o.ImplementationName.Get()) { + var ret string + return ret + } + return *o.ImplementationName.Get() +} + +// GetImplementationNameOk returns a tuple with the ImplementationName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetImplementationNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ImplementationName.Get(), o.ImplementationName.IsSet() +} + +// HasImplementationName returns a boolean if a field has been set. +func (o *MetadataResource) HasImplementationName() bool { + if o != nil && o.ImplementationName.IsSet() { + return true + } + + return false +} + +// SetImplementationName gets a reference to the given NullableString and assigns it to the ImplementationName field. +func (o *MetadataResource) SetImplementationName(v string) { + o.ImplementationName.Set(&v) +} +// SetImplementationNameNil sets the value for ImplementationName to be an explicit nil +func (o *MetadataResource) SetImplementationNameNil() { + o.ImplementationName.Set(nil) +} + +// UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +func (o *MetadataResource) UnsetImplementationName() { + o.ImplementationName.Unset() +} + +// GetImplementation returns the Implementation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetImplementation() string { + if o == nil || isNil(o.Implementation.Get()) { + var ret string + return ret + } + return *o.Implementation.Get() +} + +// GetImplementationOk returns a tuple with the Implementation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetImplementationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Implementation.Get(), o.Implementation.IsSet() +} + +// HasImplementation returns a boolean if a field has been set. +func (o *MetadataResource) HasImplementation() bool { + if o != nil && o.Implementation.IsSet() { + return true + } + + return false +} + +// SetImplementation gets a reference to the given NullableString and assigns it to the Implementation field. +func (o *MetadataResource) SetImplementation(v string) { + o.Implementation.Set(&v) +} +// SetImplementationNil sets the value for Implementation to be an explicit nil +func (o *MetadataResource) SetImplementationNil() { + o.Implementation.Set(nil) +} + +// UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +func (o *MetadataResource) UnsetImplementation() { + o.Implementation.Unset() +} + +// GetConfigContract returns the ConfigContract field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetConfigContract() string { + if o == nil || isNil(o.ConfigContract.Get()) { + var ret string + return ret + } + return *o.ConfigContract.Get() +} + +// GetConfigContractOk returns a tuple with the ConfigContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetConfigContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConfigContract.Get(), o.ConfigContract.IsSet() +} + +// HasConfigContract returns a boolean if a field has been set. +func (o *MetadataResource) HasConfigContract() bool { + if o != nil && o.ConfigContract.IsSet() { + return true + } + + return false +} + +// SetConfigContract gets a reference to the given NullableString and assigns it to the ConfigContract field. +func (o *MetadataResource) SetConfigContract(v string) { + o.ConfigContract.Set(&v) +} +// SetConfigContractNil sets the value for ConfigContract to be an explicit nil +func (o *MetadataResource) SetConfigContractNil() { + o.ConfigContract.Set(nil) +} + +// UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +func (o *MetadataResource) UnsetConfigContract() { + o.ConfigContract.Unset() +} + +// GetInfoLink returns the InfoLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetInfoLink() string { + if o == nil || isNil(o.InfoLink.Get()) { + var ret string + return ret + } + return *o.InfoLink.Get() +} + +// GetInfoLinkOk returns a tuple with the InfoLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetInfoLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoLink.Get(), o.InfoLink.IsSet() +} + +// HasInfoLink returns a boolean if a field has been set. +func (o *MetadataResource) HasInfoLink() bool { + if o != nil && o.InfoLink.IsSet() { + return true + } + + return false +} + +// SetInfoLink gets a reference to the given NullableString and assigns it to the InfoLink field. +func (o *MetadataResource) SetInfoLink(v string) { + o.InfoLink.Set(&v) +} +// SetInfoLinkNil sets the value for InfoLink to be an explicit nil +func (o *MetadataResource) SetInfoLinkNil() { + o.InfoLink.Set(nil) +} + +// UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +func (o *MetadataResource) UnsetInfoLink() { + o.InfoLink.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *MetadataResource) GetMessage() ProviderMessage { + if o == nil || isNil(o.Message) { + var ret ProviderMessage + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataResource) GetMessageOk() (*ProviderMessage, bool) { + if o == nil || isNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *MetadataResource) HasMessage() bool { + if o != nil && !isNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ProviderMessage and assigns it to the Message field. +func (o *MetadataResource) SetMessage(v ProviderMessage) { + o.Message = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *MetadataResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *MetadataResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetPresets returns the Presets field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MetadataResource) GetPresets() []*MetadataResource { + if o == nil { + var ret []*MetadataResource + return ret + } + return o.Presets +} + +// GetPresetsOk returns a tuple with the Presets field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MetadataResource) GetPresetsOk() ([]*MetadataResource, bool) { + if o == nil || isNil(o.Presets) { + return nil, false + } + return o.Presets, true +} + +// HasPresets returns a boolean if a field has been set. +func (o *MetadataResource) HasPresets() bool { + if o != nil && isNil(o.Presets) { + return true + } + + return false +} + +// SetPresets gets a reference to the given []MetadataResource and assigns it to the Presets field. +func (o *MetadataResource) SetPresets(v []*MetadataResource) { + o.Presets = v +} + +// GetEnable returns the Enable field value if set, zero value otherwise. +func (o *MetadataResource) GetEnable() bool { + if o == nil || isNil(o.Enable) { + var ret bool + return ret + } + return *o.Enable +} + +// GetEnableOk returns a tuple with the Enable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MetadataResource) GetEnableOk() (*bool, bool) { + if o == nil || isNil(o.Enable) { + return nil, false + } + return o.Enable, true +} + +// HasEnable returns a boolean if a field has been set. +func (o *MetadataResource) HasEnable() bool { + if o != nil && !isNil(o.Enable) { + return true + } + + return false +} + +// SetEnable gets a reference to the given bool and assigns it to the Enable field. +func (o *MetadataResource) SetEnable(v bool) { + o.Enable = &v +} + +func (o MetadataResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.ImplementationName.IsSet() { + toSerialize["implementationName"] = o.ImplementationName.Get() + } + if o.Implementation.IsSet() { + toSerialize["implementation"] = o.Implementation.Get() + } + if o.ConfigContract.IsSet() { + toSerialize["configContract"] = o.ConfigContract.Get() + } + if o.InfoLink.IsSet() { + toSerialize["infoLink"] = o.InfoLink.Get() + } + if !isNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Presets != nil { + toSerialize["presets"] = o.Presets + } + if !isNil(o.Enable) { + toSerialize["enable"] = o.Enable + } + return json.Marshal(toSerialize) +} + +type NullableMetadataResource struct { + value *MetadataResource + isSet bool +} + +func (v NullableMetadataResource) Get() *MetadataResource { + return v.value +} + +func (v *NullableMetadataResource) Set(val *MetadataResource) { + v.value = val + v.isSet = true +} + +func (v NullableMetadataResource) IsSet() bool { + return v.isSet +} + +func (v *NullableMetadataResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMetadataResource(val *MetadataResource) *NullableMetadataResource { + return &NullableMetadataResource{value: val, isSet: true} +} + +func (v NullableMetadataResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMetadataResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_monitor_types.go b/lidarr/model_monitor_types.go new file mode 100644 index 0000000..e43024d --- /dev/null +++ b/lidarr/model_monitor_types.go @@ -0,0 +1,123 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// MonitorTypes the model 'MonitorTypes' +type MonitorTypes string + +// List of MonitorTypes +const ( + MONITORTYPES_ALL MonitorTypes = "all" + MONITORTYPES_FUTURE MonitorTypes = "future" + MONITORTYPES_MISSING MonitorTypes = "missing" + MONITORTYPES_EXISTING MonitorTypes = "existing" + MONITORTYPES_LATEST MonitorTypes = "latest" + MONITORTYPES_FIRST MonitorTypes = "first" + MONITORTYPES_NONE MonitorTypes = "none" + MONITORTYPES_UNKNOWN MonitorTypes = "unknown" +) + +// All allowed values of MonitorTypes enum +var AllowedMonitorTypesEnumValues = []MonitorTypes{ + "all", + "future", + "missing", + "existing", + "latest", + "first", + "none", + "unknown", +} + +func (v *MonitorTypes) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := MonitorTypes(value) + for _, existing := range AllowedMonitorTypesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid MonitorTypes", value) +} + +// NewMonitorTypesFromValue returns a pointer to a valid MonitorTypes +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewMonitorTypesFromValue(v string) (*MonitorTypes, error) { + ev := MonitorTypes(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for MonitorTypes: valid values are %v", v, AllowedMonitorTypesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v MonitorTypes) IsValid() bool { + for _, existing := range AllowedMonitorTypesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to MonitorTypes value +func (v MonitorTypes) Ptr() *MonitorTypes { + return &v +} + +type NullableMonitorTypes struct { + value *MonitorTypes + isSet bool +} + +func (v NullableMonitorTypes) Get() *MonitorTypes { + return v.value +} + +func (v *NullableMonitorTypes) Set(val *MonitorTypes) { + v.value = val + v.isSet = true +} + +func (v NullableMonitorTypes) IsSet() bool { + return v.isSet +} + +func (v *NullableMonitorTypes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMonitorTypes(val *MonitorTypes) *NullableMonitorTypes { + return &NullableMonitorTypes{value: val, isSet: true} +} + +func (v NullableMonitorTypes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMonitorTypes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_monitoring_options.go b/lidarr/model_monitoring_options.go new file mode 100644 index 0000000..aab2fb8 --- /dev/null +++ b/lidarr/model_monitoring_options.go @@ -0,0 +1,188 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// MonitoringOptions struct for MonitoringOptions +type MonitoringOptions struct { + Monitor *MonitorTypes `json:"monitor,omitempty"` + AlbumsToMonitor []*string `json:"albumsToMonitor,omitempty"` + Monitored *bool `json:"monitored,omitempty"` +} + +// NewMonitoringOptions instantiates a new MonitoringOptions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewMonitoringOptions() *MonitoringOptions { + this := MonitoringOptions{} + return &this +} + +// NewMonitoringOptionsWithDefaults instantiates a new MonitoringOptions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMonitoringOptionsWithDefaults() *MonitoringOptions { + this := MonitoringOptions{} + return &this +} + +// GetMonitor returns the Monitor field value if set, zero value otherwise. +func (o *MonitoringOptions) GetMonitor() MonitorTypes { + if o == nil || isNil(o.Monitor) { + var ret MonitorTypes + return ret + } + return *o.Monitor +} + +// GetMonitorOk returns a tuple with the Monitor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonitoringOptions) GetMonitorOk() (*MonitorTypes, bool) { + if o == nil || isNil(o.Monitor) { + return nil, false + } + return o.Monitor, true +} + +// HasMonitor returns a boolean if a field has been set. +func (o *MonitoringOptions) HasMonitor() bool { + if o != nil && !isNil(o.Monitor) { + return true + } + + return false +} + +// SetMonitor gets a reference to the given MonitorTypes and assigns it to the Monitor field. +func (o *MonitoringOptions) SetMonitor(v MonitorTypes) { + o.Monitor = &v +} + +// GetAlbumsToMonitor returns the AlbumsToMonitor field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MonitoringOptions) GetAlbumsToMonitor() []*string { + if o == nil { + var ret []*string + return ret + } + return o.AlbumsToMonitor +} + +// GetAlbumsToMonitorOk returns a tuple with the AlbumsToMonitor field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MonitoringOptions) GetAlbumsToMonitorOk() ([]*string, bool) { + if o == nil || isNil(o.AlbumsToMonitor) { + return nil, false + } + return o.AlbumsToMonitor, true +} + +// HasAlbumsToMonitor returns a boolean if a field has been set. +func (o *MonitoringOptions) HasAlbumsToMonitor() bool { + if o != nil && isNil(o.AlbumsToMonitor) { + return true + } + + return false +} + +// SetAlbumsToMonitor gets a reference to the given []string and assigns it to the AlbumsToMonitor field. +func (o *MonitoringOptions) SetAlbumsToMonitor(v []*string) { + o.AlbumsToMonitor = v +} + +// GetMonitored returns the Monitored field value if set, zero value otherwise. +func (o *MonitoringOptions) GetMonitored() bool { + if o == nil || isNil(o.Monitored) { + var ret bool + return ret + } + return *o.Monitored +} + +// GetMonitoredOk returns a tuple with the Monitored field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MonitoringOptions) GetMonitoredOk() (*bool, bool) { + if o == nil || isNil(o.Monitored) { + return nil, false + } + return o.Monitored, true +} + +// HasMonitored returns a boolean if a field has been set. +func (o *MonitoringOptions) HasMonitored() bool { + if o != nil && !isNil(o.Monitored) { + return true + } + + return false +} + +// SetMonitored gets a reference to the given bool and assigns it to the Monitored field. +func (o *MonitoringOptions) SetMonitored(v bool) { + o.Monitored = &v +} + +func (o MonitoringOptions) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Monitor) { + toSerialize["monitor"] = o.Monitor + } + if o.AlbumsToMonitor != nil { + toSerialize["albumsToMonitor"] = o.AlbumsToMonitor + } + if !isNil(o.Monitored) { + toSerialize["monitored"] = o.Monitored + } + return json.Marshal(toSerialize) +} + +type NullableMonitoringOptions struct { + value *MonitoringOptions + isSet bool +} + +func (v NullableMonitoringOptions) Get() *MonitoringOptions { + return v.value +} + +func (v *NullableMonitoringOptions) Set(val *MonitoringOptions) { + v.value = val + v.isSet = true +} + +func (v NullableMonitoringOptions) IsSet() bool { + return v.isSet +} + +func (v *NullableMonitoringOptions) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMonitoringOptions(val *MonitoringOptions) *NullableMonitoringOptions { + return &NullableMonitoringOptions{value: val, isSet: true} +} + +func (v NullableMonitoringOptions) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMonitoringOptions) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_naming_config_resource.go b/lidarr/model_naming_config_resource.go new file mode 100644 index 0000000..2db90ac --- /dev/null +++ b/lidarr/model_naming_config_resource.go @@ -0,0 +1,561 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// NamingConfigResource struct for NamingConfigResource +type NamingConfigResource struct { + Id *int32 `json:"id,omitempty"` + RenameTracks *bool `json:"renameTracks,omitempty"` + ReplaceIllegalCharacters *bool `json:"replaceIllegalCharacters,omitempty"` + StandardTrackFormat NullableString `json:"standardTrackFormat,omitempty"` + MultiDiscTrackFormat NullableString `json:"multiDiscTrackFormat,omitempty"` + ArtistFolderFormat NullableString `json:"artistFolderFormat,omitempty"` + IncludeArtistName *bool `json:"includeArtistName,omitempty"` + IncludeAlbumTitle *bool `json:"includeAlbumTitle,omitempty"` + IncludeQuality *bool `json:"includeQuality,omitempty"` + ReplaceSpaces *bool `json:"replaceSpaces,omitempty"` + Separator NullableString `json:"separator,omitempty"` + NumberStyle NullableString `json:"numberStyle,omitempty"` +} + +// NewNamingConfigResource instantiates a new NamingConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNamingConfigResource() *NamingConfigResource { + this := NamingConfigResource{} + return &this +} + +// NewNamingConfigResourceWithDefaults instantiates a new NamingConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNamingConfigResourceWithDefaults() *NamingConfigResource { + this := NamingConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NamingConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NamingConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *NamingConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetRenameTracks returns the RenameTracks field value if set, zero value otherwise. +func (o *NamingConfigResource) GetRenameTracks() bool { + if o == nil || isNil(o.RenameTracks) { + var ret bool + return ret + } + return *o.RenameTracks +} + +// GetRenameTracksOk returns a tuple with the RenameTracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetRenameTracksOk() (*bool, bool) { + if o == nil || isNil(o.RenameTracks) { + return nil, false + } + return o.RenameTracks, true +} + +// HasRenameTracks returns a boolean if a field has been set. +func (o *NamingConfigResource) HasRenameTracks() bool { + if o != nil && !isNil(o.RenameTracks) { + return true + } + + return false +} + +// SetRenameTracks gets a reference to the given bool and assigns it to the RenameTracks field. +func (o *NamingConfigResource) SetRenameTracks(v bool) { + o.RenameTracks = &v +} + +// GetReplaceIllegalCharacters returns the ReplaceIllegalCharacters field value if set, zero value otherwise. +func (o *NamingConfigResource) GetReplaceIllegalCharacters() bool { + if o == nil || isNil(o.ReplaceIllegalCharacters) { + var ret bool + return ret + } + return *o.ReplaceIllegalCharacters +} + +// GetReplaceIllegalCharactersOk returns a tuple with the ReplaceIllegalCharacters field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetReplaceIllegalCharactersOk() (*bool, bool) { + if o == nil || isNil(o.ReplaceIllegalCharacters) { + return nil, false + } + return o.ReplaceIllegalCharacters, true +} + +// HasReplaceIllegalCharacters returns a boolean if a field has been set. +func (o *NamingConfigResource) HasReplaceIllegalCharacters() bool { + if o != nil && !isNil(o.ReplaceIllegalCharacters) { + return true + } + + return false +} + +// SetReplaceIllegalCharacters gets a reference to the given bool and assigns it to the ReplaceIllegalCharacters field. +func (o *NamingConfigResource) SetReplaceIllegalCharacters(v bool) { + o.ReplaceIllegalCharacters = &v +} + +// GetStandardTrackFormat returns the StandardTrackFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamingConfigResource) GetStandardTrackFormat() string { + if o == nil || isNil(o.StandardTrackFormat.Get()) { + var ret string + return ret + } + return *o.StandardTrackFormat.Get() +} + +// GetStandardTrackFormatOk returns a tuple with the StandardTrackFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NamingConfigResource) GetStandardTrackFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.StandardTrackFormat.Get(), o.StandardTrackFormat.IsSet() +} + +// HasStandardTrackFormat returns a boolean if a field has been set. +func (o *NamingConfigResource) HasStandardTrackFormat() bool { + if o != nil && o.StandardTrackFormat.IsSet() { + return true + } + + return false +} + +// SetStandardTrackFormat gets a reference to the given NullableString and assigns it to the StandardTrackFormat field. +func (o *NamingConfigResource) SetStandardTrackFormat(v string) { + o.StandardTrackFormat.Set(&v) +} +// SetStandardTrackFormatNil sets the value for StandardTrackFormat to be an explicit nil +func (o *NamingConfigResource) SetStandardTrackFormatNil() { + o.StandardTrackFormat.Set(nil) +} + +// UnsetStandardTrackFormat ensures that no value is present for StandardTrackFormat, not even an explicit nil +func (o *NamingConfigResource) UnsetStandardTrackFormat() { + o.StandardTrackFormat.Unset() +} + +// GetMultiDiscTrackFormat returns the MultiDiscTrackFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamingConfigResource) GetMultiDiscTrackFormat() string { + if o == nil || isNil(o.MultiDiscTrackFormat.Get()) { + var ret string + return ret + } + return *o.MultiDiscTrackFormat.Get() +} + +// GetMultiDiscTrackFormatOk returns a tuple with the MultiDiscTrackFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NamingConfigResource) GetMultiDiscTrackFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MultiDiscTrackFormat.Get(), o.MultiDiscTrackFormat.IsSet() +} + +// HasMultiDiscTrackFormat returns a boolean if a field has been set. +func (o *NamingConfigResource) HasMultiDiscTrackFormat() bool { + if o != nil && o.MultiDiscTrackFormat.IsSet() { + return true + } + + return false +} + +// SetMultiDiscTrackFormat gets a reference to the given NullableString and assigns it to the MultiDiscTrackFormat field. +func (o *NamingConfigResource) SetMultiDiscTrackFormat(v string) { + o.MultiDiscTrackFormat.Set(&v) +} +// SetMultiDiscTrackFormatNil sets the value for MultiDiscTrackFormat to be an explicit nil +func (o *NamingConfigResource) SetMultiDiscTrackFormatNil() { + o.MultiDiscTrackFormat.Set(nil) +} + +// UnsetMultiDiscTrackFormat ensures that no value is present for MultiDiscTrackFormat, not even an explicit nil +func (o *NamingConfigResource) UnsetMultiDiscTrackFormat() { + o.MultiDiscTrackFormat.Unset() +} + +// GetArtistFolderFormat returns the ArtistFolderFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamingConfigResource) GetArtistFolderFormat() string { + if o == nil || isNil(o.ArtistFolderFormat.Get()) { + var ret string + return ret + } + return *o.ArtistFolderFormat.Get() +} + +// GetArtistFolderFormatOk returns a tuple with the ArtistFolderFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NamingConfigResource) GetArtistFolderFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistFolderFormat.Get(), o.ArtistFolderFormat.IsSet() +} + +// HasArtistFolderFormat returns a boolean if a field has been set. +func (o *NamingConfigResource) HasArtistFolderFormat() bool { + if o != nil && o.ArtistFolderFormat.IsSet() { + return true + } + + return false +} + +// SetArtistFolderFormat gets a reference to the given NullableString and assigns it to the ArtistFolderFormat field. +func (o *NamingConfigResource) SetArtistFolderFormat(v string) { + o.ArtistFolderFormat.Set(&v) +} +// SetArtistFolderFormatNil sets the value for ArtistFolderFormat to be an explicit nil +func (o *NamingConfigResource) SetArtistFolderFormatNil() { + o.ArtistFolderFormat.Set(nil) +} + +// UnsetArtistFolderFormat ensures that no value is present for ArtistFolderFormat, not even an explicit nil +func (o *NamingConfigResource) UnsetArtistFolderFormat() { + o.ArtistFolderFormat.Unset() +} + +// GetIncludeArtistName returns the IncludeArtistName field value if set, zero value otherwise. +func (o *NamingConfigResource) GetIncludeArtistName() bool { + if o == nil || isNil(o.IncludeArtistName) { + var ret bool + return ret + } + return *o.IncludeArtistName +} + +// GetIncludeArtistNameOk returns a tuple with the IncludeArtistName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetIncludeArtistNameOk() (*bool, bool) { + if o == nil || isNil(o.IncludeArtistName) { + return nil, false + } + return o.IncludeArtistName, true +} + +// HasIncludeArtistName returns a boolean if a field has been set. +func (o *NamingConfigResource) HasIncludeArtistName() bool { + if o != nil && !isNil(o.IncludeArtistName) { + return true + } + + return false +} + +// SetIncludeArtistName gets a reference to the given bool and assigns it to the IncludeArtistName field. +func (o *NamingConfigResource) SetIncludeArtistName(v bool) { + o.IncludeArtistName = &v +} + +// GetIncludeAlbumTitle returns the IncludeAlbumTitle field value if set, zero value otherwise. +func (o *NamingConfigResource) GetIncludeAlbumTitle() bool { + if o == nil || isNil(o.IncludeAlbumTitle) { + var ret bool + return ret + } + return *o.IncludeAlbumTitle +} + +// GetIncludeAlbumTitleOk returns a tuple with the IncludeAlbumTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetIncludeAlbumTitleOk() (*bool, bool) { + if o == nil || isNil(o.IncludeAlbumTitle) { + return nil, false + } + return o.IncludeAlbumTitle, true +} + +// HasIncludeAlbumTitle returns a boolean if a field has been set. +func (o *NamingConfigResource) HasIncludeAlbumTitle() bool { + if o != nil && !isNil(o.IncludeAlbumTitle) { + return true + } + + return false +} + +// SetIncludeAlbumTitle gets a reference to the given bool and assigns it to the IncludeAlbumTitle field. +func (o *NamingConfigResource) SetIncludeAlbumTitle(v bool) { + o.IncludeAlbumTitle = &v +} + +// GetIncludeQuality returns the IncludeQuality field value if set, zero value otherwise. +func (o *NamingConfigResource) GetIncludeQuality() bool { + if o == nil || isNil(o.IncludeQuality) { + var ret bool + return ret + } + return *o.IncludeQuality +} + +// GetIncludeQualityOk returns a tuple with the IncludeQuality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetIncludeQualityOk() (*bool, bool) { + if o == nil || isNil(o.IncludeQuality) { + return nil, false + } + return o.IncludeQuality, true +} + +// HasIncludeQuality returns a boolean if a field has been set. +func (o *NamingConfigResource) HasIncludeQuality() bool { + if o != nil && !isNil(o.IncludeQuality) { + return true + } + + return false +} + +// SetIncludeQuality gets a reference to the given bool and assigns it to the IncludeQuality field. +func (o *NamingConfigResource) SetIncludeQuality(v bool) { + o.IncludeQuality = &v +} + +// GetReplaceSpaces returns the ReplaceSpaces field value if set, zero value otherwise. +func (o *NamingConfigResource) GetReplaceSpaces() bool { + if o == nil || isNil(o.ReplaceSpaces) { + var ret bool + return ret + } + return *o.ReplaceSpaces +} + +// GetReplaceSpacesOk returns a tuple with the ReplaceSpaces field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamingConfigResource) GetReplaceSpacesOk() (*bool, bool) { + if o == nil || isNil(o.ReplaceSpaces) { + return nil, false + } + return o.ReplaceSpaces, true +} + +// HasReplaceSpaces returns a boolean if a field has been set. +func (o *NamingConfigResource) HasReplaceSpaces() bool { + if o != nil && !isNil(o.ReplaceSpaces) { + return true + } + + return false +} + +// SetReplaceSpaces gets a reference to the given bool and assigns it to the ReplaceSpaces field. +func (o *NamingConfigResource) SetReplaceSpaces(v bool) { + o.ReplaceSpaces = &v +} + +// GetSeparator returns the Separator field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamingConfigResource) GetSeparator() string { + if o == nil || isNil(o.Separator.Get()) { + var ret string + return ret + } + return *o.Separator.Get() +} + +// GetSeparatorOk returns a tuple with the Separator field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NamingConfigResource) GetSeparatorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Separator.Get(), o.Separator.IsSet() +} + +// HasSeparator returns a boolean if a field has been set. +func (o *NamingConfigResource) HasSeparator() bool { + if o != nil && o.Separator.IsSet() { + return true + } + + return false +} + +// SetSeparator gets a reference to the given NullableString and assigns it to the Separator field. +func (o *NamingConfigResource) SetSeparator(v string) { + o.Separator.Set(&v) +} +// SetSeparatorNil sets the value for Separator to be an explicit nil +func (o *NamingConfigResource) SetSeparatorNil() { + o.Separator.Set(nil) +} + +// UnsetSeparator ensures that no value is present for Separator, not even an explicit nil +func (o *NamingConfigResource) UnsetSeparator() { + o.Separator.Unset() +} + +// GetNumberStyle returns the NumberStyle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamingConfigResource) GetNumberStyle() string { + if o == nil || isNil(o.NumberStyle.Get()) { + var ret string + return ret + } + return *o.NumberStyle.Get() +} + +// GetNumberStyleOk returns a tuple with the NumberStyle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NamingConfigResource) GetNumberStyleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.NumberStyle.Get(), o.NumberStyle.IsSet() +} + +// HasNumberStyle returns a boolean if a field has been set. +func (o *NamingConfigResource) HasNumberStyle() bool { + if o != nil && o.NumberStyle.IsSet() { + return true + } + + return false +} + +// SetNumberStyle gets a reference to the given NullableString and assigns it to the NumberStyle field. +func (o *NamingConfigResource) SetNumberStyle(v string) { + o.NumberStyle.Set(&v) +} +// SetNumberStyleNil sets the value for NumberStyle to be an explicit nil +func (o *NamingConfigResource) SetNumberStyleNil() { + o.NumberStyle.Set(nil) +} + +// UnsetNumberStyle ensures that no value is present for NumberStyle, not even an explicit nil +func (o *NamingConfigResource) UnsetNumberStyle() { + o.NumberStyle.Unset() +} + +func (o NamingConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.RenameTracks) { + toSerialize["renameTracks"] = o.RenameTracks + } + if !isNil(o.ReplaceIllegalCharacters) { + toSerialize["replaceIllegalCharacters"] = o.ReplaceIllegalCharacters + } + if o.StandardTrackFormat.IsSet() { + toSerialize["standardTrackFormat"] = o.StandardTrackFormat.Get() + } + if o.MultiDiscTrackFormat.IsSet() { + toSerialize["multiDiscTrackFormat"] = o.MultiDiscTrackFormat.Get() + } + if o.ArtistFolderFormat.IsSet() { + toSerialize["artistFolderFormat"] = o.ArtistFolderFormat.Get() + } + if !isNil(o.IncludeArtistName) { + toSerialize["includeArtistName"] = o.IncludeArtistName + } + if !isNil(o.IncludeAlbumTitle) { + toSerialize["includeAlbumTitle"] = o.IncludeAlbumTitle + } + if !isNil(o.IncludeQuality) { + toSerialize["includeQuality"] = o.IncludeQuality + } + if !isNil(o.ReplaceSpaces) { + toSerialize["replaceSpaces"] = o.ReplaceSpaces + } + if o.Separator.IsSet() { + toSerialize["separator"] = o.Separator.Get() + } + if o.NumberStyle.IsSet() { + toSerialize["numberStyle"] = o.NumberStyle.Get() + } + return json.Marshal(toSerialize) +} + +type NullableNamingConfigResource struct { + value *NamingConfigResource + isSet bool +} + +func (v NullableNamingConfigResource) Get() *NamingConfigResource { + return v.value +} + +func (v *NullableNamingConfigResource) Set(val *NamingConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableNamingConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableNamingConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNamingConfigResource(val *NamingConfigResource) *NullableNamingConfigResource { + return &NullableNamingConfigResource{value: val, isSet: true} +} + +func (v NullableNamingConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNamingConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_new_item_monitor_types.go b/lidarr/model_new_item_monitor_types.go new file mode 100644 index 0000000..0206765 --- /dev/null +++ b/lidarr/model_new_item_monitor_types.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// NewItemMonitorTypes the model 'NewItemMonitorTypes' +type NewItemMonitorTypes string + +// List of NewItemMonitorTypes +const ( + NEWITEMMONITORTYPES_ALL NewItemMonitorTypes = "all" + NEWITEMMONITORTYPES_NONE NewItemMonitorTypes = "none" + NEWITEMMONITORTYPES_NEW NewItemMonitorTypes = "new" +) + +// All allowed values of NewItemMonitorTypes enum +var AllowedNewItemMonitorTypesEnumValues = []NewItemMonitorTypes{ + "all", + "none", + "new", +} + +func (v *NewItemMonitorTypes) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := NewItemMonitorTypes(value) + for _, existing := range AllowedNewItemMonitorTypesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid NewItemMonitorTypes", value) +} + +// NewNewItemMonitorTypesFromValue returns a pointer to a valid NewItemMonitorTypes +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewNewItemMonitorTypesFromValue(v string) (*NewItemMonitorTypes, error) { + ev := NewItemMonitorTypes(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for NewItemMonitorTypes: valid values are %v", v, AllowedNewItemMonitorTypesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v NewItemMonitorTypes) IsValid() bool { + for _, existing := range AllowedNewItemMonitorTypesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to NewItemMonitorTypes value +func (v NewItemMonitorTypes) Ptr() *NewItemMonitorTypes { + return &v +} + +type NullableNewItemMonitorTypes struct { + value *NewItemMonitorTypes + isSet bool +} + +func (v NullableNewItemMonitorTypes) Get() *NewItemMonitorTypes { + return v.value +} + +func (v *NullableNewItemMonitorTypes) Set(val *NewItemMonitorTypes) { + v.value = val + v.isSet = true +} + +func (v NullableNewItemMonitorTypes) IsSet() bool { + return v.isSet +} + +func (v *NullableNewItemMonitorTypes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNewItemMonitorTypes(val *NewItemMonitorTypes) *NullableNewItemMonitorTypes { + return &NullableNewItemMonitorTypes{value: val, isSet: true} +} + +func (v NullableNewItemMonitorTypes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNewItemMonitorTypes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_notification_resource.go b/lidarr/model_notification_resource.go new file mode 100644 index 0000000..0e383c2 --- /dev/null +++ b/lidarr/model_notification_resource.go @@ -0,0 +1,1268 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// NotificationResource struct for NotificationResource +type NotificationResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Fields []*Field `json:"fields,omitempty"` + ImplementationName NullableString `json:"implementationName,omitempty"` + Implementation NullableString `json:"implementation,omitempty"` + ConfigContract NullableString `json:"configContract,omitempty"` + InfoLink NullableString `json:"infoLink,omitempty"` + Message *ProviderMessage `json:"message,omitempty"` + Tags []*int32 `json:"tags,omitempty"` + Presets []*NotificationResource `json:"presets,omitempty"` + Link NullableString `json:"link,omitempty"` + OnGrab *bool `json:"onGrab,omitempty"` + OnReleaseImport *bool `json:"onReleaseImport,omitempty"` + OnUpgrade *bool `json:"onUpgrade,omitempty"` + OnRename *bool `json:"onRename,omitempty"` + OnHealthIssue *bool `json:"onHealthIssue,omitempty"` + OnDownloadFailure *bool `json:"onDownloadFailure,omitempty"` + OnImportFailure *bool `json:"onImportFailure,omitempty"` + OnTrackRetag *bool `json:"onTrackRetag,omitempty"` + OnApplicationUpdate *bool `json:"onApplicationUpdate,omitempty"` + SupportsOnGrab *bool `json:"supportsOnGrab,omitempty"` + SupportsOnReleaseImport *bool `json:"supportsOnReleaseImport,omitempty"` + SupportsOnUpgrade *bool `json:"supportsOnUpgrade,omitempty"` + SupportsOnRename *bool `json:"supportsOnRename,omitempty"` + SupportsOnHealthIssue *bool `json:"supportsOnHealthIssue,omitempty"` + IncludeHealthWarnings *bool `json:"includeHealthWarnings,omitempty"` + SupportsOnDownloadFailure *bool `json:"supportsOnDownloadFailure,omitempty"` + SupportsOnImportFailure *bool `json:"supportsOnImportFailure,omitempty"` + SupportsOnTrackRetag *bool `json:"supportsOnTrackRetag,omitempty"` + SupportsOnApplicationUpdate *bool `json:"supportsOnApplicationUpdate,omitempty"` + TestCommand NullableString `json:"testCommand,omitempty"` +} + +// NewNotificationResource instantiates a new NotificationResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewNotificationResource() *NotificationResource { + this := NotificationResource{} + return &this +} + +// NewNotificationResourceWithDefaults instantiates a new NotificationResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNotificationResourceWithDefaults() *NotificationResource { + this := NotificationResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *NotificationResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NotificationResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *NotificationResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *NotificationResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *NotificationResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *NotificationResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *NotificationResource) UnsetName() { + o.Name.Unset() +} + +// GetFields returns the Fields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetFields() []*Field { + if o == nil { + var ret []*Field + return ret + } + return o.Fields +} + +// GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetFieldsOk() ([]*Field, bool) { + if o == nil || isNil(o.Fields) { + return nil, false + } + return o.Fields, true +} + +// HasFields returns a boolean if a field has been set. +func (o *NotificationResource) HasFields() bool { + if o != nil && isNil(o.Fields) { + return true + } + + return false +} + +// SetFields gets a reference to the given []Field and assigns it to the Fields field. +func (o *NotificationResource) SetFields(v []*Field) { + o.Fields = v +} + +// GetImplementationName returns the ImplementationName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetImplementationName() string { + if o == nil || isNil(o.ImplementationName.Get()) { + var ret string + return ret + } + return *o.ImplementationName.Get() +} + +// GetImplementationNameOk returns a tuple with the ImplementationName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetImplementationNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ImplementationName.Get(), o.ImplementationName.IsSet() +} + +// HasImplementationName returns a boolean if a field has been set. +func (o *NotificationResource) HasImplementationName() bool { + if o != nil && o.ImplementationName.IsSet() { + return true + } + + return false +} + +// SetImplementationName gets a reference to the given NullableString and assigns it to the ImplementationName field. +func (o *NotificationResource) SetImplementationName(v string) { + o.ImplementationName.Set(&v) +} +// SetImplementationNameNil sets the value for ImplementationName to be an explicit nil +func (o *NotificationResource) SetImplementationNameNil() { + o.ImplementationName.Set(nil) +} + +// UnsetImplementationName ensures that no value is present for ImplementationName, not even an explicit nil +func (o *NotificationResource) UnsetImplementationName() { + o.ImplementationName.Unset() +} + +// GetImplementation returns the Implementation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetImplementation() string { + if o == nil || isNil(o.Implementation.Get()) { + var ret string + return ret + } + return *o.Implementation.Get() +} + +// GetImplementationOk returns a tuple with the Implementation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetImplementationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Implementation.Get(), o.Implementation.IsSet() +} + +// HasImplementation returns a boolean if a field has been set. +func (o *NotificationResource) HasImplementation() bool { + if o != nil && o.Implementation.IsSet() { + return true + } + + return false +} + +// SetImplementation gets a reference to the given NullableString and assigns it to the Implementation field. +func (o *NotificationResource) SetImplementation(v string) { + o.Implementation.Set(&v) +} +// SetImplementationNil sets the value for Implementation to be an explicit nil +func (o *NotificationResource) SetImplementationNil() { + o.Implementation.Set(nil) +} + +// UnsetImplementation ensures that no value is present for Implementation, not even an explicit nil +func (o *NotificationResource) UnsetImplementation() { + o.Implementation.Unset() +} + +// GetConfigContract returns the ConfigContract field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetConfigContract() string { + if o == nil || isNil(o.ConfigContract.Get()) { + var ret string + return ret + } + return *o.ConfigContract.Get() +} + +// GetConfigContractOk returns a tuple with the ConfigContract field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetConfigContractOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConfigContract.Get(), o.ConfigContract.IsSet() +} + +// HasConfigContract returns a boolean if a field has been set. +func (o *NotificationResource) HasConfigContract() bool { + if o != nil && o.ConfigContract.IsSet() { + return true + } + + return false +} + +// SetConfigContract gets a reference to the given NullableString and assigns it to the ConfigContract field. +func (o *NotificationResource) SetConfigContract(v string) { + o.ConfigContract.Set(&v) +} +// SetConfigContractNil sets the value for ConfigContract to be an explicit nil +func (o *NotificationResource) SetConfigContractNil() { + o.ConfigContract.Set(nil) +} + +// UnsetConfigContract ensures that no value is present for ConfigContract, not even an explicit nil +func (o *NotificationResource) UnsetConfigContract() { + o.ConfigContract.Unset() +} + +// GetInfoLink returns the InfoLink field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetInfoLink() string { + if o == nil || isNil(o.InfoLink.Get()) { + var ret string + return ret + } + return *o.InfoLink.Get() +} + +// GetInfoLinkOk returns a tuple with the InfoLink field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetInfoLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoLink.Get(), o.InfoLink.IsSet() +} + +// HasInfoLink returns a boolean if a field has been set. +func (o *NotificationResource) HasInfoLink() bool { + if o != nil && o.InfoLink.IsSet() { + return true + } + + return false +} + +// SetInfoLink gets a reference to the given NullableString and assigns it to the InfoLink field. +func (o *NotificationResource) SetInfoLink(v string) { + o.InfoLink.Set(&v) +} +// SetInfoLinkNil sets the value for InfoLink to be an explicit nil +func (o *NotificationResource) SetInfoLinkNil() { + o.InfoLink.Set(nil) +} + +// UnsetInfoLink ensures that no value is present for InfoLink, not even an explicit nil +func (o *NotificationResource) UnsetInfoLink() { + o.InfoLink.Unset() +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *NotificationResource) GetMessage() ProviderMessage { + if o == nil || isNil(o.Message) { + var ret ProviderMessage + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetMessageOk() (*ProviderMessage, bool) { + if o == nil || isNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *NotificationResource) HasMessage() bool { + if o != nil && !isNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ProviderMessage and assigns it to the Message field. +func (o *NotificationResource) SetMessage(v ProviderMessage) { + o.Message = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *NotificationResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *NotificationResource) SetTags(v []*int32) { + o.Tags = v +} + +// GetPresets returns the Presets field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetPresets() []*NotificationResource { + if o == nil { + var ret []*NotificationResource + return ret + } + return o.Presets +} + +// GetPresetsOk returns a tuple with the Presets field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetPresetsOk() ([]*NotificationResource, bool) { + if o == nil || isNil(o.Presets) { + return nil, false + } + return o.Presets, true +} + +// HasPresets returns a boolean if a field has been set. +func (o *NotificationResource) HasPresets() bool { + if o != nil && isNil(o.Presets) { + return true + } + + return false +} + +// SetPresets gets a reference to the given []NotificationResource and assigns it to the Presets field. +func (o *NotificationResource) SetPresets(v []*NotificationResource) { + o.Presets = v +} + +// GetLink returns the Link field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetLink() string { + if o == nil || isNil(o.Link.Get()) { + var ret string + return ret + } + return *o.Link.Get() +} + +// GetLinkOk returns a tuple with the Link field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetLinkOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Link.Get(), o.Link.IsSet() +} + +// HasLink returns a boolean if a field has been set. +func (o *NotificationResource) HasLink() bool { + if o != nil && o.Link.IsSet() { + return true + } + + return false +} + +// SetLink gets a reference to the given NullableString and assigns it to the Link field. +func (o *NotificationResource) SetLink(v string) { + o.Link.Set(&v) +} +// SetLinkNil sets the value for Link to be an explicit nil +func (o *NotificationResource) SetLinkNil() { + o.Link.Set(nil) +} + +// UnsetLink ensures that no value is present for Link, not even an explicit nil +func (o *NotificationResource) UnsetLink() { + o.Link.Unset() +} + +// GetOnGrab returns the OnGrab field value if set, zero value otherwise. +func (o *NotificationResource) GetOnGrab() bool { + if o == nil || isNil(o.OnGrab) { + var ret bool + return ret + } + return *o.OnGrab +} + +// GetOnGrabOk returns a tuple with the OnGrab field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnGrabOk() (*bool, bool) { + if o == nil || isNil(o.OnGrab) { + return nil, false + } + return o.OnGrab, true +} + +// HasOnGrab returns a boolean if a field has been set. +func (o *NotificationResource) HasOnGrab() bool { + if o != nil && !isNil(o.OnGrab) { + return true + } + + return false +} + +// SetOnGrab gets a reference to the given bool and assigns it to the OnGrab field. +func (o *NotificationResource) SetOnGrab(v bool) { + o.OnGrab = &v +} + +// GetOnReleaseImport returns the OnReleaseImport field value if set, zero value otherwise. +func (o *NotificationResource) GetOnReleaseImport() bool { + if o == nil || isNil(o.OnReleaseImport) { + var ret bool + return ret + } + return *o.OnReleaseImport +} + +// GetOnReleaseImportOk returns a tuple with the OnReleaseImport field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnReleaseImportOk() (*bool, bool) { + if o == nil || isNil(o.OnReleaseImport) { + return nil, false + } + return o.OnReleaseImport, true +} + +// HasOnReleaseImport returns a boolean if a field has been set. +func (o *NotificationResource) HasOnReleaseImport() bool { + if o != nil && !isNil(o.OnReleaseImport) { + return true + } + + return false +} + +// SetOnReleaseImport gets a reference to the given bool and assigns it to the OnReleaseImport field. +func (o *NotificationResource) SetOnReleaseImport(v bool) { + o.OnReleaseImport = &v +} + +// GetOnUpgrade returns the OnUpgrade field value if set, zero value otherwise. +func (o *NotificationResource) GetOnUpgrade() bool { + if o == nil || isNil(o.OnUpgrade) { + var ret bool + return ret + } + return *o.OnUpgrade +} + +// GetOnUpgradeOk returns a tuple with the OnUpgrade field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnUpgradeOk() (*bool, bool) { + if o == nil || isNil(o.OnUpgrade) { + return nil, false + } + return o.OnUpgrade, true +} + +// HasOnUpgrade returns a boolean if a field has been set. +func (o *NotificationResource) HasOnUpgrade() bool { + if o != nil && !isNil(o.OnUpgrade) { + return true + } + + return false +} + +// SetOnUpgrade gets a reference to the given bool and assigns it to the OnUpgrade field. +func (o *NotificationResource) SetOnUpgrade(v bool) { + o.OnUpgrade = &v +} + +// GetOnRename returns the OnRename field value if set, zero value otherwise. +func (o *NotificationResource) GetOnRename() bool { + if o == nil || isNil(o.OnRename) { + var ret bool + return ret + } + return *o.OnRename +} + +// GetOnRenameOk returns a tuple with the OnRename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnRenameOk() (*bool, bool) { + if o == nil || isNil(o.OnRename) { + return nil, false + } + return o.OnRename, true +} + +// HasOnRename returns a boolean if a field has been set. +func (o *NotificationResource) HasOnRename() bool { + if o != nil && !isNil(o.OnRename) { + return true + } + + return false +} + +// SetOnRename gets a reference to the given bool and assigns it to the OnRename field. +func (o *NotificationResource) SetOnRename(v bool) { + o.OnRename = &v +} + +// GetOnHealthIssue returns the OnHealthIssue field value if set, zero value otherwise. +func (o *NotificationResource) GetOnHealthIssue() bool { + if o == nil || isNil(o.OnHealthIssue) { + var ret bool + return ret + } + return *o.OnHealthIssue +} + +// GetOnHealthIssueOk returns a tuple with the OnHealthIssue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnHealthIssueOk() (*bool, bool) { + if o == nil || isNil(o.OnHealthIssue) { + return nil, false + } + return o.OnHealthIssue, true +} + +// HasOnHealthIssue returns a boolean if a field has been set. +func (o *NotificationResource) HasOnHealthIssue() bool { + if o != nil && !isNil(o.OnHealthIssue) { + return true + } + + return false +} + +// SetOnHealthIssue gets a reference to the given bool and assigns it to the OnHealthIssue field. +func (o *NotificationResource) SetOnHealthIssue(v bool) { + o.OnHealthIssue = &v +} + +// GetOnDownloadFailure returns the OnDownloadFailure field value if set, zero value otherwise. +func (o *NotificationResource) GetOnDownloadFailure() bool { + if o == nil || isNil(o.OnDownloadFailure) { + var ret bool + return ret + } + return *o.OnDownloadFailure +} + +// GetOnDownloadFailureOk returns a tuple with the OnDownloadFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnDownloadFailureOk() (*bool, bool) { + if o == nil || isNil(o.OnDownloadFailure) { + return nil, false + } + return o.OnDownloadFailure, true +} + +// HasOnDownloadFailure returns a boolean if a field has been set. +func (o *NotificationResource) HasOnDownloadFailure() bool { + if o != nil && !isNil(o.OnDownloadFailure) { + return true + } + + return false +} + +// SetOnDownloadFailure gets a reference to the given bool and assigns it to the OnDownloadFailure field. +func (o *NotificationResource) SetOnDownloadFailure(v bool) { + o.OnDownloadFailure = &v +} + +// GetOnImportFailure returns the OnImportFailure field value if set, zero value otherwise. +func (o *NotificationResource) GetOnImportFailure() bool { + if o == nil || isNil(o.OnImportFailure) { + var ret bool + return ret + } + return *o.OnImportFailure +} + +// GetOnImportFailureOk returns a tuple with the OnImportFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnImportFailureOk() (*bool, bool) { + if o == nil || isNil(o.OnImportFailure) { + return nil, false + } + return o.OnImportFailure, true +} + +// HasOnImportFailure returns a boolean if a field has been set. +func (o *NotificationResource) HasOnImportFailure() bool { + if o != nil && !isNil(o.OnImportFailure) { + return true + } + + return false +} + +// SetOnImportFailure gets a reference to the given bool and assigns it to the OnImportFailure field. +func (o *NotificationResource) SetOnImportFailure(v bool) { + o.OnImportFailure = &v +} + +// GetOnTrackRetag returns the OnTrackRetag field value if set, zero value otherwise. +func (o *NotificationResource) GetOnTrackRetag() bool { + if o == nil || isNil(o.OnTrackRetag) { + var ret bool + return ret + } + return *o.OnTrackRetag +} + +// GetOnTrackRetagOk returns a tuple with the OnTrackRetag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnTrackRetagOk() (*bool, bool) { + if o == nil || isNil(o.OnTrackRetag) { + return nil, false + } + return o.OnTrackRetag, true +} + +// HasOnTrackRetag returns a boolean if a field has been set. +func (o *NotificationResource) HasOnTrackRetag() bool { + if o != nil && !isNil(o.OnTrackRetag) { + return true + } + + return false +} + +// SetOnTrackRetag gets a reference to the given bool and assigns it to the OnTrackRetag field. +func (o *NotificationResource) SetOnTrackRetag(v bool) { + o.OnTrackRetag = &v +} + +// GetOnApplicationUpdate returns the OnApplicationUpdate field value if set, zero value otherwise. +func (o *NotificationResource) GetOnApplicationUpdate() bool { + if o == nil || isNil(o.OnApplicationUpdate) { + var ret bool + return ret + } + return *o.OnApplicationUpdate +} + +// GetOnApplicationUpdateOk returns a tuple with the OnApplicationUpdate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetOnApplicationUpdateOk() (*bool, bool) { + if o == nil || isNil(o.OnApplicationUpdate) { + return nil, false + } + return o.OnApplicationUpdate, true +} + +// HasOnApplicationUpdate returns a boolean if a field has been set. +func (o *NotificationResource) HasOnApplicationUpdate() bool { + if o != nil && !isNil(o.OnApplicationUpdate) { + return true + } + + return false +} + +// SetOnApplicationUpdate gets a reference to the given bool and assigns it to the OnApplicationUpdate field. +func (o *NotificationResource) SetOnApplicationUpdate(v bool) { + o.OnApplicationUpdate = &v +} + +// GetSupportsOnGrab returns the SupportsOnGrab field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnGrab() bool { + if o == nil || isNil(o.SupportsOnGrab) { + var ret bool + return ret + } + return *o.SupportsOnGrab +} + +// GetSupportsOnGrabOk returns a tuple with the SupportsOnGrab field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnGrabOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnGrab) { + return nil, false + } + return o.SupportsOnGrab, true +} + +// HasSupportsOnGrab returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnGrab() bool { + if o != nil && !isNil(o.SupportsOnGrab) { + return true + } + + return false +} + +// SetSupportsOnGrab gets a reference to the given bool and assigns it to the SupportsOnGrab field. +func (o *NotificationResource) SetSupportsOnGrab(v bool) { + o.SupportsOnGrab = &v +} + +// GetSupportsOnReleaseImport returns the SupportsOnReleaseImport field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnReleaseImport() bool { + if o == nil || isNil(o.SupportsOnReleaseImport) { + var ret bool + return ret + } + return *o.SupportsOnReleaseImport +} + +// GetSupportsOnReleaseImportOk returns a tuple with the SupportsOnReleaseImport field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnReleaseImportOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnReleaseImport) { + return nil, false + } + return o.SupportsOnReleaseImport, true +} + +// HasSupportsOnReleaseImport returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnReleaseImport() bool { + if o != nil && !isNil(o.SupportsOnReleaseImport) { + return true + } + + return false +} + +// SetSupportsOnReleaseImport gets a reference to the given bool and assigns it to the SupportsOnReleaseImport field. +func (o *NotificationResource) SetSupportsOnReleaseImport(v bool) { + o.SupportsOnReleaseImport = &v +} + +// GetSupportsOnUpgrade returns the SupportsOnUpgrade field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnUpgrade() bool { + if o == nil || isNil(o.SupportsOnUpgrade) { + var ret bool + return ret + } + return *o.SupportsOnUpgrade +} + +// GetSupportsOnUpgradeOk returns a tuple with the SupportsOnUpgrade field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnUpgradeOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnUpgrade) { + return nil, false + } + return o.SupportsOnUpgrade, true +} + +// HasSupportsOnUpgrade returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnUpgrade() bool { + if o != nil && !isNil(o.SupportsOnUpgrade) { + return true + } + + return false +} + +// SetSupportsOnUpgrade gets a reference to the given bool and assigns it to the SupportsOnUpgrade field. +func (o *NotificationResource) SetSupportsOnUpgrade(v bool) { + o.SupportsOnUpgrade = &v +} + +// GetSupportsOnRename returns the SupportsOnRename field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnRename() bool { + if o == nil || isNil(o.SupportsOnRename) { + var ret bool + return ret + } + return *o.SupportsOnRename +} + +// GetSupportsOnRenameOk returns a tuple with the SupportsOnRename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnRenameOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnRename) { + return nil, false + } + return o.SupportsOnRename, true +} + +// HasSupportsOnRename returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnRename() bool { + if o != nil && !isNil(o.SupportsOnRename) { + return true + } + + return false +} + +// SetSupportsOnRename gets a reference to the given bool and assigns it to the SupportsOnRename field. +func (o *NotificationResource) SetSupportsOnRename(v bool) { + o.SupportsOnRename = &v +} + +// GetSupportsOnHealthIssue returns the SupportsOnHealthIssue field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnHealthIssue() bool { + if o == nil || isNil(o.SupportsOnHealthIssue) { + var ret bool + return ret + } + return *o.SupportsOnHealthIssue +} + +// GetSupportsOnHealthIssueOk returns a tuple with the SupportsOnHealthIssue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnHealthIssueOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnHealthIssue) { + return nil, false + } + return o.SupportsOnHealthIssue, true +} + +// HasSupportsOnHealthIssue returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnHealthIssue() bool { + if o != nil && !isNil(o.SupportsOnHealthIssue) { + return true + } + + return false +} + +// SetSupportsOnHealthIssue gets a reference to the given bool and assigns it to the SupportsOnHealthIssue field. +func (o *NotificationResource) SetSupportsOnHealthIssue(v bool) { + o.SupportsOnHealthIssue = &v +} + +// GetIncludeHealthWarnings returns the IncludeHealthWarnings field value if set, zero value otherwise. +func (o *NotificationResource) GetIncludeHealthWarnings() bool { + if o == nil || isNil(o.IncludeHealthWarnings) { + var ret bool + return ret + } + return *o.IncludeHealthWarnings +} + +// GetIncludeHealthWarningsOk returns a tuple with the IncludeHealthWarnings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetIncludeHealthWarningsOk() (*bool, bool) { + if o == nil || isNil(o.IncludeHealthWarnings) { + return nil, false + } + return o.IncludeHealthWarnings, true +} + +// HasIncludeHealthWarnings returns a boolean if a field has been set. +func (o *NotificationResource) HasIncludeHealthWarnings() bool { + if o != nil && !isNil(o.IncludeHealthWarnings) { + return true + } + + return false +} + +// SetIncludeHealthWarnings gets a reference to the given bool and assigns it to the IncludeHealthWarnings field. +func (o *NotificationResource) SetIncludeHealthWarnings(v bool) { + o.IncludeHealthWarnings = &v +} + +// GetSupportsOnDownloadFailure returns the SupportsOnDownloadFailure field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnDownloadFailure() bool { + if o == nil || isNil(o.SupportsOnDownloadFailure) { + var ret bool + return ret + } + return *o.SupportsOnDownloadFailure +} + +// GetSupportsOnDownloadFailureOk returns a tuple with the SupportsOnDownloadFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnDownloadFailureOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnDownloadFailure) { + return nil, false + } + return o.SupportsOnDownloadFailure, true +} + +// HasSupportsOnDownloadFailure returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnDownloadFailure() bool { + if o != nil && !isNil(o.SupportsOnDownloadFailure) { + return true + } + + return false +} + +// SetSupportsOnDownloadFailure gets a reference to the given bool and assigns it to the SupportsOnDownloadFailure field. +func (o *NotificationResource) SetSupportsOnDownloadFailure(v bool) { + o.SupportsOnDownloadFailure = &v +} + +// GetSupportsOnImportFailure returns the SupportsOnImportFailure field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnImportFailure() bool { + if o == nil || isNil(o.SupportsOnImportFailure) { + var ret bool + return ret + } + return *o.SupportsOnImportFailure +} + +// GetSupportsOnImportFailureOk returns a tuple with the SupportsOnImportFailure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnImportFailureOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnImportFailure) { + return nil, false + } + return o.SupportsOnImportFailure, true +} + +// HasSupportsOnImportFailure returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnImportFailure() bool { + if o != nil && !isNil(o.SupportsOnImportFailure) { + return true + } + + return false +} + +// SetSupportsOnImportFailure gets a reference to the given bool and assigns it to the SupportsOnImportFailure field. +func (o *NotificationResource) SetSupportsOnImportFailure(v bool) { + o.SupportsOnImportFailure = &v +} + +// GetSupportsOnTrackRetag returns the SupportsOnTrackRetag field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnTrackRetag() bool { + if o == nil || isNil(o.SupportsOnTrackRetag) { + var ret bool + return ret + } + return *o.SupportsOnTrackRetag +} + +// GetSupportsOnTrackRetagOk returns a tuple with the SupportsOnTrackRetag field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnTrackRetagOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnTrackRetag) { + return nil, false + } + return o.SupportsOnTrackRetag, true +} + +// HasSupportsOnTrackRetag returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnTrackRetag() bool { + if o != nil && !isNil(o.SupportsOnTrackRetag) { + return true + } + + return false +} + +// SetSupportsOnTrackRetag gets a reference to the given bool and assigns it to the SupportsOnTrackRetag field. +func (o *NotificationResource) SetSupportsOnTrackRetag(v bool) { + o.SupportsOnTrackRetag = &v +} + +// GetSupportsOnApplicationUpdate returns the SupportsOnApplicationUpdate field value if set, zero value otherwise. +func (o *NotificationResource) GetSupportsOnApplicationUpdate() bool { + if o == nil || isNil(o.SupportsOnApplicationUpdate) { + var ret bool + return ret + } + return *o.SupportsOnApplicationUpdate +} + +// GetSupportsOnApplicationUpdateOk returns a tuple with the SupportsOnApplicationUpdate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NotificationResource) GetSupportsOnApplicationUpdateOk() (*bool, bool) { + if o == nil || isNil(o.SupportsOnApplicationUpdate) { + return nil, false + } + return o.SupportsOnApplicationUpdate, true +} + +// HasSupportsOnApplicationUpdate returns a boolean if a field has been set. +func (o *NotificationResource) HasSupportsOnApplicationUpdate() bool { + if o != nil && !isNil(o.SupportsOnApplicationUpdate) { + return true + } + + return false +} + +// SetSupportsOnApplicationUpdate gets a reference to the given bool and assigns it to the SupportsOnApplicationUpdate field. +func (o *NotificationResource) SetSupportsOnApplicationUpdate(v bool) { + o.SupportsOnApplicationUpdate = &v +} + +// GetTestCommand returns the TestCommand field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NotificationResource) GetTestCommand() string { + if o == nil || isNil(o.TestCommand.Get()) { + var ret string + return ret + } + return *o.TestCommand.Get() +} + +// GetTestCommandOk returns a tuple with the TestCommand field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NotificationResource) GetTestCommandOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TestCommand.Get(), o.TestCommand.IsSet() +} + +// HasTestCommand returns a boolean if a field has been set. +func (o *NotificationResource) HasTestCommand() bool { + if o != nil && o.TestCommand.IsSet() { + return true + } + + return false +} + +// SetTestCommand gets a reference to the given NullableString and assigns it to the TestCommand field. +func (o *NotificationResource) SetTestCommand(v string) { + o.TestCommand.Set(&v) +} +// SetTestCommandNil sets the value for TestCommand to be an explicit nil +func (o *NotificationResource) SetTestCommandNil() { + o.TestCommand.Set(nil) +} + +// UnsetTestCommand ensures that no value is present for TestCommand, not even an explicit nil +func (o *NotificationResource) UnsetTestCommand() { + o.TestCommand.Unset() +} + +func (o NotificationResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Fields != nil { + toSerialize["fields"] = o.Fields + } + if o.ImplementationName.IsSet() { + toSerialize["implementationName"] = o.ImplementationName.Get() + } + if o.Implementation.IsSet() { + toSerialize["implementation"] = o.Implementation.Get() + } + if o.ConfigContract.IsSet() { + toSerialize["configContract"] = o.ConfigContract.Get() + } + if o.InfoLink.IsSet() { + toSerialize["infoLink"] = o.InfoLink.Get() + } + if !isNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + if o.Presets != nil { + toSerialize["presets"] = o.Presets + } + if o.Link.IsSet() { + toSerialize["link"] = o.Link.Get() + } + if !isNil(o.OnGrab) { + toSerialize["onGrab"] = o.OnGrab + } + if !isNil(o.OnReleaseImport) { + toSerialize["onReleaseImport"] = o.OnReleaseImport + } + if !isNil(o.OnUpgrade) { + toSerialize["onUpgrade"] = o.OnUpgrade + } + if !isNil(o.OnRename) { + toSerialize["onRename"] = o.OnRename + } + if !isNil(o.OnHealthIssue) { + toSerialize["onHealthIssue"] = o.OnHealthIssue + } + if !isNil(o.OnDownloadFailure) { + toSerialize["onDownloadFailure"] = o.OnDownloadFailure + } + if !isNil(o.OnImportFailure) { + toSerialize["onImportFailure"] = o.OnImportFailure + } + if !isNil(o.OnTrackRetag) { + toSerialize["onTrackRetag"] = o.OnTrackRetag + } + if !isNil(o.OnApplicationUpdate) { + toSerialize["onApplicationUpdate"] = o.OnApplicationUpdate + } + if !isNil(o.SupportsOnGrab) { + toSerialize["supportsOnGrab"] = o.SupportsOnGrab + } + if !isNil(o.SupportsOnReleaseImport) { + toSerialize["supportsOnReleaseImport"] = o.SupportsOnReleaseImport + } + if !isNil(o.SupportsOnUpgrade) { + toSerialize["supportsOnUpgrade"] = o.SupportsOnUpgrade + } + if !isNil(o.SupportsOnRename) { + toSerialize["supportsOnRename"] = o.SupportsOnRename + } + if !isNil(o.SupportsOnHealthIssue) { + toSerialize["supportsOnHealthIssue"] = o.SupportsOnHealthIssue + } + if !isNil(o.IncludeHealthWarnings) { + toSerialize["includeHealthWarnings"] = o.IncludeHealthWarnings + } + if !isNil(o.SupportsOnDownloadFailure) { + toSerialize["supportsOnDownloadFailure"] = o.SupportsOnDownloadFailure + } + if !isNil(o.SupportsOnImportFailure) { + toSerialize["supportsOnImportFailure"] = o.SupportsOnImportFailure + } + if !isNil(o.SupportsOnTrackRetag) { + toSerialize["supportsOnTrackRetag"] = o.SupportsOnTrackRetag + } + if !isNil(o.SupportsOnApplicationUpdate) { + toSerialize["supportsOnApplicationUpdate"] = o.SupportsOnApplicationUpdate + } + if o.TestCommand.IsSet() { + toSerialize["testCommand"] = o.TestCommand.Get() + } + return json.Marshal(toSerialize) +} + +type NullableNotificationResource struct { + value *NotificationResource + isSet bool +} + +func (v NullableNotificationResource) Get() *NotificationResource { + return v.value +} + +func (v *NullableNotificationResource) Set(val *NotificationResource) { + v.value = val + v.isSet = true +} + +func (v NullableNotificationResource) IsSet() bool { + return v.isSet +} + +func (v *NullableNotificationResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNotificationResource(val *NotificationResource) *NullableNotificationResource { + return &NullableNotificationResource{value: val, isSet: true} +} + +func (v NullableNotificationResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNotificationResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_paging_resource_filter.go b/lidarr/model_paging_resource_filter.go new file mode 100644 index 0000000..a0eee82 --- /dev/null +++ b/lidarr/model_paging_resource_filter.go @@ -0,0 +1,171 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// PagingResourceFilter struct for PagingResourceFilter +type PagingResourceFilter struct { + Key NullableString `json:"key,omitempty"` + Value NullableString `json:"value,omitempty"` +} + +// NewPagingResourceFilter instantiates a new PagingResourceFilter object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPagingResourceFilter() *PagingResourceFilter { + this := PagingResourceFilter{} + return &this +} + +// NewPagingResourceFilterWithDefaults instantiates a new PagingResourceFilter object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPagingResourceFilterWithDefaults() *PagingResourceFilter { + this := PagingResourceFilter{} + return &this +} + +// GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PagingResourceFilter) GetKey() string { + if o == nil || isNil(o.Key.Get()) { + var ret string + return ret + } + return *o.Key.Get() +} + +// GetKeyOk returns a tuple with the Key field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PagingResourceFilter) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Key.Get(), o.Key.IsSet() +} + +// HasKey returns a boolean if a field has been set. +func (o *PagingResourceFilter) HasKey() bool { + if o != nil && o.Key.IsSet() { + return true + } + + return false +} + +// SetKey gets a reference to the given NullableString and assigns it to the Key field. +func (o *PagingResourceFilter) SetKey(v string) { + o.Key.Set(&v) +} +// SetKeyNil sets the value for Key to be an explicit nil +func (o *PagingResourceFilter) SetKeyNil() { + o.Key.Set(nil) +} + +// UnsetKey ensures that no value is present for Key, not even an explicit nil +func (o *PagingResourceFilter) UnsetKey() { + o.Key.Unset() +} + +// GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PagingResourceFilter) GetValue() string { + if o == nil || isNil(o.Value.Get()) { + var ret string + return ret + } + return *o.Value.Get() +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PagingResourceFilter) GetValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Value.Get(), o.Value.IsSet() +} + +// HasValue returns a boolean if a field has been set. +func (o *PagingResourceFilter) HasValue() bool { + if o != nil && o.Value.IsSet() { + return true + } + + return false +} + +// SetValue gets a reference to the given NullableString and assigns it to the Value field. +func (o *PagingResourceFilter) SetValue(v string) { + o.Value.Set(&v) +} +// SetValueNil sets the value for Value to be an explicit nil +func (o *PagingResourceFilter) SetValueNil() { + o.Value.Set(nil) +} + +// UnsetValue ensures that no value is present for Value, not even an explicit nil +func (o *PagingResourceFilter) UnsetValue() { + o.Value.Unset() +} + +func (o PagingResourceFilter) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Key.IsSet() { + toSerialize["key"] = o.Key.Get() + } + if o.Value.IsSet() { + toSerialize["value"] = o.Value.Get() + } + return json.Marshal(toSerialize) +} + +type NullablePagingResourceFilter struct { + value *PagingResourceFilter + isSet bool +} + +func (v NullablePagingResourceFilter) Get() *PagingResourceFilter { + return v.value +} + +func (v *NullablePagingResourceFilter) Set(val *PagingResourceFilter) { + v.value = val + v.isSet = true +} + +func (v NullablePagingResourceFilter) IsSet() bool { + return v.isSet +} + +func (v *NullablePagingResourceFilter) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePagingResourceFilter(val *PagingResourceFilter) *NullablePagingResourceFilter { + return &NullablePagingResourceFilter{value: val, isSet: true} +} + +func (v NullablePagingResourceFilter) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePagingResourceFilter) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_parse_resource.go b/lidarr/model_parse_resource.go new file mode 100644 index 0000000..7836d86 --- /dev/null +++ b/lidarr/model_parse_resource.go @@ -0,0 +1,270 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ParseResource struct for ParseResource +type ParseResource struct { + Id *int32 `json:"id,omitempty"` + Title NullableString `json:"title,omitempty"` + ParsedAlbumInfo *ParsedAlbumInfo `json:"parsedAlbumInfo,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Albums []*AlbumResource `json:"albums,omitempty"` +} + +// NewParseResource instantiates a new ParseResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewParseResource() *ParseResource { + this := ParseResource{} + return &this +} + +// NewParseResourceWithDefaults instantiates a new ParseResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewParseResourceWithDefaults() *ParseResource { + this := ParseResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ParseResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParseResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ParseResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ParseResource) SetId(v int32) { + o.Id = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParseResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParseResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *ParseResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *ParseResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *ParseResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *ParseResource) UnsetTitle() { + o.Title.Unset() +} + +// GetParsedAlbumInfo returns the ParsedAlbumInfo field value if set, zero value otherwise. +func (o *ParseResource) GetParsedAlbumInfo() ParsedAlbumInfo { + if o == nil || isNil(o.ParsedAlbumInfo) { + var ret ParsedAlbumInfo + return ret + } + return *o.ParsedAlbumInfo +} + +// GetParsedAlbumInfoOk returns a tuple with the ParsedAlbumInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParseResource) GetParsedAlbumInfoOk() (*ParsedAlbumInfo, bool) { + if o == nil || isNil(o.ParsedAlbumInfo) { + return nil, false + } + return o.ParsedAlbumInfo, true +} + +// HasParsedAlbumInfo returns a boolean if a field has been set. +func (o *ParseResource) HasParsedAlbumInfo() bool { + if o != nil && !isNil(o.ParsedAlbumInfo) { + return true + } + + return false +} + +// SetParsedAlbumInfo gets a reference to the given ParsedAlbumInfo and assigns it to the ParsedAlbumInfo field. +func (o *ParseResource) SetParsedAlbumInfo(v ParsedAlbumInfo) { + o.ParsedAlbumInfo = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *ParseResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParseResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *ParseResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *ParseResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetAlbums returns the Albums field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParseResource) GetAlbums() []*AlbumResource { + if o == nil { + var ret []*AlbumResource + return ret + } + return o.Albums +} + +// GetAlbumsOk returns a tuple with the Albums field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParseResource) GetAlbumsOk() ([]*AlbumResource, bool) { + if o == nil || isNil(o.Albums) { + return nil, false + } + return o.Albums, true +} + +// HasAlbums returns a boolean if a field has been set. +func (o *ParseResource) HasAlbums() bool { + if o != nil && isNil(o.Albums) { + return true + } + + return false +} + +// SetAlbums gets a reference to the given []AlbumResource and assigns it to the Albums field. +func (o *ParseResource) SetAlbums(v []*AlbumResource) { + o.Albums = v +} + +func (o ParseResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.ParsedAlbumInfo) { + toSerialize["parsedAlbumInfo"] = o.ParsedAlbumInfo + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if o.Albums != nil { + toSerialize["albums"] = o.Albums + } + return json.Marshal(toSerialize) +} + +type NullableParseResource struct { + value *ParseResource + isSet bool +} + +func (v NullableParseResource) Get() *ParseResource { + return v.value +} + +func (v *NullableParseResource) Set(val *ParseResource) { + v.value = val + v.isSet = true +} + +func (v NullableParseResource) IsSet() bool { + return v.isSet +} + +func (v *NullableParseResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableParseResource(val *ParseResource) *NullableParseResource { + return &NullableParseResource{value: val, isSet: true} +} + +func (v NullableParseResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableParseResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_parsed_album_info.go b/lidarr/model_parsed_album_info.go new file mode 100644 index 0000000..d3b191d --- /dev/null +++ b/lidarr/model_parsed_album_info.go @@ -0,0 +1,535 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ParsedAlbumInfo struct for ParsedAlbumInfo +type ParsedAlbumInfo struct { + AlbumTitle NullableString `json:"albumTitle,omitempty"` + ArtistName NullableString `json:"artistName,omitempty"` + ArtistTitleInfo *ArtistTitleInfo `json:"artistTitleInfo,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + ReleaseDate NullableString `json:"releaseDate,omitempty"` + Discography *bool `json:"discography,omitempty"` + DiscographyStart *int32 `json:"discographyStart,omitempty"` + DiscographyEnd *int32 `json:"discographyEnd,omitempty"` + ReleaseGroup NullableString `json:"releaseGroup,omitempty"` + ReleaseHash NullableString `json:"releaseHash,omitempty"` + ReleaseVersion NullableString `json:"releaseVersion,omitempty"` +} + +// NewParsedAlbumInfo instantiates a new ParsedAlbumInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewParsedAlbumInfo() *ParsedAlbumInfo { + this := ParsedAlbumInfo{} + return &this +} + +// NewParsedAlbumInfoWithDefaults instantiates a new ParsedAlbumInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewParsedAlbumInfoWithDefaults() *ParsedAlbumInfo { + this := ParsedAlbumInfo{} + return &this +} + +// GetAlbumTitle returns the AlbumTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetAlbumTitle() string { + if o == nil || isNil(o.AlbumTitle.Get()) { + var ret string + return ret + } + return *o.AlbumTitle.Get() +} + +// GetAlbumTitleOk returns a tuple with the AlbumTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetAlbumTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumTitle.Get(), o.AlbumTitle.IsSet() +} + +// HasAlbumTitle returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasAlbumTitle() bool { + if o != nil && o.AlbumTitle.IsSet() { + return true + } + + return false +} + +// SetAlbumTitle gets a reference to the given NullableString and assigns it to the AlbumTitle field. +func (o *ParsedAlbumInfo) SetAlbumTitle(v string) { + o.AlbumTitle.Set(&v) +} +// SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil +func (o *ParsedAlbumInfo) SetAlbumTitleNil() { + o.AlbumTitle.Set(nil) +} + +// UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetAlbumTitle() { + o.AlbumTitle.Unset() +} + +// GetArtistName returns the ArtistName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetArtistName() string { + if o == nil || isNil(o.ArtistName.Get()) { + var ret string + return ret + } + return *o.ArtistName.Get() +} + +// GetArtistNameOk returns a tuple with the ArtistName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetArtistNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistName.Get(), o.ArtistName.IsSet() +} + +// HasArtistName returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasArtistName() bool { + if o != nil && o.ArtistName.IsSet() { + return true + } + + return false +} + +// SetArtistName gets a reference to the given NullableString and assigns it to the ArtistName field. +func (o *ParsedAlbumInfo) SetArtistName(v string) { + o.ArtistName.Set(&v) +} +// SetArtistNameNil sets the value for ArtistName to be an explicit nil +func (o *ParsedAlbumInfo) SetArtistNameNil() { + o.ArtistName.Set(nil) +} + +// UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetArtistName() { + o.ArtistName.Unset() +} + +// GetArtistTitleInfo returns the ArtistTitleInfo field value if set, zero value otherwise. +func (o *ParsedAlbumInfo) GetArtistTitleInfo() ArtistTitleInfo { + if o == nil || isNil(o.ArtistTitleInfo) { + var ret ArtistTitleInfo + return ret + } + return *o.ArtistTitleInfo +} + +// GetArtistTitleInfoOk returns a tuple with the ArtistTitleInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedAlbumInfo) GetArtistTitleInfoOk() (*ArtistTitleInfo, bool) { + if o == nil || isNil(o.ArtistTitleInfo) { + return nil, false + } + return o.ArtistTitleInfo, true +} + +// HasArtistTitleInfo returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasArtistTitleInfo() bool { + if o != nil && !isNil(o.ArtistTitleInfo) { + return true + } + + return false +} + +// SetArtistTitleInfo gets a reference to the given ArtistTitleInfo and assigns it to the ArtistTitleInfo field. +func (o *ParsedAlbumInfo) SetArtistTitleInfo(v ArtistTitleInfo) { + o.ArtistTitleInfo = &v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *ParsedAlbumInfo) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedAlbumInfo) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *ParsedAlbumInfo) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetReleaseDate returns the ReleaseDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetReleaseDate() string { + if o == nil || isNil(o.ReleaseDate.Get()) { + var ret string + return ret + } + return *o.ReleaseDate.Get() +} + +// GetReleaseDateOk returns a tuple with the ReleaseDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetReleaseDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseDate.Get(), o.ReleaseDate.IsSet() +} + +// HasReleaseDate returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasReleaseDate() bool { + if o != nil && o.ReleaseDate.IsSet() { + return true + } + + return false +} + +// SetReleaseDate gets a reference to the given NullableString and assigns it to the ReleaseDate field. +func (o *ParsedAlbumInfo) SetReleaseDate(v string) { + o.ReleaseDate.Set(&v) +} +// SetReleaseDateNil sets the value for ReleaseDate to be an explicit nil +func (o *ParsedAlbumInfo) SetReleaseDateNil() { + o.ReleaseDate.Set(nil) +} + +// UnsetReleaseDate ensures that no value is present for ReleaseDate, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetReleaseDate() { + o.ReleaseDate.Unset() +} + +// GetDiscography returns the Discography field value if set, zero value otherwise. +func (o *ParsedAlbumInfo) GetDiscography() bool { + if o == nil || isNil(o.Discography) { + var ret bool + return ret + } + return *o.Discography +} + +// GetDiscographyOk returns a tuple with the Discography field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedAlbumInfo) GetDiscographyOk() (*bool, bool) { + if o == nil || isNil(o.Discography) { + return nil, false + } + return o.Discography, true +} + +// HasDiscography returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasDiscography() bool { + if o != nil && !isNil(o.Discography) { + return true + } + + return false +} + +// SetDiscography gets a reference to the given bool and assigns it to the Discography field. +func (o *ParsedAlbumInfo) SetDiscography(v bool) { + o.Discography = &v +} + +// GetDiscographyStart returns the DiscographyStart field value if set, zero value otherwise. +func (o *ParsedAlbumInfo) GetDiscographyStart() int32 { + if o == nil || isNil(o.DiscographyStart) { + var ret int32 + return ret + } + return *o.DiscographyStart +} + +// GetDiscographyStartOk returns a tuple with the DiscographyStart field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedAlbumInfo) GetDiscographyStartOk() (*int32, bool) { + if o == nil || isNil(o.DiscographyStart) { + return nil, false + } + return o.DiscographyStart, true +} + +// HasDiscographyStart returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasDiscographyStart() bool { + if o != nil && !isNil(o.DiscographyStart) { + return true + } + + return false +} + +// SetDiscographyStart gets a reference to the given int32 and assigns it to the DiscographyStart field. +func (o *ParsedAlbumInfo) SetDiscographyStart(v int32) { + o.DiscographyStart = &v +} + +// GetDiscographyEnd returns the DiscographyEnd field value if set, zero value otherwise. +func (o *ParsedAlbumInfo) GetDiscographyEnd() int32 { + if o == nil || isNil(o.DiscographyEnd) { + var ret int32 + return ret + } + return *o.DiscographyEnd +} + +// GetDiscographyEndOk returns a tuple with the DiscographyEnd field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedAlbumInfo) GetDiscographyEndOk() (*int32, bool) { + if o == nil || isNil(o.DiscographyEnd) { + return nil, false + } + return o.DiscographyEnd, true +} + +// HasDiscographyEnd returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasDiscographyEnd() bool { + if o != nil && !isNil(o.DiscographyEnd) { + return true + } + + return false +} + +// SetDiscographyEnd gets a reference to the given int32 and assigns it to the DiscographyEnd field. +func (o *ParsedAlbumInfo) SetDiscographyEnd(v int32) { + o.DiscographyEnd = &v +} + +// GetReleaseGroup returns the ReleaseGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetReleaseGroup() string { + if o == nil || isNil(o.ReleaseGroup.Get()) { + var ret string + return ret + } + return *o.ReleaseGroup.Get() +} + +// GetReleaseGroupOk returns a tuple with the ReleaseGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetReleaseGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseGroup.Get(), o.ReleaseGroup.IsSet() +} + +// HasReleaseGroup returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasReleaseGroup() bool { + if o != nil && o.ReleaseGroup.IsSet() { + return true + } + + return false +} + +// SetReleaseGroup gets a reference to the given NullableString and assigns it to the ReleaseGroup field. +func (o *ParsedAlbumInfo) SetReleaseGroup(v string) { + o.ReleaseGroup.Set(&v) +} +// SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil +func (o *ParsedAlbumInfo) SetReleaseGroupNil() { + o.ReleaseGroup.Set(nil) +} + +// UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetReleaseGroup() { + o.ReleaseGroup.Unset() +} + +// GetReleaseHash returns the ReleaseHash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetReleaseHash() string { + if o == nil || isNil(o.ReleaseHash.Get()) { + var ret string + return ret + } + return *o.ReleaseHash.Get() +} + +// GetReleaseHashOk returns a tuple with the ReleaseHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetReleaseHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseHash.Get(), o.ReleaseHash.IsSet() +} + +// HasReleaseHash returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasReleaseHash() bool { + if o != nil && o.ReleaseHash.IsSet() { + return true + } + + return false +} + +// SetReleaseHash gets a reference to the given NullableString and assigns it to the ReleaseHash field. +func (o *ParsedAlbumInfo) SetReleaseHash(v string) { + o.ReleaseHash.Set(&v) +} +// SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil +func (o *ParsedAlbumInfo) SetReleaseHashNil() { + o.ReleaseHash.Set(nil) +} + +// UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetReleaseHash() { + o.ReleaseHash.Unset() +} + +// GetReleaseVersion returns the ReleaseVersion field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedAlbumInfo) GetReleaseVersion() string { + if o == nil || isNil(o.ReleaseVersion.Get()) { + var ret string + return ret + } + return *o.ReleaseVersion.Get() +} + +// GetReleaseVersionOk returns a tuple with the ReleaseVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedAlbumInfo) GetReleaseVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseVersion.Get(), o.ReleaseVersion.IsSet() +} + +// HasReleaseVersion returns a boolean if a field has been set. +func (o *ParsedAlbumInfo) HasReleaseVersion() bool { + if o != nil && o.ReleaseVersion.IsSet() { + return true + } + + return false +} + +// SetReleaseVersion gets a reference to the given NullableString and assigns it to the ReleaseVersion field. +func (o *ParsedAlbumInfo) SetReleaseVersion(v string) { + o.ReleaseVersion.Set(&v) +} +// SetReleaseVersionNil sets the value for ReleaseVersion to be an explicit nil +func (o *ParsedAlbumInfo) SetReleaseVersionNil() { + o.ReleaseVersion.Set(nil) +} + +// UnsetReleaseVersion ensures that no value is present for ReleaseVersion, not even an explicit nil +func (o *ParsedAlbumInfo) UnsetReleaseVersion() { + o.ReleaseVersion.Unset() +} + +func (o ParsedAlbumInfo) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.AlbumTitle.IsSet() { + toSerialize["albumTitle"] = o.AlbumTitle.Get() + } + if o.ArtistName.IsSet() { + toSerialize["artistName"] = o.ArtistName.Get() + } + if !isNil(o.ArtistTitleInfo) { + toSerialize["artistTitleInfo"] = o.ArtistTitleInfo + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if o.ReleaseDate.IsSet() { + toSerialize["releaseDate"] = o.ReleaseDate.Get() + } + if !isNil(o.Discography) { + toSerialize["discography"] = o.Discography + } + if !isNil(o.DiscographyStart) { + toSerialize["discographyStart"] = o.DiscographyStart + } + if !isNil(o.DiscographyEnd) { + toSerialize["discographyEnd"] = o.DiscographyEnd + } + if o.ReleaseGroup.IsSet() { + toSerialize["releaseGroup"] = o.ReleaseGroup.Get() + } + if o.ReleaseHash.IsSet() { + toSerialize["releaseHash"] = o.ReleaseHash.Get() + } + if o.ReleaseVersion.IsSet() { + toSerialize["releaseVersion"] = o.ReleaseVersion.Get() + } + return json.Marshal(toSerialize) +} + +type NullableParsedAlbumInfo struct { + value *ParsedAlbumInfo + isSet bool +} + +func (v NullableParsedAlbumInfo) Get() *ParsedAlbumInfo { + return v.value +} + +func (v *NullableParsedAlbumInfo) Set(val *ParsedAlbumInfo) { + v.value = val + v.isSet = true +} + +func (v NullableParsedAlbumInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableParsedAlbumInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableParsedAlbumInfo(val *ParsedAlbumInfo) *NullableParsedAlbumInfo { + return &NullableParsedAlbumInfo{value: val, isSet: true} +} + +func (v NullableParsedAlbumInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableParsedAlbumInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_parsed_track_info.go b/lidarr/model_parsed_track_info.go new file mode 100644 index 0000000..ea60cf3 --- /dev/null +++ b/lidarr/model_parsed_track_info.go @@ -0,0 +1,1048 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ParsedTrackInfo struct for ParsedTrackInfo +type ParsedTrackInfo struct { + Title NullableString `json:"title,omitempty"` + CleanTitle NullableString `json:"cleanTitle,omitempty"` + ArtistTitle NullableString `json:"artistTitle,omitempty"` + AlbumTitle NullableString `json:"albumTitle,omitempty"` + ArtistTitleInfo *ArtistTitleInfo `json:"artistTitleInfo,omitempty"` + ArtistMBId NullableString `json:"artistMBId,omitempty"` + AlbumMBId NullableString `json:"albumMBId,omitempty"` + ReleaseMBId NullableString `json:"releaseMBId,omitempty"` + RecordingMBId NullableString `json:"recordingMBId,omitempty"` + TrackMBId NullableString `json:"trackMBId,omitempty"` + DiscNumber *int32 `json:"discNumber,omitempty"` + DiscCount *int32 `json:"discCount,omitempty"` + Country *IsoCountry `json:"country,omitempty"` + Year *int32 `json:"year,omitempty"` + Label NullableString `json:"label,omitempty"` + CatalogNumber NullableString `json:"catalogNumber,omitempty"` + Disambiguation NullableString `json:"disambiguation,omitempty"` + Duration *TimeSpan `json:"duration,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + MediaInfo *MediaInfoModel `json:"mediaInfo,omitempty"` + TrackNumbers []*int32 `json:"trackNumbers,omitempty"` + ReleaseGroup NullableString `json:"releaseGroup,omitempty"` + ReleaseHash NullableString `json:"releaseHash,omitempty"` +} + +// NewParsedTrackInfo instantiates a new ParsedTrackInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewParsedTrackInfo() *ParsedTrackInfo { + this := ParsedTrackInfo{} + return &this +} + +// NewParsedTrackInfoWithDefaults instantiates a new ParsedTrackInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewParsedTrackInfoWithDefaults() *ParsedTrackInfo { + this := ParsedTrackInfo{} + return &this +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *ParsedTrackInfo) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *ParsedTrackInfo) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *ParsedTrackInfo) UnsetTitle() { + o.Title.Unset() +} + +// GetCleanTitle returns the CleanTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetCleanTitle() string { + if o == nil || isNil(o.CleanTitle.Get()) { + var ret string + return ret + } + return *o.CleanTitle.Get() +} + +// GetCleanTitleOk returns a tuple with the CleanTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetCleanTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CleanTitle.Get(), o.CleanTitle.IsSet() +} + +// HasCleanTitle returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasCleanTitle() bool { + if o != nil && o.CleanTitle.IsSet() { + return true + } + + return false +} + +// SetCleanTitle gets a reference to the given NullableString and assigns it to the CleanTitle field. +func (o *ParsedTrackInfo) SetCleanTitle(v string) { + o.CleanTitle.Set(&v) +} +// SetCleanTitleNil sets the value for CleanTitle to be an explicit nil +func (o *ParsedTrackInfo) SetCleanTitleNil() { + o.CleanTitle.Set(nil) +} + +// UnsetCleanTitle ensures that no value is present for CleanTitle, not even an explicit nil +func (o *ParsedTrackInfo) UnsetCleanTitle() { + o.CleanTitle.Unset() +} + +// GetArtistTitle returns the ArtistTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetArtistTitle() string { + if o == nil || isNil(o.ArtistTitle.Get()) { + var ret string + return ret + } + return *o.ArtistTitle.Get() +} + +// GetArtistTitleOk returns a tuple with the ArtistTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetArtistTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistTitle.Get(), o.ArtistTitle.IsSet() +} + +// HasArtistTitle returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasArtistTitle() bool { + if o != nil && o.ArtistTitle.IsSet() { + return true + } + + return false +} + +// SetArtistTitle gets a reference to the given NullableString and assigns it to the ArtistTitle field. +func (o *ParsedTrackInfo) SetArtistTitle(v string) { + o.ArtistTitle.Set(&v) +} +// SetArtistTitleNil sets the value for ArtistTitle to be an explicit nil +func (o *ParsedTrackInfo) SetArtistTitleNil() { + o.ArtistTitle.Set(nil) +} + +// UnsetArtistTitle ensures that no value is present for ArtistTitle, not even an explicit nil +func (o *ParsedTrackInfo) UnsetArtistTitle() { + o.ArtistTitle.Unset() +} + +// GetAlbumTitle returns the AlbumTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetAlbumTitle() string { + if o == nil || isNil(o.AlbumTitle.Get()) { + var ret string + return ret + } + return *o.AlbumTitle.Get() +} + +// GetAlbumTitleOk returns a tuple with the AlbumTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetAlbumTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumTitle.Get(), o.AlbumTitle.IsSet() +} + +// HasAlbumTitle returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasAlbumTitle() bool { + if o != nil && o.AlbumTitle.IsSet() { + return true + } + + return false +} + +// SetAlbumTitle gets a reference to the given NullableString and assigns it to the AlbumTitle field. +func (o *ParsedTrackInfo) SetAlbumTitle(v string) { + o.AlbumTitle.Set(&v) +} +// SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil +func (o *ParsedTrackInfo) SetAlbumTitleNil() { + o.AlbumTitle.Set(nil) +} + +// UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +func (o *ParsedTrackInfo) UnsetAlbumTitle() { + o.AlbumTitle.Unset() +} + +// GetArtistTitleInfo returns the ArtistTitleInfo field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetArtistTitleInfo() ArtistTitleInfo { + if o == nil || isNil(o.ArtistTitleInfo) { + var ret ArtistTitleInfo + return ret + } + return *o.ArtistTitleInfo +} + +// GetArtistTitleInfoOk returns a tuple with the ArtistTitleInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetArtistTitleInfoOk() (*ArtistTitleInfo, bool) { + if o == nil || isNil(o.ArtistTitleInfo) { + return nil, false + } + return o.ArtistTitleInfo, true +} + +// HasArtistTitleInfo returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasArtistTitleInfo() bool { + if o != nil && !isNil(o.ArtistTitleInfo) { + return true + } + + return false +} + +// SetArtistTitleInfo gets a reference to the given ArtistTitleInfo and assigns it to the ArtistTitleInfo field. +func (o *ParsedTrackInfo) SetArtistTitleInfo(v ArtistTitleInfo) { + o.ArtistTitleInfo = &v +} + +// GetArtistMBId returns the ArtistMBId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetArtistMBId() string { + if o == nil || isNil(o.ArtistMBId.Get()) { + var ret string + return ret + } + return *o.ArtistMBId.Get() +} + +// GetArtistMBIdOk returns a tuple with the ArtistMBId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetArtistMBIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistMBId.Get(), o.ArtistMBId.IsSet() +} + +// HasArtistMBId returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasArtistMBId() bool { + if o != nil && o.ArtistMBId.IsSet() { + return true + } + + return false +} + +// SetArtistMBId gets a reference to the given NullableString and assigns it to the ArtistMBId field. +func (o *ParsedTrackInfo) SetArtistMBId(v string) { + o.ArtistMBId.Set(&v) +} +// SetArtistMBIdNil sets the value for ArtistMBId to be an explicit nil +func (o *ParsedTrackInfo) SetArtistMBIdNil() { + o.ArtistMBId.Set(nil) +} + +// UnsetArtistMBId ensures that no value is present for ArtistMBId, not even an explicit nil +func (o *ParsedTrackInfo) UnsetArtistMBId() { + o.ArtistMBId.Unset() +} + +// GetAlbumMBId returns the AlbumMBId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetAlbumMBId() string { + if o == nil || isNil(o.AlbumMBId.Get()) { + var ret string + return ret + } + return *o.AlbumMBId.Get() +} + +// GetAlbumMBIdOk returns a tuple with the AlbumMBId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetAlbumMBIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumMBId.Get(), o.AlbumMBId.IsSet() +} + +// HasAlbumMBId returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasAlbumMBId() bool { + if o != nil && o.AlbumMBId.IsSet() { + return true + } + + return false +} + +// SetAlbumMBId gets a reference to the given NullableString and assigns it to the AlbumMBId field. +func (o *ParsedTrackInfo) SetAlbumMBId(v string) { + o.AlbumMBId.Set(&v) +} +// SetAlbumMBIdNil sets the value for AlbumMBId to be an explicit nil +func (o *ParsedTrackInfo) SetAlbumMBIdNil() { + o.AlbumMBId.Set(nil) +} + +// UnsetAlbumMBId ensures that no value is present for AlbumMBId, not even an explicit nil +func (o *ParsedTrackInfo) UnsetAlbumMBId() { + o.AlbumMBId.Unset() +} + +// GetReleaseMBId returns the ReleaseMBId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetReleaseMBId() string { + if o == nil || isNil(o.ReleaseMBId.Get()) { + var ret string + return ret + } + return *o.ReleaseMBId.Get() +} + +// GetReleaseMBIdOk returns a tuple with the ReleaseMBId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetReleaseMBIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseMBId.Get(), o.ReleaseMBId.IsSet() +} + +// HasReleaseMBId returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasReleaseMBId() bool { + if o != nil && o.ReleaseMBId.IsSet() { + return true + } + + return false +} + +// SetReleaseMBId gets a reference to the given NullableString and assigns it to the ReleaseMBId field. +func (o *ParsedTrackInfo) SetReleaseMBId(v string) { + o.ReleaseMBId.Set(&v) +} +// SetReleaseMBIdNil sets the value for ReleaseMBId to be an explicit nil +func (o *ParsedTrackInfo) SetReleaseMBIdNil() { + o.ReleaseMBId.Set(nil) +} + +// UnsetReleaseMBId ensures that no value is present for ReleaseMBId, not even an explicit nil +func (o *ParsedTrackInfo) UnsetReleaseMBId() { + o.ReleaseMBId.Unset() +} + +// GetRecordingMBId returns the RecordingMBId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetRecordingMBId() string { + if o == nil || isNil(o.RecordingMBId.Get()) { + var ret string + return ret + } + return *o.RecordingMBId.Get() +} + +// GetRecordingMBIdOk returns a tuple with the RecordingMBId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetRecordingMBIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RecordingMBId.Get(), o.RecordingMBId.IsSet() +} + +// HasRecordingMBId returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasRecordingMBId() bool { + if o != nil && o.RecordingMBId.IsSet() { + return true + } + + return false +} + +// SetRecordingMBId gets a reference to the given NullableString and assigns it to the RecordingMBId field. +func (o *ParsedTrackInfo) SetRecordingMBId(v string) { + o.RecordingMBId.Set(&v) +} +// SetRecordingMBIdNil sets the value for RecordingMBId to be an explicit nil +func (o *ParsedTrackInfo) SetRecordingMBIdNil() { + o.RecordingMBId.Set(nil) +} + +// UnsetRecordingMBId ensures that no value is present for RecordingMBId, not even an explicit nil +func (o *ParsedTrackInfo) UnsetRecordingMBId() { + o.RecordingMBId.Unset() +} + +// GetTrackMBId returns the TrackMBId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetTrackMBId() string { + if o == nil || isNil(o.TrackMBId.Get()) { + var ret string + return ret + } + return *o.TrackMBId.Get() +} + +// GetTrackMBIdOk returns a tuple with the TrackMBId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetTrackMBIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TrackMBId.Get(), o.TrackMBId.IsSet() +} + +// HasTrackMBId returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasTrackMBId() bool { + if o != nil && o.TrackMBId.IsSet() { + return true + } + + return false +} + +// SetTrackMBId gets a reference to the given NullableString and assigns it to the TrackMBId field. +func (o *ParsedTrackInfo) SetTrackMBId(v string) { + o.TrackMBId.Set(&v) +} +// SetTrackMBIdNil sets the value for TrackMBId to be an explicit nil +func (o *ParsedTrackInfo) SetTrackMBIdNil() { + o.TrackMBId.Set(nil) +} + +// UnsetTrackMBId ensures that no value is present for TrackMBId, not even an explicit nil +func (o *ParsedTrackInfo) UnsetTrackMBId() { + o.TrackMBId.Unset() +} + +// GetDiscNumber returns the DiscNumber field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetDiscNumber() int32 { + if o == nil || isNil(o.DiscNumber) { + var ret int32 + return ret + } + return *o.DiscNumber +} + +// GetDiscNumberOk returns a tuple with the DiscNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetDiscNumberOk() (*int32, bool) { + if o == nil || isNil(o.DiscNumber) { + return nil, false + } + return o.DiscNumber, true +} + +// HasDiscNumber returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasDiscNumber() bool { + if o != nil && !isNil(o.DiscNumber) { + return true + } + + return false +} + +// SetDiscNumber gets a reference to the given int32 and assigns it to the DiscNumber field. +func (o *ParsedTrackInfo) SetDiscNumber(v int32) { + o.DiscNumber = &v +} + +// GetDiscCount returns the DiscCount field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetDiscCount() int32 { + if o == nil || isNil(o.DiscCount) { + var ret int32 + return ret + } + return *o.DiscCount +} + +// GetDiscCountOk returns a tuple with the DiscCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetDiscCountOk() (*int32, bool) { + if o == nil || isNil(o.DiscCount) { + return nil, false + } + return o.DiscCount, true +} + +// HasDiscCount returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasDiscCount() bool { + if o != nil && !isNil(o.DiscCount) { + return true + } + + return false +} + +// SetDiscCount gets a reference to the given int32 and assigns it to the DiscCount field. +func (o *ParsedTrackInfo) SetDiscCount(v int32) { + o.DiscCount = &v +} + +// GetCountry returns the Country field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetCountry() IsoCountry { + if o == nil || isNil(o.Country) { + var ret IsoCountry + return ret + } + return *o.Country +} + +// GetCountryOk returns a tuple with the Country field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetCountryOk() (*IsoCountry, bool) { + if o == nil || isNil(o.Country) { + return nil, false + } + return o.Country, true +} + +// HasCountry returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasCountry() bool { + if o != nil && !isNil(o.Country) { + return true + } + + return false +} + +// SetCountry gets a reference to the given IsoCountry and assigns it to the Country field. +func (o *ParsedTrackInfo) SetCountry(v IsoCountry) { + o.Country = &v +} + +// GetYear returns the Year field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetYear() int32 { + if o == nil || isNil(o.Year) { + var ret int32 + return ret + } + return *o.Year +} + +// GetYearOk returns a tuple with the Year field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetYearOk() (*int32, bool) { + if o == nil || isNil(o.Year) { + return nil, false + } + return o.Year, true +} + +// HasYear returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasYear() bool { + if o != nil && !isNil(o.Year) { + return true + } + + return false +} + +// SetYear gets a reference to the given int32 and assigns it to the Year field. +func (o *ParsedTrackInfo) SetYear(v int32) { + o.Year = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *ParsedTrackInfo) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *ParsedTrackInfo) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *ParsedTrackInfo) UnsetLabel() { + o.Label.Unset() +} + +// GetCatalogNumber returns the CatalogNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetCatalogNumber() string { + if o == nil || isNil(o.CatalogNumber.Get()) { + var ret string + return ret + } + return *o.CatalogNumber.Get() +} + +// GetCatalogNumberOk returns a tuple with the CatalogNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetCatalogNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CatalogNumber.Get(), o.CatalogNumber.IsSet() +} + +// HasCatalogNumber returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasCatalogNumber() bool { + if o != nil && o.CatalogNumber.IsSet() { + return true + } + + return false +} + +// SetCatalogNumber gets a reference to the given NullableString and assigns it to the CatalogNumber field. +func (o *ParsedTrackInfo) SetCatalogNumber(v string) { + o.CatalogNumber.Set(&v) +} +// SetCatalogNumberNil sets the value for CatalogNumber to be an explicit nil +func (o *ParsedTrackInfo) SetCatalogNumberNil() { + o.CatalogNumber.Set(nil) +} + +// UnsetCatalogNumber ensures that no value is present for CatalogNumber, not even an explicit nil +func (o *ParsedTrackInfo) UnsetCatalogNumber() { + o.CatalogNumber.Unset() +} + +// GetDisambiguation returns the Disambiguation field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetDisambiguation() string { + if o == nil || isNil(o.Disambiguation.Get()) { + var ret string + return ret + } + return *o.Disambiguation.Get() +} + +// GetDisambiguationOk returns a tuple with the Disambiguation field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetDisambiguationOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Disambiguation.Get(), o.Disambiguation.IsSet() +} + +// HasDisambiguation returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasDisambiguation() bool { + if o != nil && o.Disambiguation.IsSet() { + return true + } + + return false +} + +// SetDisambiguation gets a reference to the given NullableString and assigns it to the Disambiguation field. +func (o *ParsedTrackInfo) SetDisambiguation(v string) { + o.Disambiguation.Set(&v) +} +// SetDisambiguationNil sets the value for Disambiguation to be an explicit nil +func (o *ParsedTrackInfo) SetDisambiguationNil() { + o.Disambiguation.Set(nil) +} + +// UnsetDisambiguation ensures that no value is present for Disambiguation, not even an explicit nil +func (o *ParsedTrackInfo) UnsetDisambiguation() { + o.Disambiguation.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetDuration() TimeSpan { + if o == nil || isNil(o.Duration) { + var ret TimeSpan + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetDurationOk() (*TimeSpan, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given TimeSpan and assigns it to the Duration field. +func (o *ParsedTrackInfo) SetDuration(v TimeSpan) { + o.Duration = &v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *ParsedTrackInfo) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetMediaInfo returns the MediaInfo field value if set, zero value otherwise. +func (o *ParsedTrackInfo) GetMediaInfo() MediaInfoModel { + if o == nil || isNil(o.MediaInfo) { + var ret MediaInfoModel + return ret + } + return *o.MediaInfo +} + +// GetMediaInfoOk returns a tuple with the MediaInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ParsedTrackInfo) GetMediaInfoOk() (*MediaInfoModel, bool) { + if o == nil || isNil(o.MediaInfo) { + return nil, false + } + return o.MediaInfo, true +} + +// HasMediaInfo returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasMediaInfo() bool { + if o != nil && !isNil(o.MediaInfo) { + return true + } + + return false +} + +// SetMediaInfo gets a reference to the given MediaInfoModel and assigns it to the MediaInfo field. +func (o *ParsedTrackInfo) SetMediaInfo(v MediaInfoModel) { + o.MediaInfo = &v +} + +// GetTrackNumbers returns the TrackNumbers field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetTrackNumbers() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.TrackNumbers +} + +// GetTrackNumbersOk returns a tuple with the TrackNumbers field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetTrackNumbersOk() ([]*int32, bool) { + if o == nil || isNil(o.TrackNumbers) { + return nil, false + } + return o.TrackNumbers, true +} + +// HasTrackNumbers returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasTrackNumbers() bool { + if o != nil && isNil(o.TrackNumbers) { + return true + } + + return false +} + +// SetTrackNumbers gets a reference to the given []int32 and assigns it to the TrackNumbers field. +func (o *ParsedTrackInfo) SetTrackNumbers(v []*int32) { + o.TrackNumbers = v +} + +// GetReleaseGroup returns the ReleaseGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetReleaseGroup() string { + if o == nil || isNil(o.ReleaseGroup.Get()) { + var ret string + return ret + } + return *o.ReleaseGroup.Get() +} + +// GetReleaseGroupOk returns a tuple with the ReleaseGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetReleaseGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseGroup.Get(), o.ReleaseGroup.IsSet() +} + +// HasReleaseGroup returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasReleaseGroup() bool { + if o != nil && o.ReleaseGroup.IsSet() { + return true + } + + return false +} + +// SetReleaseGroup gets a reference to the given NullableString and assigns it to the ReleaseGroup field. +func (o *ParsedTrackInfo) SetReleaseGroup(v string) { + o.ReleaseGroup.Set(&v) +} +// SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil +func (o *ParsedTrackInfo) SetReleaseGroupNil() { + o.ReleaseGroup.Set(nil) +} + +// UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +func (o *ParsedTrackInfo) UnsetReleaseGroup() { + o.ReleaseGroup.Unset() +} + +// GetReleaseHash returns the ReleaseHash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ParsedTrackInfo) GetReleaseHash() string { + if o == nil || isNil(o.ReleaseHash.Get()) { + var ret string + return ret + } + return *o.ReleaseHash.Get() +} + +// GetReleaseHashOk returns a tuple with the ReleaseHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ParsedTrackInfo) GetReleaseHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseHash.Get(), o.ReleaseHash.IsSet() +} + +// HasReleaseHash returns a boolean if a field has been set. +func (o *ParsedTrackInfo) HasReleaseHash() bool { + if o != nil && o.ReleaseHash.IsSet() { + return true + } + + return false +} + +// SetReleaseHash gets a reference to the given NullableString and assigns it to the ReleaseHash field. +func (o *ParsedTrackInfo) SetReleaseHash(v string) { + o.ReleaseHash.Set(&v) +} +// SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil +func (o *ParsedTrackInfo) SetReleaseHashNil() { + o.ReleaseHash.Set(nil) +} + +// UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil +func (o *ParsedTrackInfo) UnsetReleaseHash() { + o.ReleaseHash.Unset() +} + +func (o ParsedTrackInfo) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.CleanTitle.IsSet() { + toSerialize["cleanTitle"] = o.CleanTitle.Get() + } + if o.ArtistTitle.IsSet() { + toSerialize["artistTitle"] = o.ArtistTitle.Get() + } + if o.AlbumTitle.IsSet() { + toSerialize["albumTitle"] = o.AlbumTitle.Get() + } + if !isNil(o.ArtistTitleInfo) { + toSerialize["artistTitleInfo"] = o.ArtistTitleInfo + } + if o.ArtistMBId.IsSet() { + toSerialize["artistMBId"] = o.ArtistMBId.Get() + } + if o.AlbumMBId.IsSet() { + toSerialize["albumMBId"] = o.AlbumMBId.Get() + } + if o.ReleaseMBId.IsSet() { + toSerialize["releaseMBId"] = o.ReleaseMBId.Get() + } + if o.RecordingMBId.IsSet() { + toSerialize["recordingMBId"] = o.RecordingMBId.Get() + } + if o.TrackMBId.IsSet() { + toSerialize["trackMBId"] = o.TrackMBId.Get() + } + if !isNil(o.DiscNumber) { + toSerialize["discNumber"] = o.DiscNumber + } + if !isNil(o.DiscCount) { + toSerialize["discCount"] = o.DiscCount + } + if !isNil(o.Country) { + toSerialize["country"] = o.Country + } + if !isNil(o.Year) { + toSerialize["year"] = o.Year + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + if o.CatalogNumber.IsSet() { + toSerialize["catalogNumber"] = o.CatalogNumber.Get() + } + if o.Disambiguation.IsSet() { + toSerialize["disambiguation"] = o.Disambiguation.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.MediaInfo) { + toSerialize["mediaInfo"] = o.MediaInfo + } + if o.TrackNumbers != nil { + toSerialize["trackNumbers"] = o.TrackNumbers + } + if o.ReleaseGroup.IsSet() { + toSerialize["releaseGroup"] = o.ReleaseGroup.Get() + } + if o.ReleaseHash.IsSet() { + toSerialize["releaseHash"] = o.ReleaseHash.Get() + } + return json.Marshal(toSerialize) +} + +type NullableParsedTrackInfo struct { + value *ParsedTrackInfo + isSet bool +} + +func (v NullableParsedTrackInfo) Get() *ParsedTrackInfo { + return v.value +} + +func (v *NullableParsedTrackInfo) Set(val *ParsedTrackInfo) { + v.value = val + v.isSet = true +} + +func (v NullableParsedTrackInfo) IsSet() bool { + return v.isSet +} + +func (v *NullableParsedTrackInfo) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableParsedTrackInfo(val *ParsedTrackInfo) *NullableParsedTrackInfo { + return &NullableParsedTrackInfo{value: val, isSet: true} +} + +func (v NullableParsedTrackInfo) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableParsedTrackInfo) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_primary_album_type.go b/lidarr/model_primary_album_type.go new file mode 100644 index 0000000..8bdc536 --- /dev/null +++ b/lidarr/model_primary_album_type.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// PrimaryAlbumType struct for PrimaryAlbumType +type PrimaryAlbumType struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewPrimaryAlbumType instantiates a new PrimaryAlbumType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPrimaryAlbumType() *PrimaryAlbumType { + this := PrimaryAlbumType{} + return &this +} + +// NewPrimaryAlbumTypeWithDefaults instantiates a new PrimaryAlbumType object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPrimaryAlbumTypeWithDefaults() *PrimaryAlbumType { + this := PrimaryAlbumType{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *PrimaryAlbumType) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PrimaryAlbumType) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *PrimaryAlbumType) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *PrimaryAlbumType) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PrimaryAlbumType) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PrimaryAlbumType) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *PrimaryAlbumType) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *PrimaryAlbumType) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *PrimaryAlbumType) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *PrimaryAlbumType) UnsetName() { + o.Name.Unset() +} + +func (o PrimaryAlbumType) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullablePrimaryAlbumType struct { + value *PrimaryAlbumType + isSet bool +} + +func (v NullablePrimaryAlbumType) Get() *PrimaryAlbumType { + return v.value +} + +func (v *NullablePrimaryAlbumType) Set(val *PrimaryAlbumType) { + v.value = val + v.isSet = true +} + +func (v NullablePrimaryAlbumType) IsSet() bool { + return v.isSet +} + +func (v *NullablePrimaryAlbumType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePrimaryAlbumType(val *PrimaryAlbumType) *NullablePrimaryAlbumType { + return &NullablePrimaryAlbumType{value: val, isSet: true} +} + +func (v NullablePrimaryAlbumType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePrimaryAlbumType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_primary_album_type_item.go b/lidarr/model_profile_primary_album_type_item.go new file mode 100644 index 0000000..bc2d745 --- /dev/null +++ b/lidarr/model_profile_primary_album_type_item.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfilePrimaryAlbumTypeItem struct for ProfilePrimaryAlbumTypeItem +type ProfilePrimaryAlbumTypeItem struct { + PrimaryAlbumType *PrimaryAlbumType `json:"primaryAlbumType,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfilePrimaryAlbumTypeItem instantiates a new ProfilePrimaryAlbumTypeItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfilePrimaryAlbumTypeItem() *ProfilePrimaryAlbumTypeItem { + this := ProfilePrimaryAlbumTypeItem{} + return &this +} + +// NewProfilePrimaryAlbumTypeItemWithDefaults instantiates a new ProfilePrimaryAlbumTypeItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfilePrimaryAlbumTypeItemWithDefaults() *ProfilePrimaryAlbumTypeItem { + this := ProfilePrimaryAlbumTypeItem{} + return &this +} + +// GetPrimaryAlbumType returns the PrimaryAlbumType field value if set, zero value otherwise. +func (o *ProfilePrimaryAlbumTypeItem) GetPrimaryAlbumType() PrimaryAlbumType { + if o == nil || isNil(o.PrimaryAlbumType) { + var ret PrimaryAlbumType + return ret + } + return *o.PrimaryAlbumType +} + +// GetPrimaryAlbumTypeOk returns a tuple with the PrimaryAlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfilePrimaryAlbumTypeItem) GetPrimaryAlbumTypeOk() (*PrimaryAlbumType, bool) { + if o == nil || isNil(o.PrimaryAlbumType) { + return nil, false + } + return o.PrimaryAlbumType, true +} + +// HasPrimaryAlbumType returns a boolean if a field has been set. +func (o *ProfilePrimaryAlbumTypeItem) HasPrimaryAlbumType() bool { + if o != nil && !isNil(o.PrimaryAlbumType) { + return true + } + + return false +} + +// SetPrimaryAlbumType gets a reference to the given PrimaryAlbumType and assigns it to the PrimaryAlbumType field. +func (o *ProfilePrimaryAlbumTypeItem) SetPrimaryAlbumType(v PrimaryAlbumType) { + o.PrimaryAlbumType = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfilePrimaryAlbumTypeItem) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfilePrimaryAlbumTypeItem) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfilePrimaryAlbumTypeItem) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfilePrimaryAlbumTypeItem) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfilePrimaryAlbumTypeItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.PrimaryAlbumType) { + toSerialize["primaryAlbumType"] = o.PrimaryAlbumType + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfilePrimaryAlbumTypeItem struct { + value *ProfilePrimaryAlbumTypeItem + isSet bool +} + +func (v NullableProfilePrimaryAlbumTypeItem) Get() *ProfilePrimaryAlbumTypeItem { + return v.value +} + +func (v *NullableProfilePrimaryAlbumTypeItem) Set(val *ProfilePrimaryAlbumTypeItem) { + v.value = val + v.isSet = true +} + +func (v NullableProfilePrimaryAlbumTypeItem) IsSet() bool { + return v.isSet +} + +func (v *NullableProfilePrimaryAlbumTypeItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfilePrimaryAlbumTypeItem(val *ProfilePrimaryAlbumTypeItem) *NullableProfilePrimaryAlbumTypeItem { + return &NullableProfilePrimaryAlbumTypeItem{value: val, isSet: true} +} + +func (v NullableProfilePrimaryAlbumTypeItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfilePrimaryAlbumTypeItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_primary_album_type_item_resource.go b/lidarr/model_profile_primary_album_type_item_resource.go new file mode 100644 index 0000000..c08a5b9 --- /dev/null +++ b/lidarr/model_profile_primary_album_type_item_resource.go @@ -0,0 +1,187 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfilePrimaryAlbumTypeItemResource struct for ProfilePrimaryAlbumTypeItemResource +type ProfilePrimaryAlbumTypeItemResource struct { + Id *int32 `json:"id,omitempty"` + AlbumType *PrimaryAlbumType `json:"albumType,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfilePrimaryAlbumTypeItemResource instantiates a new ProfilePrimaryAlbumTypeItemResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfilePrimaryAlbumTypeItemResource() *ProfilePrimaryAlbumTypeItemResource { + this := ProfilePrimaryAlbumTypeItemResource{} + return &this +} + +// NewProfilePrimaryAlbumTypeItemResourceWithDefaults instantiates a new ProfilePrimaryAlbumTypeItemResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfilePrimaryAlbumTypeItemResourceWithDefaults() *ProfilePrimaryAlbumTypeItemResource { + this := ProfilePrimaryAlbumTypeItemResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ProfilePrimaryAlbumTypeItemResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ProfilePrimaryAlbumTypeItemResource) SetId(v int32) { + o.Id = &v +} + +// GetAlbumType returns the AlbumType field value if set, zero value otherwise. +func (o *ProfilePrimaryAlbumTypeItemResource) GetAlbumType() PrimaryAlbumType { + if o == nil || isNil(o.AlbumType) { + var ret PrimaryAlbumType + return ret + } + return *o.AlbumType +} + +// GetAlbumTypeOk returns a tuple with the AlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) GetAlbumTypeOk() (*PrimaryAlbumType, bool) { + if o == nil || isNil(o.AlbumType) { + return nil, false + } + return o.AlbumType, true +} + +// HasAlbumType returns a boolean if a field has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) HasAlbumType() bool { + if o != nil && !isNil(o.AlbumType) { + return true + } + + return false +} + +// SetAlbumType gets a reference to the given PrimaryAlbumType and assigns it to the AlbumType field. +func (o *ProfilePrimaryAlbumTypeItemResource) SetAlbumType(v PrimaryAlbumType) { + o.AlbumType = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfilePrimaryAlbumTypeItemResource) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfilePrimaryAlbumTypeItemResource) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfilePrimaryAlbumTypeItemResource) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfilePrimaryAlbumTypeItemResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AlbumType) { + toSerialize["albumType"] = o.AlbumType + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfilePrimaryAlbumTypeItemResource struct { + value *ProfilePrimaryAlbumTypeItemResource + isSet bool +} + +func (v NullableProfilePrimaryAlbumTypeItemResource) Get() *ProfilePrimaryAlbumTypeItemResource { + return v.value +} + +func (v *NullableProfilePrimaryAlbumTypeItemResource) Set(val *ProfilePrimaryAlbumTypeItemResource) { + v.value = val + v.isSet = true +} + +func (v NullableProfilePrimaryAlbumTypeItemResource) IsSet() bool { + return v.isSet +} + +func (v *NullableProfilePrimaryAlbumTypeItemResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfilePrimaryAlbumTypeItemResource(val *ProfilePrimaryAlbumTypeItemResource) *NullableProfilePrimaryAlbumTypeItemResource { + return &NullableProfilePrimaryAlbumTypeItemResource{value: val, isSet: true} +} + +func (v NullableProfilePrimaryAlbumTypeItemResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfilePrimaryAlbumTypeItemResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_release_status_item.go b/lidarr/model_profile_release_status_item.go new file mode 100644 index 0000000..71fc490 --- /dev/null +++ b/lidarr/model_profile_release_status_item.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfileReleaseStatusItem struct for ProfileReleaseStatusItem +type ProfileReleaseStatusItem struct { + ReleaseStatus *ReleaseStatus `json:"releaseStatus,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfileReleaseStatusItem instantiates a new ProfileReleaseStatusItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfileReleaseStatusItem() *ProfileReleaseStatusItem { + this := ProfileReleaseStatusItem{} + return &this +} + +// NewProfileReleaseStatusItemWithDefaults instantiates a new ProfileReleaseStatusItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfileReleaseStatusItemWithDefaults() *ProfileReleaseStatusItem { + this := ProfileReleaseStatusItem{} + return &this +} + +// GetReleaseStatus returns the ReleaseStatus field value if set, zero value otherwise. +func (o *ProfileReleaseStatusItem) GetReleaseStatus() ReleaseStatus { + if o == nil || isNil(o.ReleaseStatus) { + var ret ReleaseStatus + return ret + } + return *o.ReleaseStatus +} + +// GetReleaseStatusOk returns a tuple with the ReleaseStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileReleaseStatusItem) GetReleaseStatusOk() (*ReleaseStatus, bool) { + if o == nil || isNil(o.ReleaseStatus) { + return nil, false + } + return o.ReleaseStatus, true +} + +// HasReleaseStatus returns a boolean if a field has been set. +func (o *ProfileReleaseStatusItem) HasReleaseStatus() bool { + if o != nil && !isNil(o.ReleaseStatus) { + return true + } + + return false +} + +// SetReleaseStatus gets a reference to the given ReleaseStatus and assigns it to the ReleaseStatus field. +func (o *ProfileReleaseStatusItem) SetReleaseStatus(v ReleaseStatus) { + o.ReleaseStatus = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfileReleaseStatusItem) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileReleaseStatusItem) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfileReleaseStatusItem) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfileReleaseStatusItem) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfileReleaseStatusItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.ReleaseStatus) { + toSerialize["releaseStatus"] = o.ReleaseStatus + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfileReleaseStatusItem struct { + value *ProfileReleaseStatusItem + isSet bool +} + +func (v NullableProfileReleaseStatusItem) Get() *ProfileReleaseStatusItem { + return v.value +} + +func (v *NullableProfileReleaseStatusItem) Set(val *ProfileReleaseStatusItem) { + v.value = val + v.isSet = true +} + +func (v NullableProfileReleaseStatusItem) IsSet() bool { + return v.isSet +} + +func (v *NullableProfileReleaseStatusItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfileReleaseStatusItem(val *ProfileReleaseStatusItem) *NullableProfileReleaseStatusItem { + return &NullableProfileReleaseStatusItem{value: val, isSet: true} +} + +func (v NullableProfileReleaseStatusItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfileReleaseStatusItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_release_status_item_resource.go b/lidarr/model_profile_release_status_item_resource.go new file mode 100644 index 0000000..526c834 --- /dev/null +++ b/lidarr/model_profile_release_status_item_resource.go @@ -0,0 +1,187 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfileReleaseStatusItemResource struct for ProfileReleaseStatusItemResource +type ProfileReleaseStatusItemResource struct { + Id *int32 `json:"id,omitempty"` + ReleaseStatus *ReleaseStatus `json:"releaseStatus,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfileReleaseStatusItemResource instantiates a new ProfileReleaseStatusItemResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfileReleaseStatusItemResource() *ProfileReleaseStatusItemResource { + this := ProfileReleaseStatusItemResource{} + return &this +} + +// NewProfileReleaseStatusItemResourceWithDefaults instantiates a new ProfileReleaseStatusItemResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfileReleaseStatusItemResourceWithDefaults() *ProfileReleaseStatusItemResource { + this := ProfileReleaseStatusItemResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ProfileReleaseStatusItemResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileReleaseStatusItemResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProfileReleaseStatusItemResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ProfileReleaseStatusItemResource) SetId(v int32) { + o.Id = &v +} + +// GetReleaseStatus returns the ReleaseStatus field value if set, zero value otherwise. +func (o *ProfileReleaseStatusItemResource) GetReleaseStatus() ReleaseStatus { + if o == nil || isNil(o.ReleaseStatus) { + var ret ReleaseStatus + return ret + } + return *o.ReleaseStatus +} + +// GetReleaseStatusOk returns a tuple with the ReleaseStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileReleaseStatusItemResource) GetReleaseStatusOk() (*ReleaseStatus, bool) { + if o == nil || isNil(o.ReleaseStatus) { + return nil, false + } + return o.ReleaseStatus, true +} + +// HasReleaseStatus returns a boolean if a field has been set. +func (o *ProfileReleaseStatusItemResource) HasReleaseStatus() bool { + if o != nil && !isNil(o.ReleaseStatus) { + return true + } + + return false +} + +// SetReleaseStatus gets a reference to the given ReleaseStatus and assigns it to the ReleaseStatus field. +func (o *ProfileReleaseStatusItemResource) SetReleaseStatus(v ReleaseStatus) { + o.ReleaseStatus = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfileReleaseStatusItemResource) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileReleaseStatusItemResource) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfileReleaseStatusItemResource) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfileReleaseStatusItemResource) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfileReleaseStatusItemResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ReleaseStatus) { + toSerialize["releaseStatus"] = o.ReleaseStatus + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfileReleaseStatusItemResource struct { + value *ProfileReleaseStatusItemResource + isSet bool +} + +func (v NullableProfileReleaseStatusItemResource) Get() *ProfileReleaseStatusItemResource { + return v.value +} + +func (v *NullableProfileReleaseStatusItemResource) Set(val *ProfileReleaseStatusItemResource) { + v.value = val + v.isSet = true +} + +func (v NullableProfileReleaseStatusItemResource) IsSet() bool { + return v.isSet +} + +func (v *NullableProfileReleaseStatusItemResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfileReleaseStatusItemResource(val *ProfileReleaseStatusItemResource) *NullableProfileReleaseStatusItemResource { + return &NullableProfileReleaseStatusItemResource{value: val, isSet: true} +} + +func (v NullableProfileReleaseStatusItemResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfileReleaseStatusItemResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_secondary_album_type_item.go b/lidarr/model_profile_secondary_album_type_item.go new file mode 100644 index 0000000..97a7174 --- /dev/null +++ b/lidarr/model_profile_secondary_album_type_item.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfileSecondaryAlbumTypeItem struct for ProfileSecondaryAlbumTypeItem +type ProfileSecondaryAlbumTypeItem struct { + SecondaryAlbumType *SecondaryAlbumType `json:"secondaryAlbumType,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfileSecondaryAlbumTypeItem instantiates a new ProfileSecondaryAlbumTypeItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfileSecondaryAlbumTypeItem() *ProfileSecondaryAlbumTypeItem { + this := ProfileSecondaryAlbumTypeItem{} + return &this +} + +// NewProfileSecondaryAlbumTypeItemWithDefaults instantiates a new ProfileSecondaryAlbumTypeItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfileSecondaryAlbumTypeItemWithDefaults() *ProfileSecondaryAlbumTypeItem { + this := ProfileSecondaryAlbumTypeItem{} + return &this +} + +// GetSecondaryAlbumType returns the SecondaryAlbumType field value if set, zero value otherwise. +func (o *ProfileSecondaryAlbumTypeItem) GetSecondaryAlbumType() SecondaryAlbumType { + if o == nil || isNil(o.SecondaryAlbumType) { + var ret SecondaryAlbumType + return ret + } + return *o.SecondaryAlbumType +} + +// GetSecondaryAlbumTypeOk returns a tuple with the SecondaryAlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileSecondaryAlbumTypeItem) GetSecondaryAlbumTypeOk() (*SecondaryAlbumType, bool) { + if o == nil || isNil(o.SecondaryAlbumType) { + return nil, false + } + return o.SecondaryAlbumType, true +} + +// HasSecondaryAlbumType returns a boolean if a field has been set. +func (o *ProfileSecondaryAlbumTypeItem) HasSecondaryAlbumType() bool { + if o != nil && !isNil(o.SecondaryAlbumType) { + return true + } + + return false +} + +// SetSecondaryAlbumType gets a reference to the given SecondaryAlbumType and assigns it to the SecondaryAlbumType field. +func (o *ProfileSecondaryAlbumTypeItem) SetSecondaryAlbumType(v SecondaryAlbumType) { + o.SecondaryAlbumType = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfileSecondaryAlbumTypeItem) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileSecondaryAlbumTypeItem) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfileSecondaryAlbumTypeItem) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfileSecondaryAlbumTypeItem) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfileSecondaryAlbumTypeItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.SecondaryAlbumType) { + toSerialize["secondaryAlbumType"] = o.SecondaryAlbumType + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfileSecondaryAlbumTypeItem struct { + value *ProfileSecondaryAlbumTypeItem + isSet bool +} + +func (v NullableProfileSecondaryAlbumTypeItem) Get() *ProfileSecondaryAlbumTypeItem { + return v.value +} + +func (v *NullableProfileSecondaryAlbumTypeItem) Set(val *ProfileSecondaryAlbumTypeItem) { + v.value = val + v.isSet = true +} + +func (v NullableProfileSecondaryAlbumTypeItem) IsSet() bool { + return v.isSet +} + +func (v *NullableProfileSecondaryAlbumTypeItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfileSecondaryAlbumTypeItem(val *ProfileSecondaryAlbumTypeItem) *NullableProfileSecondaryAlbumTypeItem { + return &NullableProfileSecondaryAlbumTypeItem{value: val, isSet: true} +} + +func (v NullableProfileSecondaryAlbumTypeItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfileSecondaryAlbumTypeItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_profile_secondary_album_type_item_resource.go b/lidarr/model_profile_secondary_album_type_item_resource.go new file mode 100644 index 0000000..39bb74e --- /dev/null +++ b/lidarr/model_profile_secondary_album_type_item_resource.go @@ -0,0 +1,187 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProfileSecondaryAlbumTypeItemResource struct for ProfileSecondaryAlbumTypeItemResource +type ProfileSecondaryAlbumTypeItemResource struct { + Id *int32 `json:"id,omitempty"` + AlbumType *SecondaryAlbumType `json:"albumType,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewProfileSecondaryAlbumTypeItemResource instantiates a new ProfileSecondaryAlbumTypeItemResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProfileSecondaryAlbumTypeItemResource() *ProfileSecondaryAlbumTypeItemResource { + this := ProfileSecondaryAlbumTypeItemResource{} + return &this +} + +// NewProfileSecondaryAlbumTypeItemResourceWithDefaults instantiates a new ProfileSecondaryAlbumTypeItemResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProfileSecondaryAlbumTypeItemResourceWithDefaults() *ProfileSecondaryAlbumTypeItemResource { + this := ProfileSecondaryAlbumTypeItemResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ProfileSecondaryAlbumTypeItemResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ProfileSecondaryAlbumTypeItemResource) SetId(v int32) { + o.Id = &v +} + +// GetAlbumType returns the AlbumType field value if set, zero value otherwise. +func (o *ProfileSecondaryAlbumTypeItemResource) GetAlbumType() SecondaryAlbumType { + if o == nil || isNil(o.AlbumType) { + var ret SecondaryAlbumType + return ret + } + return *o.AlbumType +} + +// GetAlbumTypeOk returns a tuple with the AlbumType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) GetAlbumTypeOk() (*SecondaryAlbumType, bool) { + if o == nil || isNil(o.AlbumType) { + return nil, false + } + return o.AlbumType, true +} + +// HasAlbumType returns a boolean if a field has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) HasAlbumType() bool { + if o != nil && !isNil(o.AlbumType) { + return true + } + + return false +} + +// SetAlbumType gets a reference to the given SecondaryAlbumType and assigns it to the AlbumType field. +func (o *ProfileSecondaryAlbumTypeItemResource) SetAlbumType(v SecondaryAlbumType) { + o.AlbumType = &v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *ProfileSecondaryAlbumTypeItemResource) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *ProfileSecondaryAlbumTypeItemResource) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *ProfileSecondaryAlbumTypeItemResource) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o ProfileSecondaryAlbumTypeItemResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.AlbumType) { + toSerialize["albumType"] = o.AlbumType + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableProfileSecondaryAlbumTypeItemResource struct { + value *ProfileSecondaryAlbumTypeItemResource + isSet bool +} + +func (v NullableProfileSecondaryAlbumTypeItemResource) Get() *ProfileSecondaryAlbumTypeItemResource { + return v.value +} + +func (v *NullableProfileSecondaryAlbumTypeItemResource) Set(val *ProfileSecondaryAlbumTypeItemResource) { + v.value = val + v.isSet = true +} + +func (v NullableProfileSecondaryAlbumTypeItemResource) IsSet() bool { + return v.isSet +} + +func (v *NullableProfileSecondaryAlbumTypeItemResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProfileSecondaryAlbumTypeItemResource(val *ProfileSecondaryAlbumTypeItemResource) *NullableProfileSecondaryAlbumTypeItemResource { + return &NullableProfileSecondaryAlbumTypeItemResource{value: val, isSet: true} +} + +func (v NullableProfileSecondaryAlbumTypeItemResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProfileSecondaryAlbumTypeItemResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_proper_download_types.go b/lidarr/model_proper_download_types.go new file mode 100644 index 0000000..2586d69 --- /dev/null +++ b/lidarr/model_proper_download_types.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ProperDownloadTypes the model 'ProperDownloadTypes' +type ProperDownloadTypes string + +// List of ProperDownloadTypes +const ( + PROPERDOWNLOADTYPES_PREFER_AND_UPGRADE ProperDownloadTypes = "preferAndUpgrade" + PROPERDOWNLOADTYPES_DO_NOT_UPGRADE ProperDownloadTypes = "doNotUpgrade" + PROPERDOWNLOADTYPES_DO_NOT_PREFER ProperDownloadTypes = "doNotPrefer" +) + +// All allowed values of ProperDownloadTypes enum +var AllowedProperDownloadTypesEnumValues = []ProperDownloadTypes{ + "preferAndUpgrade", + "doNotUpgrade", + "doNotPrefer", +} + +func (v *ProperDownloadTypes) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ProperDownloadTypes(value) + for _, existing := range AllowedProperDownloadTypesEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ProperDownloadTypes", value) +} + +// NewProperDownloadTypesFromValue returns a pointer to a valid ProperDownloadTypes +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewProperDownloadTypesFromValue(v string) (*ProperDownloadTypes, error) { + ev := ProperDownloadTypes(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ProperDownloadTypes: valid values are %v", v, AllowedProperDownloadTypesEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ProperDownloadTypes) IsValid() bool { + for _, existing := range AllowedProperDownloadTypesEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ProperDownloadTypes value +func (v ProperDownloadTypes) Ptr() *ProperDownloadTypes { + return &v +} + +type NullableProperDownloadTypes struct { + value *ProperDownloadTypes + isSet bool +} + +func (v NullableProperDownloadTypes) Get() *ProperDownloadTypes { + return v.value +} + +func (v *NullableProperDownloadTypes) Set(val *ProperDownloadTypes) { + v.value = val + v.isSet = true +} + +func (v NullableProperDownloadTypes) IsSet() bool { + return v.isSet +} + +func (v *NullableProperDownloadTypes) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProperDownloadTypes(val *ProperDownloadTypes) *NullableProperDownloadTypes { + return &NullableProperDownloadTypes{value: val, isSet: true} +} + +func (v NullableProperDownloadTypes) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProperDownloadTypes) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_provider_message.go b/lidarr/model_provider_message.go new file mode 100644 index 0000000..a99a7f3 --- /dev/null +++ b/lidarr/model_provider_message.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ProviderMessage struct for ProviderMessage +type ProviderMessage struct { + Message NullableString `json:"message,omitempty"` + Type *ProviderMessageType `json:"type,omitempty"` +} + +// NewProviderMessage instantiates a new ProviderMessage object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewProviderMessage() *ProviderMessage { + this := ProviderMessage{} + return &this +} + +// NewProviderMessageWithDefaults instantiates a new ProviderMessage object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewProviderMessageWithDefaults() *ProviderMessage { + this := ProviderMessage{} + return &this +} + +// GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProviderMessage) GetMessage() string { + if o == nil || isNil(o.Message.Get()) { + var ret string + return ret + } + return *o.Message.Get() +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProviderMessage) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Message.Get(), o.Message.IsSet() +} + +// HasMessage returns a boolean if a field has been set. +func (o *ProviderMessage) HasMessage() bool { + if o != nil && o.Message.IsSet() { + return true + } + + return false +} + +// SetMessage gets a reference to the given NullableString and assigns it to the Message field. +func (o *ProviderMessage) SetMessage(v string) { + o.Message.Set(&v) +} +// SetMessageNil sets the value for Message to be an explicit nil +func (o *ProviderMessage) SetMessageNil() { + o.Message.Set(nil) +} + +// UnsetMessage ensures that no value is present for Message, not even an explicit nil +func (o *ProviderMessage) UnsetMessage() { + o.Message.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *ProviderMessage) GetType() ProviderMessageType { + if o == nil || isNil(o.Type) { + var ret ProviderMessageType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ProviderMessage) GetTypeOk() (*ProviderMessageType, bool) { + if o == nil || isNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *ProviderMessage) HasType() bool { + if o != nil && !isNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given ProviderMessageType and assigns it to the Type field. +func (o *ProviderMessage) SetType(v ProviderMessageType) { + o.Type = &v +} + +func (o ProviderMessage) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Message.IsSet() { + toSerialize["message"] = o.Message.Get() + } + if !isNil(o.Type) { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableProviderMessage struct { + value *ProviderMessage + isSet bool +} + +func (v NullableProviderMessage) Get() *ProviderMessage { + return v.value +} + +func (v *NullableProviderMessage) Set(val *ProviderMessage) { + v.value = val + v.isSet = true +} + +func (v NullableProviderMessage) IsSet() bool { + return v.isSet +} + +func (v *NullableProviderMessage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProviderMessage(val *ProviderMessage) *NullableProviderMessage { + return &NullableProviderMessage{value: val, isSet: true} +} + +func (v NullableProviderMessage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProviderMessage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_provider_message_type.go b/lidarr/model_provider_message_type.go new file mode 100644 index 0000000..f2ecf42 --- /dev/null +++ b/lidarr/model_provider_message_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ProviderMessageType the model 'ProviderMessageType' +type ProviderMessageType string + +// List of ProviderMessageType +const ( + PROVIDERMESSAGETYPE_INFO ProviderMessageType = "info" + PROVIDERMESSAGETYPE_WARNING ProviderMessageType = "warning" + PROVIDERMESSAGETYPE_ERROR ProviderMessageType = "error" +) + +// All allowed values of ProviderMessageType enum +var AllowedProviderMessageTypeEnumValues = []ProviderMessageType{ + "info", + "warning", + "error", +} + +func (v *ProviderMessageType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ProviderMessageType(value) + for _, existing := range AllowedProviderMessageTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ProviderMessageType", value) +} + +// NewProviderMessageTypeFromValue returns a pointer to a valid ProviderMessageType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewProviderMessageTypeFromValue(v string) (*ProviderMessageType, error) { + ev := ProviderMessageType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ProviderMessageType: valid values are %v", v, AllowedProviderMessageTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ProviderMessageType) IsValid() bool { + for _, existing := range AllowedProviderMessageTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ProviderMessageType value +func (v ProviderMessageType) Ptr() *ProviderMessageType { + return &v +} + +type NullableProviderMessageType struct { + value *ProviderMessageType + isSet bool +} + +func (v NullableProviderMessageType) Get() *ProviderMessageType { + return v.value +} + +func (v *NullableProviderMessageType) Set(val *ProviderMessageType) { + v.value = val + v.isSet = true +} + +func (v NullableProviderMessageType) IsSet() bool { + return v.isSet +} + +func (v *NullableProviderMessageType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProviderMessageType(val *ProviderMessageType) *NullableProviderMessageType { + return &NullableProviderMessageType{value: val, isSet: true} +} + +func (v NullableProviderMessageType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProviderMessageType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_proxy_type.go b/lidarr/model_proxy_type.go new file mode 100644 index 0000000..0287335 --- /dev/null +++ b/lidarr/model_proxy_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// ProxyType the model 'ProxyType' +type ProxyType string + +// List of ProxyType +const ( + PROXYTYPE_HTTP ProxyType = "http" + PROXYTYPE_SOCKS4 ProxyType = "socks4" + PROXYTYPE_SOCKS5 ProxyType = "socks5" +) + +// All allowed values of ProxyType enum +var AllowedProxyTypeEnumValues = []ProxyType{ + "http", + "socks4", + "socks5", +} + +func (v *ProxyType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := ProxyType(value) + for _, existing := range AllowedProxyTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid ProxyType", value) +} + +// NewProxyTypeFromValue returns a pointer to a valid ProxyType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewProxyTypeFromValue(v string) (*ProxyType, error) { + ev := ProxyType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for ProxyType: valid values are %v", v, AllowedProxyTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v ProxyType) IsValid() bool { + for _, existing := range AllowedProxyTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to ProxyType value +func (v ProxyType) Ptr() *ProxyType { + return &v +} + +type NullableProxyType struct { + value *ProxyType + isSet bool +} + +func (v NullableProxyType) Get() *ProxyType { + return v.value +} + +func (v *NullableProxyType) Set(val *ProxyType) { + v.value = val + v.isSet = true +} + +func (v NullableProxyType) IsSet() bool { + return v.isSet +} + +func (v *NullableProxyType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableProxyType(val *ProxyType) *NullableProxyType { + return &NullableProxyType{value: val, isSet: true} +} + +func (v NullableProxyType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableProxyType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_quality.go b/lidarr/model_quality.go new file mode 100644 index 0000000..2b5ec0f --- /dev/null +++ b/lidarr/model_quality.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Quality struct for Quality +type Quality struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewQuality instantiates a new Quality object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQuality() *Quality { + this := Quality{} + return &this +} + +// NewQualityWithDefaults instantiates a new Quality object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityWithDefaults() *Quality { + this := Quality{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *Quality) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Quality) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Quality) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *Quality) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Quality) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Quality) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *Quality) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *Quality) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *Quality) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *Quality) UnsetName() { + o.Name.Unset() +} + +func (o Quality) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullableQuality struct { + value *Quality + isSet bool +} + +func (v NullableQuality) Get() *Quality { + return v.value +} + +func (v *NullableQuality) Set(val *Quality) { + v.value = val + v.isSet = true +} + +func (v NullableQuality) IsSet() bool { + return v.isSet +} + +func (v *NullableQuality) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuality(val *Quality) *NullableQuality { + return &NullableQuality{value: val, isSet: true} +} + +func (v NullableQuality) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuality) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_definition_resource.go b/lidarr/model_quality_definition_resource.go new file mode 100644 index 0000000..dcdac2c --- /dev/null +++ b/lidarr/model_quality_definition_resource.go @@ -0,0 +1,325 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityDefinitionResource struct for QualityDefinitionResource +type QualityDefinitionResource struct { + Id *int32 `json:"id,omitempty"` + Quality *Quality `json:"quality,omitempty"` + Title NullableString `json:"title,omitempty"` + Weight *int32 `json:"weight,omitempty"` + MinSize NullableFloat64 `json:"minSize,omitempty"` + MaxSize NullableFloat64 `json:"maxSize,omitempty"` +} + +// NewQualityDefinitionResource instantiates a new QualityDefinitionResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityDefinitionResource() *QualityDefinitionResource { + this := QualityDefinitionResource{} + return &this +} + +// NewQualityDefinitionResourceWithDefaults instantiates a new QualityDefinitionResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityDefinitionResourceWithDefaults() *QualityDefinitionResource { + this := QualityDefinitionResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QualityDefinitionResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityDefinitionResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QualityDefinitionResource) SetId(v int32) { + o.Id = &v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *QualityDefinitionResource) GetQuality() Quality { + if o == nil || isNil(o.Quality) { + var ret Quality + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityDefinitionResource) GetQualityOk() (*Quality, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given Quality and assigns it to the Quality field. +func (o *QualityDefinitionResource) SetQuality(v Quality) { + o.Quality = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityDefinitionResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityDefinitionResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *QualityDefinitionResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *QualityDefinitionResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *QualityDefinitionResource) UnsetTitle() { + o.Title.Unset() +} + +// GetWeight returns the Weight field value if set, zero value otherwise. +func (o *QualityDefinitionResource) GetWeight() int32 { + if o == nil || isNil(o.Weight) { + var ret int32 + return ret + } + return *o.Weight +} + +// GetWeightOk returns a tuple with the Weight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityDefinitionResource) GetWeightOk() (*int32, bool) { + if o == nil || isNil(o.Weight) { + return nil, false + } + return o.Weight, true +} + +// HasWeight returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasWeight() bool { + if o != nil && !isNil(o.Weight) { + return true + } + + return false +} + +// SetWeight gets a reference to the given int32 and assigns it to the Weight field. +func (o *QualityDefinitionResource) SetWeight(v int32) { + o.Weight = &v +} + +// GetMinSize returns the MinSize field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityDefinitionResource) GetMinSize() float64 { + if o == nil || isNil(o.MinSize.Get()) { + var ret float64 + return ret + } + return *o.MinSize.Get() +} + +// GetMinSizeOk returns a tuple with the MinSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityDefinitionResource) GetMinSizeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.MinSize.Get(), o.MinSize.IsSet() +} + +// HasMinSize returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasMinSize() bool { + if o != nil && o.MinSize.IsSet() { + return true + } + + return false +} + +// SetMinSize gets a reference to the given NullableFloat64 and assigns it to the MinSize field. +func (o *QualityDefinitionResource) SetMinSize(v float64) { + o.MinSize.Set(&v) +} +// SetMinSizeNil sets the value for MinSize to be an explicit nil +func (o *QualityDefinitionResource) SetMinSizeNil() { + o.MinSize.Set(nil) +} + +// UnsetMinSize ensures that no value is present for MinSize, not even an explicit nil +func (o *QualityDefinitionResource) UnsetMinSize() { + o.MinSize.Unset() +} + +// GetMaxSize returns the MaxSize field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityDefinitionResource) GetMaxSize() float64 { + if o == nil || isNil(o.MaxSize.Get()) { + var ret float64 + return ret + } + return *o.MaxSize.Get() +} + +// GetMaxSizeOk returns a tuple with the MaxSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityDefinitionResource) GetMaxSizeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.MaxSize.Get(), o.MaxSize.IsSet() +} + +// HasMaxSize returns a boolean if a field has been set. +func (o *QualityDefinitionResource) HasMaxSize() bool { + if o != nil && o.MaxSize.IsSet() { + return true + } + + return false +} + +// SetMaxSize gets a reference to the given NullableFloat64 and assigns it to the MaxSize field. +func (o *QualityDefinitionResource) SetMaxSize(v float64) { + o.MaxSize.Set(&v) +} +// SetMaxSizeNil sets the value for MaxSize to be an explicit nil +func (o *QualityDefinitionResource) SetMaxSizeNil() { + o.MaxSize.Set(nil) +} + +// UnsetMaxSize ensures that no value is present for MaxSize, not even an explicit nil +func (o *QualityDefinitionResource) UnsetMaxSize() { + o.MaxSize.Unset() +} + +func (o QualityDefinitionResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.Weight) { + toSerialize["weight"] = o.Weight + } + if o.MinSize.IsSet() { + toSerialize["minSize"] = o.MinSize.Get() + } + if o.MaxSize.IsSet() { + toSerialize["maxSize"] = o.MaxSize.Get() + } + return json.Marshal(toSerialize) +} + +type NullableQualityDefinitionResource struct { + value *QualityDefinitionResource + isSet bool +} + +func (v NullableQualityDefinitionResource) Get() *QualityDefinitionResource { + return v.value +} + +func (v *NullableQualityDefinitionResource) Set(val *QualityDefinitionResource) { + v.value = val + v.isSet = true +} + +func (v NullableQualityDefinitionResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityDefinitionResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityDefinitionResource(val *QualityDefinitionResource) *NullableQualityDefinitionResource { + return &NullableQualityDefinitionResource{value: val, isSet: true} +} + +func (v NullableQualityDefinitionResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityDefinitionResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_model.go b/lidarr/model_quality_model.go new file mode 100644 index 0000000..00a68d5 --- /dev/null +++ b/lidarr/model_quality_model.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityModel struct for QualityModel +type QualityModel struct { + Quality *Quality `json:"quality,omitempty"` + Revision *Revision `json:"revision,omitempty"` +} + +// NewQualityModel instantiates a new QualityModel object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityModel() *QualityModel { + this := QualityModel{} + return &this +} + +// NewQualityModelWithDefaults instantiates a new QualityModel object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityModelWithDefaults() *QualityModel { + this := QualityModel{} + return &this +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *QualityModel) GetQuality() Quality { + if o == nil || isNil(o.Quality) { + var ret Quality + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityModel) GetQualityOk() (*Quality, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *QualityModel) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given Quality and assigns it to the Quality field. +func (o *QualityModel) SetQuality(v Quality) { + o.Quality = &v +} + +// GetRevision returns the Revision field value if set, zero value otherwise. +func (o *QualityModel) GetRevision() Revision { + if o == nil || isNil(o.Revision) { + var ret Revision + return ret + } + return *o.Revision +} + +// GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityModel) GetRevisionOk() (*Revision, bool) { + if o == nil || isNil(o.Revision) { + return nil, false + } + return o.Revision, true +} + +// HasRevision returns a boolean if a field has been set. +func (o *QualityModel) HasRevision() bool { + if o != nil && !isNil(o.Revision) { + return true + } + + return false +} + +// SetRevision gets a reference to the given Revision and assigns it to the Revision field. +func (o *QualityModel) SetRevision(v Revision) { + o.Revision = &v +} + +func (o QualityModel) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.Revision) { + toSerialize["revision"] = o.Revision + } + return json.Marshal(toSerialize) +} + +type NullableQualityModel struct { + value *QualityModel + isSet bool +} + +func (v NullableQualityModel) Get() *QualityModel { + return v.value +} + +func (v *NullableQualityModel) Set(val *QualityModel) { + v.value = val + v.isSet = true +} + +func (v NullableQualityModel) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityModel) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityModel(val *QualityModel) *NullableQualityModel { + return &NullableQualityModel{value: val, isSet: true} +} + +func (v NullableQualityModel) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityModel) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_profile.go b/lidarr/model_quality_profile.go new file mode 100644 index 0000000..902021f --- /dev/null +++ b/lidarr/model_quality_profile.go @@ -0,0 +1,270 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityProfile struct for QualityProfile +type QualityProfile struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + UpgradeAllowed *bool `json:"upgradeAllowed,omitempty"` + Cutoff *int32 `json:"cutoff,omitempty"` + Items []*QualityProfileQualityItem `json:"items,omitempty"` +} + +// NewQualityProfile instantiates a new QualityProfile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityProfile() *QualityProfile { + this := QualityProfile{} + return &this +} + +// NewQualityProfileWithDefaults instantiates a new QualityProfile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityProfileWithDefaults() *QualityProfile { + this := QualityProfile{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QualityProfile) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfile) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QualityProfile) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QualityProfile) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfile) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfile) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *QualityProfile) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *QualityProfile) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *QualityProfile) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *QualityProfile) UnsetName() { + o.Name.Unset() +} + +// GetUpgradeAllowed returns the UpgradeAllowed field value if set, zero value otherwise. +func (o *QualityProfile) GetUpgradeAllowed() bool { + if o == nil || isNil(o.UpgradeAllowed) { + var ret bool + return ret + } + return *o.UpgradeAllowed +} + +// GetUpgradeAllowedOk returns a tuple with the UpgradeAllowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfile) GetUpgradeAllowedOk() (*bool, bool) { + if o == nil || isNil(o.UpgradeAllowed) { + return nil, false + } + return o.UpgradeAllowed, true +} + +// HasUpgradeAllowed returns a boolean if a field has been set. +func (o *QualityProfile) HasUpgradeAllowed() bool { + if o != nil && !isNil(o.UpgradeAllowed) { + return true + } + + return false +} + +// SetUpgradeAllowed gets a reference to the given bool and assigns it to the UpgradeAllowed field. +func (o *QualityProfile) SetUpgradeAllowed(v bool) { + o.UpgradeAllowed = &v +} + +// GetCutoff returns the Cutoff field value if set, zero value otherwise. +func (o *QualityProfile) GetCutoff() int32 { + if o == nil || isNil(o.Cutoff) { + var ret int32 + return ret + } + return *o.Cutoff +} + +// GetCutoffOk returns a tuple with the Cutoff field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfile) GetCutoffOk() (*int32, bool) { + if o == nil || isNil(o.Cutoff) { + return nil, false + } + return o.Cutoff, true +} + +// HasCutoff returns a boolean if a field has been set. +func (o *QualityProfile) HasCutoff() bool { + if o != nil && !isNil(o.Cutoff) { + return true + } + + return false +} + +// SetCutoff gets a reference to the given int32 and assigns it to the Cutoff field. +func (o *QualityProfile) SetCutoff(v int32) { + o.Cutoff = &v +} + +// GetItems returns the Items field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfile) GetItems() []*QualityProfileQualityItem { + if o == nil { + var ret []*QualityProfileQualityItem + return ret + } + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfile) GetItemsOk() ([]*QualityProfileQualityItem, bool) { + if o == nil || isNil(o.Items) { + return nil, false + } + return o.Items, true +} + +// HasItems returns a boolean if a field has been set. +func (o *QualityProfile) HasItems() bool { + if o != nil && isNil(o.Items) { + return true + } + + return false +} + +// SetItems gets a reference to the given []QualityProfileQualityItem and assigns it to the Items field. +func (o *QualityProfile) SetItems(v []*QualityProfileQualityItem) { + o.Items = v +} + +func (o QualityProfile) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.UpgradeAllowed) { + toSerialize["upgradeAllowed"] = o.UpgradeAllowed + } + if !isNil(o.Cutoff) { + toSerialize["cutoff"] = o.Cutoff + } + if o.Items != nil { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableQualityProfile struct { + value *QualityProfile + isSet bool +} + +func (v NullableQualityProfile) Get() *QualityProfile { + return v.value +} + +func (v *NullableQualityProfile) Set(val *QualityProfile) { + v.value = val + v.isSet = true +} + +func (v NullableQualityProfile) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityProfile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityProfile(val *QualityProfile) *NullableQualityProfile { + return &NullableQualityProfile{value: val, isSet: true} +} + +func (v NullableQualityProfile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityProfile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_profile_lazy_loaded.go b/lidarr/model_quality_profile_lazy_loaded.go new file mode 100644 index 0000000..1687c96 --- /dev/null +++ b/lidarr/model_quality_profile_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityProfileLazyLoaded struct for QualityProfileLazyLoaded +type QualityProfileLazyLoaded struct { + Value *QualityProfile `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewQualityProfileLazyLoaded instantiates a new QualityProfileLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityProfileLazyLoaded() *QualityProfileLazyLoaded { + this := QualityProfileLazyLoaded{} + return &this +} + +// NewQualityProfileLazyLoadedWithDefaults instantiates a new QualityProfileLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityProfileLazyLoadedWithDefaults() *QualityProfileLazyLoaded { + this := QualityProfileLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *QualityProfileLazyLoaded) GetValue() QualityProfile { + if o == nil || isNil(o.Value) { + var ret QualityProfile + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileLazyLoaded) GetValueOk() (*QualityProfile, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *QualityProfileLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given QualityProfile and assigns it to the Value field. +func (o *QualityProfileLazyLoaded) SetValue(v QualityProfile) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *QualityProfileLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *QualityProfileLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *QualityProfileLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o QualityProfileLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableQualityProfileLazyLoaded struct { + value *QualityProfileLazyLoaded + isSet bool +} + +func (v NullableQualityProfileLazyLoaded) Get() *QualityProfileLazyLoaded { + return v.value +} + +func (v *NullableQualityProfileLazyLoaded) Set(val *QualityProfileLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableQualityProfileLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityProfileLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityProfileLazyLoaded(val *QualityProfileLazyLoaded) *NullableQualityProfileLazyLoaded { + return &NullableQualityProfileLazyLoaded{value: val, isSet: true} +} + +func (v NullableQualityProfileLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityProfileLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_profile_quality_item.go b/lidarr/model_quality_profile_quality_item.go new file mode 100644 index 0000000..44fe1a3 --- /dev/null +++ b/lidarr/model_quality_profile_quality_item.go @@ -0,0 +1,270 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityProfileQualityItem struct for QualityProfileQualityItem +type QualityProfileQualityItem struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Quality *Quality `json:"quality,omitempty"` + Items []*QualityProfileQualityItem `json:"items,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewQualityProfileQualityItem instantiates a new QualityProfileQualityItem object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityProfileQualityItem() *QualityProfileQualityItem { + this := QualityProfileQualityItem{} + return &this +} + +// NewQualityProfileQualityItemWithDefaults instantiates a new QualityProfileQualityItem object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityProfileQualityItemWithDefaults() *QualityProfileQualityItem { + this := QualityProfileQualityItem{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QualityProfileQualityItem) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItem) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QualityProfileQualityItem) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QualityProfileQualityItem) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileQualityItem) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileQualityItem) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *QualityProfileQualityItem) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *QualityProfileQualityItem) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *QualityProfileQualityItem) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *QualityProfileQualityItem) UnsetName() { + o.Name.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *QualityProfileQualityItem) GetQuality() Quality { + if o == nil || isNil(o.Quality) { + var ret Quality + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItem) GetQualityOk() (*Quality, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *QualityProfileQualityItem) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given Quality and assigns it to the Quality field. +func (o *QualityProfileQualityItem) SetQuality(v Quality) { + o.Quality = &v +} + +// GetItems returns the Items field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileQualityItem) GetItems() []*QualityProfileQualityItem { + if o == nil { + var ret []*QualityProfileQualityItem + return ret + } + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileQualityItem) GetItemsOk() ([]*QualityProfileQualityItem, bool) { + if o == nil || isNil(o.Items) { + return nil, false + } + return o.Items, true +} + +// HasItems returns a boolean if a field has been set. +func (o *QualityProfileQualityItem) HasItems() bool { + if o != nil && isNil(o.Items) { + return true + } + + return false +} + +// SetItems gets a reference to the given []QualityProfileQualityItem and assigns it to the Items field. +func (o *QualityProfileQualityItem) SetItems(v []*QualityProfileQualityItem) { + o.Items = v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *QualityProfileQualityItem) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItem) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *QualityProfileQualityItem) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *QualityProfileQualityItem) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o QualityProfileQualityItem) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if o.Items != nil { + toSerialize["items"] = o.Items + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableQualityProfileQualityItem struct { + value *QualityProfileQualityItem + isSet bool +} + +func (v NullableQualityProfileQualityItem) Get() *QualityProfileQualityItem { + return v.value +} + +func (v *NullableQualityProfileQualityItem) Set(val *QualityProfileQualityItem) { + v.value = val + v.isSet = true +} + +func (v NullableQualityProfileQualityItem) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityProfileQualityItem) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityProfileQualityItem(val *QualityProfileQualityItem) *NullableQualityProfileQualityItem { + return &NullableQualityProfileQualityItem{value: val, isSet: true} +} + +func (v NullableQualityProfileQualityItem) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityProfileQualityItem) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_profile_quality_item_resource.go b/lidarr/model_quality_profile_quality_item_resource.go new file mode 100644 index 0000000..33cdc5a --- /dev/null +++ b/lidarr/model_quality_profile_quality_item_resource.go @@ -0,0 +1,270 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityProfileQualityItemResource struct for QualityProfileQualityItemResource +type QualityProfileQualityItemResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Quality *Quality `json:"quality,omitempty"` + Items []*QualityProfileQualityItemResource `json:"items,omitempty"` + Allowed *bool `json:"allowed,omitempty"` +} + +// NewQualityProfileQualityItemResource instantiates a new QualityProfileQualityItemResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityProfileQualityItemResource() *QualityProfileQualityItemResource { + this := QualityProfileQualityItemResource{} + return &this +} + +// NewQualityProfileQualityItemResourceWithDefaults instantiates a new QualityProfileQualityItemResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityProfileQualityItemResourceWithDefaults() *QualityProfileQualityItemResource { + this := QualityProfileQualityItemResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QualityProfileQualityItemResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItemResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QualityProfileQualityItemResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QualityProfileQualityItemResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileQualityItemResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileQualityItemResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *QualityProfileQualityItemResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *QualityProfileQualityItemResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *QualityProfileQualityItemResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *QualityProfileQualityItemResource) UnsetName() { + o.Name.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *QualityProfileQualityItemResource) GetQuality() Quality { + if o == nil || isNil(o.Quality) { + var ret Quality + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItemResource) GetQualityOk() (*Quality, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *QualityProfileQualityItemResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given Quality and assigns it to the Quality field. +func (o *QualityProfileQualityItemResource) SetQuality(v Quality) { + o.Quality = &v +} + +// GetItems returns the Items field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileQualityItemResource) GetItems() []*QualityProfileQualityItemResource { + if o == nil { + var ret []*QualityProfileQualityItemResource + return ret + } + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileQualityItemResource) GetItemsOk() ([]*QualityProfileQualityItemResource, bool) { + if o == nil || isNil(o.Items) { + return nil, false + } + return o.Items, true +} + +// HasItems returns a boolean if a field has been set. +func (o *QualityProfileQualityItemResource) HasItems() bool { + if o != nil && isNil(o.Items) { + return true + } + + return false +} + +// SetItems gets a reference to the given []QualityProfileQualityItemResource and assigns it to the Items field. +func (o *QualityProfileQualityItemResource) SetItems(v []*QualityProfileQualityItemResource) { + o.Items = v +} + +// GetAllowed returns the Allowed field value if set, zero value otherwise. +func (o *QualityProfileQualityItemResource) GetAllowed() bool { + if o == nil || isNil(o.Allowed) { + var ret bool + return ret + } + return *o.Allowed +} + +// GetAllowedOk returns a tuple with the Allowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileQualityItemResource) GetAllowedOk() (*bool, bool) { + if o == nil || isNil(o.Allowed) { + return nil, false + } + return o.Allowed, true +} + +// HasAllowed returns a boolean if a field has been set. +func (o *QualityProfileQualityItemResource) HasAllowed() bool { + if o != nil && !isNil(o.Allowed) { + return true + } + + return false +} + +// SetAllowed gets a reference to the given bool and assigns it to the Allowed field. +func (o *QualityProfileQualityItemResource) SetAllowed(v bool) { + o.Allowed = &v +} + +func (o QualityProfileQualityItemResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if o.Items != nil { + toSerialize["items"] = o.Items + } + if !isNil(o.Allowed) { + toSerialize["allowed"] = o.Allowed + } + return json.Marshal(toSerialize) +} + +type NullableQualityProfileQualityItemResource struct { + value *QualityProfileQualityItemResource + isSet bool +} + +func (v NullableQualityProfileQualityItemResource) Get() *QualityProfileQualityItemResource { + return v.value +} + +func (v *NullableQualityProfileQualityItemResource) Set(val *QualityProfileQualityItemResource) { + v.value = val + v.isSet = true +} + +func (v NullableQualityProfileQualityItemResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityProfileQualityItemResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityProfileQualityItemResource(val *QualityProfileQualityItemResource) *NullableQualityProfileQualityItemResource { + return &NullableQualityProfileQualityItemResource{value: val, isSet: true} +} + +func (v NullableQualityProfileQualityItemResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityProfileQualityItemResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_quality_profile_resource.go b/lidarr/model_quality_profile_resource.go new file mode 100644 index 0000000..0f7883e --- /dev/null +++ b/lidarr/model_quality_profile_resource.go @@ -0,0 +1,270 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QualityProfileResource struct for QualityProfileResource +type QualityProfileResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + UpgradeAllowed *bool `json:"upgradeAllowed,omitempty"` + Cutoff *int32 `json:"cutoff,omitempty"` + Items []*QualityProfileQualityItemResource `json:"items,omitempty"` +} + +// NewQualityProfileResource instantiates a new QualityProfileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQualityProfileResource() *QualityProfileResource { + this := QualityProfileResource{} + return &this +} + +// NewQualityProfileResourceWithDefaults instantiates a new QualityProfileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQualityProfileResourceWithDefaults() *QualityProfileResource { + this := QualityProfileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QualityProfileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QualityProfileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QualityProfileResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *QualityProfileResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *QualityProfileResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *QualityProfileResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *QualityProfileResource) UnsetName() { + o.Name.Unset() +} + +// GetUpgradeAllowed returns the UpgradeAllowed field value if set, zero value otherwise. +func (o *QualityProfileResource) GetUpgradeAllowed() bool { + if o == nil || isNil(o.UpgradeAllowed) { + var ret bool + return ret + } + return *o.UpgradeAllowed +} + +// GetUpgradeAllowedOk returns a tuple with the UpgradeAllowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileResource) GetUpgradeAllowedOk() (*bool, bool) { + if o == nil || isNil(o.UpgradeAllowed) { + return nil, false + } + return o.UpgradeAllowed, true +} + +// HasUpgradeAllowed returns a boolean if a field has been set. +func (o *QualityProfileResource) HasUpgradeAllowed() bool { + if o != nil && !isNil(o.UpgradeAllowed) { + return true + } + + return false +} + +// SetUpgradeAllowed gets a reference to the given bool and assigns it to the UpgradeAllowed field. +func (o *QualityProfileResource) SetUpgradeAllowed(v bool) { + o.UpgradeAllowed = &v +} + +// GetCutoff returns the Cutoff field value if set, zero value otherwise. +func (o *QualityProfileResource) GetCutoff() int32 { + if o == nil || isNil(o.Cutoff) { + var ret int32 + return ret + } + return *o.Cutoff +} + +// GetCutoffOk returns a tuple with the Cutoff field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QualityProfileResource) GetCutoffOk() (*int32, bool) { + if o == nil || isNil(o.Cutoff) { + return nil, false + } + return o.Cutoff, true +} + +// HasCutoff returns a boolean if a field has been set. +func (o *QualityProfileResource) HasCutoff() bool { + if o != nil && !isNil(o.Cutoff) { + return true + } + + return false +} + +// SetCutoff gets a reference to the given int32 and assigns it to the Cutoff field. +func (o *QualityProfileResource) SetCutoff(v int32) { + o.Cutoff = &v +} + +// GetItems returns the Items field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QualityProfileResource) GetItems() []*QualityProfileQualityItemResource { + if o == nil { + var ret []*QualityProfileQualityItemResource + return ret + } + return o.Items +} + +// GetItemsOk returns a tuple with the Items field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QualityProfileResource) GetItemsOk() ([]*QualityProfileQualityItemResource, bool) { + if o == nil || isNil(o.Items) { + return nil, false + } + return o.Items, true +} + +// HasItems returns a boolean if a field has been set. +func (o *QualityProfileResource) HasItems() bool { + if o != nil && isNil(o.Items) { + return true + } + + return false +} + +// SetItems gets a reference to the given []QualityProfileQualityItemResource and assigns it to the Items field. +func (o *QualityProfileResource) SetItems(v []*QualityProfileQualityItemResource) { + o.Items = v +} + +func (o QualityProfileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.UpgradeAllowed) { + toSerialize["upgradeAllowed"] = o.UpgradeAllowed + } + if !isNil(o.Cutoff) { + toSerialize["cutoff"] = o.Cutoff + } + if o.Items != nil { + toSerialize["items"] = o.Items + } + return json.Marshal(toSerialize) +} + +type NullableQualityProfileResource struct { + value *QualityProfileResource + isSet bool +} + +func (v NullableQualityProfileResource) Get() *QualityProfileResource { + return v.value +} + +func (v *NullableQualityProfileResource) Set(val *QualityProfileResource) { + v.value = val + v.isSet = true +} + +func (v NullableQualityProfileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQualityProfileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQualityProfileResource(val *QualityProfileResource) *NullableQualityProfileResource { + return &NullableQualityProfileResource{value: val, isSet: true} +} + +func (v NullableQualityProfileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQualityProfileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_queue_bulk_resource.go b/lidarr/model_queue_bulk_resource.go new file mode 100644 index 0000000..dfa397b --- /dev/null +++ b/lidarr/model_queue_bulk_resource.go @@ -0,0 +1,116 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QueueBulkResource struct for QueueBulkResource +type QueueBulkResource struct { + Ids []*int32 `json:"ids,omitempty"` +} + +// NewQueueBulkResource instantiates a new QueueBulkResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueueBulkResource() *QueueBulkResource { + this := QueueBulkResource{} + return &this +} + +// NewQueueBulkResourceWithDefaults instantiates a new QueueBulkResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueueBulkResourceWithDefaults() *QueueBulkResource { + this := QueueBulkResource{} + return &this +} + +// GetIds returns the Ids field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueBulkResource) GetIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Ids +} + +// GetIdsOk returns a tuple with the Ids field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueBulkResource) GetIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.Ids) { + return nil, false + } + return o.Ids, true +} + +// HasIds returns a boolean if a field has been set. +func (o *QueueBulkResource) HasIds() bool { + if o != nil && isNil(o.Ids) { + return true + } + + return false +} + +// SetIds gets a reference to the given []int32 and assigns it to the Ids field. +func (o *QueueBulkResource) SetIds(v []*int32) { + o.Ids = v +} + +func (o QueueBulkResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Ids != nil { + toSerialize["ids"] = o.Ids + } + return json.Marshal(toSerialize) +} + +type NullableQueueBulkResource struct { + value *QueueBulkResource + isSet bool +} + +func (v NullableQueueBulkResource) Get() *QueueBulkResource { + return v.value +} + +func (v *NullableQueueBulkResource) Set(val *QueueBulkResource) { + v.value = val + v.isSet = true +} + +func (v NullableQueueBulkResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQueueBulkResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueueBulkResource(val *QueueBulkResource) *NullableQueueBulkResource { + return &NullableQueueBulkResource{value: val, isSet: true} +} + +func (v NullableQueueBulkResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueueBulkResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_queue_resource.go b/lidarr/model_queue_resource.go new file mode 100644 index 0000000..591f8c6 --- /dev/null +++ b/lidarr/model_queue_resource.go @@ -0,0 +1,973 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// QueueResource struct for QueueResource +type QueueResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId NullableInt32 `json:"artistId,omitempty"` + AlbumId NullableInt32 `json:"albumId,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Album *AlbumResource `json:"album,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + Size *float64 `json:"size,omitempty"` + Title NullableString `json:"title,omitempty"` + Sizeleft *float64 `json:"sizeleft,omitempty"` + Timeleft *TimeSpan `json:"timeleft,omitempty"` + EstimatedCompletionTime NullableTime `json:"estimatedCompletionTime,omitempty"` + Status NullableString `json:"status,omitempty"` + TrackedDownloadStatus *TrackedDownloadStatus `json:"trackedDownloadStatus,omitempty"` + TrackedDownloadState *TrackedDownloadState `json:"trackedDownloadState,omitempty"` + StatusMessages []*TrackedDownloadStatusMessage `json:"statusMessages,omitempty"` + ErrorMessage NullableString `json:"errorMessage,omitempty"` + DownloadId NullableString `json:"downloadId,omitempty"` + Protocol *DownloadProtocol `json:"protocol,omitempty"` + DownloadClient NullableString `json:"downloadClient,omitempty"` + Indexer NullableString `json:"indexer,omitempty"` + OutputPath NullableString `json:"outputPath,omitempty"` + DownloadForced *bool `json:"downloadForced,omitempty"` +} + +// NewQueueResource instantiates a new QueueResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueueResource() *QueueResource { + this := QueueResource{} + return &this +} + +// NewQueueResourceWithDefaults instantiates a new QueueResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueueResourceWithDefaults() *QueueResource { + this := QueueResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QueueResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QueueResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QueueResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId.Get()) { + var ret int32 + return ret + } + return *o.ArtistId.Get() +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetArtistIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ArtistId.Get(), o.ArtistId.IsSet() +} + +// HasArtistId returns a boolean if a field has been set. +func (o *QueueResource) HasArtistId() bool { + if o != nil && o.ArtistId.IsSet() { + return true + } + + return false +} + +// SetArtistId gets a reference to the given NullableInt32 and assigns it to the ArtistId field. +func (o *QueueResource) SetArtistId(v int32) { + o.ArtistId.Set(&v) +} +// SetArtistIdNil sets the value for ArtistId to be an explicit nil +func (o *QueueResource) SetArtistIdNil() { + o.ArtistId.Set(nil) +} + +// UnsetArtistId ensures that no value is present for ArtistId, not even an explicit nil +func (o *QueueResource) UnsetArtistId() { + o.ArtistId.Unset() +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId.Get()) { + var ret int32 + return ret + } + return *o.AlbumId.Get() +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetAlbumIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AlbumId.Get(), o.AlbumId.IsSet() +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *QueueResource) HasAlbumId() bool { + if o != nil && o.AlbumId.IsSet() { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given NullableInt32 and assigns it to the AlbumId field. +func (o *QueueResource) SetAlbumId(v int32) { + o.AlbumId.Set(&v) +} +// SetAlbumIdNil sets the value for AlbumId to be an explicit nil +func (o *QueueResource) SetAlbumIdNil() { + o.AlbumId.Set(nil) +} + +// UnsetAlbumId ensures that no value is present for AlbumId, not even an explicit nil +func (o *QueueResource) UnsetAlbumId() { + o.AlbumId.Unset() +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *QueueResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *QueueResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *QueueResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *QueueResource) GetAlbum() AlbumResource { + if o == nil || isNil(o.Album) { + var ret AlbumResource + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetAlbumOk() (*AlbumResource, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *QueueResource) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given AlbumResource and assigns it to the Album field. +func (o *QueueResource) SetAlbum(v AlbumResource) { + o.Album = &v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *QueueResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *QueueResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *QueueResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *QueueResource) GetSize() float64 { + if o == nil || isNil(o.Size) { + var ret float64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetSizeOk() (*float64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *QueueResource) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given float64 and assigns it to the Size field. +func (o *QueueResource) SetSize(v float64) { + o.Size = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *QueueResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *QueueResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *QueueResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *QueueResource) UnsetTitle() { + o.Title.Unset() +} + +// GetSizeleft returns the Sizeleft field value if set, zero value otherwise. +func (o *QueueResource) GetSizeleft() float64 { + if o == nil || isNil(o.Sizeleft) { + var ret float64 + return ret + } + return *o.Sizeleft +} + +// GetSizeleftOk returns a tuple with the Sizeleft field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetSizeleftOk() (*float64, bool) { + if o == nil || isNil(o.Sizeleft) { + return nil, false + } + return o.Sizeleft, true +} + +// HasSizeleft returns a boolean if a field has been set. +func (o *QueueResource) HasSizeleft() bool { + if o != nil && !isNil(o.Sizeleft) { + return true + } + + return false +} + +// SetSizeleft gets a reference to the given float64 and assigns it to the Sizeleft field. +func (o *QueueResource) SetSizeleft(v float64) { + o.Sizeleft = &v +} + +// GetTimeleft returns the Timeleft field value if set, zero value otherwise. +func (o *QueueResource) GetTimeleft() TimeSpan { + if o == nil || isNil(o.Timeleft) { + var ret TimeSpan + return ret + } + return *o.Timeleft +} + +// GetTimeleftOk returns a tuple with the Timeleft field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetTimeleftOk() (*TimeSpan, bool) { + if o == nil || isNil(o.Timeleft) { + return nil, false + } + return o.Timeleft, true +} + +// HasTimeleft returns a boolean if a field has been set. +func (o *QueueResource) HasTimeleft() bool { + if o != nil && !isNil(o.Timeleft) { + return true + } + + return false +} + +// SetTimeleft gets a reference to the given TimeSpan and assigns it to the Timeleft field. +func (o *QueueResource) SetTimeleft(v TimeSpan) { + o.Timeleft = &v +} + +// GetEstimatedCompletionTime returns the EstimatedCompletionTime field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetEstimatedCompletionTime() time.Time { + if o == nil || isNil(o.EstimatedCompletionTime.Get()) { + var ret time.Time + return ret + } + return *o.EstimatedCompletionTime.Get() +} + +// GetEstimatedCompletionTimeOk returns a tuple with the EstimatedCompletionTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetEstimatedCompletionTimeOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.EstimatedCompletionTime.Get(), o.EstimatedCompletionTime.IsSet() +} + +// HasEstimatedCompletionTime returns a boolean if a field has been set. +func (o *QueueResource) HasEstimatedCompletionTime() bool { + if o != nil && o.EstimatedCompletionTime.IsSet() { + return true + } + + return false +} + +// SetEstimatedCompletionTime gets a reference to the given NullableTime and assigns it to the EstimatedCompletionTime field. +func (o *QueueResource) SetEstimatedCompletionTime(v time.Time) { + o.EstimatedCompletionTime.Set(&v) +} +// SetEstimatedCompletionTimeNil sets the value for EstimatedCompletionTime to be an explicit nil +func (o *QueueResource) SetEstimatedCompletionTimeNil() { + o.EstimatedCompletionTime.Set(nil) +} + +// UnsetEstimatedCompletionTime ensures that no value is present for EstimatedCompletionTime, not even an explicit nil +func (o *QueueResource) UnsetEstimatedCompletionTime() { + o.EstimatedCompletionTime.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetStatus() string { + if o == nil || isNil(o.Status.Get()) { + var ret string + return ret + } + return *o.Status.Get() +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Status.Get(), o.Status.IsSet() +} + +// HasStatus returns a boolean if a field has been set. +func (o *QueueResource) HasStatus() bool { + if o != nil && o.Status.IsSet() { + return true + } + + return false +} + +// SetStatus gets a reference to the given NullableString and assigns it to the Status field. +func (o *QueueResource) SetStatus(v string) { + o.Status.Set(&v) +} +// SetStatusNil sets the value for Status to be an explicit nil +func (o *QueueResource) SetStatusNil() { + o.Status.Set(nil) +} + +// UnsetStatus ensures that no value is present for Status, not even an explicit nil +func (o *QueueResource) UnsetStatus() { + o.Status.Unset() +} + +// GetTrackedDownloadStatus returns the TrackedDownloadStatus field value if set, zero value otherwise. +func (o *QueueResource) GetTrackedDownloadStatus() TrackedDownloadStatus { + if o == nil || isNil(o.TrackedDownloadStatus) { + var ret TrackedDownloadStatus + return ret + } + return *o.TrackedDownloadStatus +} + +// GetTrackedDownloadStatusOk returns a tuple with the TrackedDownloadStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetTrackedDownloadStatusOk() (*TrackedDownloadStatus, bool) { + if o == nil || isNil(o.TrackedDownloadStatus) { + return nil, false + } + return o.TrackedDownloadStatus, true +} + +// HasTrackedDownloadStatus returns a boolean if a field has been set. +func (o *QueueResource) HasTrackedDownloadStatus() bool { + if o != nil && !isNil(o.TrackedDownloadStatus) { + return true + } + + return false +} + +// SetTrackedDownloadStatus gets a reference to the given TrackedDownloadStatus and assigns it to the TrackedDownloadStatus field. +func (o *QueueResource) SetTrackedDownloadStatus(v TrackedDownloadStatus) { + o.TrackedDownloadStatus = &v +} + +// GetTrackedDownloadState returns the TrackedDownloadState field value if set, zero value otherwise. +func (o *QueueResource) GetTrackedDownloadState() TrackedDownloadState { + if o == nil || isNil(o.TrackedDownloadState) { + var ret TrackedDownloadState + return ret + } + return *o.TrackedDownloadState +} + +// GetTrackedDownloadStateOk returns a tuple with the TrackedDownloadState field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetTrackedDownloadStateOk() (*TrackedDownloadState, bool) { + if o == nil || isNil(o.TrackedDownloadState) { + return nil, false + } + return o.TrackedDownloadState, true +} + +// HasTrackedDownloadState returns a boolean if a field has been set. +func (o *QueueResource) HasTrackedDownloadState() bool { + if o != nil && !isNil(o.TrackedDownloadState) { + return true + } + + return false +} + +// SetTrackedDownloadState gets a reference to the given TrackedDownloadState and assigns it to the TrackedDownloadState field. +func (o *QueueResource) SetTrackedDownloadState(v TrackedDownloadState) { + o.TrackedDownloadState = &v +} + +// GetStatusMessages returns the StatusMessages field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetStatusMessages() []*TrackedDownloadStatusMessage { + if o == nil { + var ret []*TrackedDownloadStatusMessage + return ret + } + return o.StatusMessages +} + +// GetStatusMessagesOk returns a tuple with the StatusMessages field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetStatusMessagesOk() ([]*TrackedDownloadStatusMessage, bool) { + if o == nil || isNil(o.StatusMessages) { + return nil, false + } + return o.StatusMessages, true +} + +// HasStatusMessages returns a boolean if a field has been set. +func (o *QueueResource) HasStatusMessages() bool { + if o != nil && isNil(o.StatusMessages) { + return true + } + + return false +} + +// SetStatusMessages gets a reference to the given []TrackedDownloadStatusMessage and assigns it to the StatusMessages field. +func (o *QueueResource) SetStatusMessages(v []*TrackedDownloadStatusMessage) { + o.StatusMessages = v +} + +// GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetErrorMessage() string { + if o == nil || isNil(o.ErrorMessage.Get()) { + var ret string + return ret + } + return *o.ErrorMessage.Get() +} + +// GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetErrorMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ErrorMessage.Get(), o.ErrorMessage.IsSet() +} + +// HasErrorMessage returns a boolean if a field has been set. +func (o *QueueResource) HasErrorMessage() bool { + if o != nil && o.ErrorMessage.IsSet() { + return true + } + + return false +} + +// SetErrorMessage gets a reference to the given NullableString and assigns it to the ErrorMessage field. +func (o *QueueResource) SetErrorMessage(v string) { + o.ErrorMessage.Set(&v) +} +// SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil +func (o *QueueResource) SetErrorMessageNil() { + o.ErrorMessage.Set(nil) +} + +// UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil +func (o *QueueResource) UnsetErrorMessage() { + o.ErrorMessage.Unset() +} + +// GetDownloadId returns the DownloadId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetDownloadId() string { + if o == nil || isNil(o.DownloadId.Get()) { + var ret string + return ret + } + return *o.DownloadId.Get() +} + +// GetDownloadIdOk returns a tuple with the DownloadId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetDownloadIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadId.Get(), o.DownloadId.IsSet() +} + +// HasDownloadId returns a boolean if a field has been set. +func (o *QueueResource) HasDownloadId() bool { + if o != nil && o.DownloadId.IsSet() { + return true + } + + return false +} + +// SetDownloadId gets a reference to the given NullableString and assigns it to the DownloadId field. +func (o *QueueResource) SetDownloadId(v string) { + o.DownloadId.Set(&v) +} +// SetDownloadIdNil sets the value for DownloadId to be an explicit nil +func (o *QueueResource) SetDownloadIdNil() { + o.DownloadId.Set(nil) +} + +// UnsetDownloadId ensures that no value is present for DownloadId, not even an explicit nil +func (o *QueueResource) UnsetDownloadId() { + o.DownloadId.Unset() +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *QueueResource) GetProtocol() DownloadProtocol { + if o == nil || isNil(o.Protocol) { + var ret DownloadProtocol + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *QueueResource) HasProtocol() bool { + if o != nil && !isNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given DownloadProtocol and assigns it to the Protocol field. +func (o *QueueResource) SetProtocol(v DownloadProtocol) { + o.Protocol = &v +} + +// GetDownloadClient returns the DownloadClient field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetDownloadClient() string { + if o == nil || isNil(o.DownloadClient.Get()) { + var ret string + return ret + } + return *o.DownloadClient.Get() +} + +// GetDownloadClientOk returns a tuple with the DownloadClient field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetDownloadClientOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadClient.Get(), o.DownloadClient.IsSet() +} + +// HasDownloadClient returns a boolean if a field has been set. +func (o *QueueResource) HasDownloadClient() bool { + if o != nil && o.DownloadClient.IsSet() { + return true + } + + return false +} + +// SetDownloadClient gets a reference to the given NullableString and assigns it to the DownloadClient field. +func (o *QueueResource) SetDownloadClient(v string) { + o.DownloadClient.Set(&v) +} +// SetDownloadClientNil sets the value for DownloadClient to be an explicit nil +func (o *QueueResource) SetDownloadClientNil() { + o.DownloadClient.Set(nil) +} + +// UnsetDownloadClient ensures that no value is present for DownloadClient, not even an explicit nil +func (o *QueueResource) UnsetDownloadClient() { + o.DownloadClient.Unset() +} + +// GetIndexer returns the Indexer field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetIndexer() string { + if o == nil || isNil(o.Indexer.Get()) { + var ret string + return ret + } + return *o.Indexer.Get() +} + +// GetIndexerOk returns a tuple with the Indexer field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetIndexerOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Indexer.Get(), o.Indexer.IsSet() +} + +// HasIndexer returns a boolean if a field has been set. +func (o *QueueResource) HasIndexer() bool { + if o != nil && o.Indexer.IsSet() { + return true + } + + return false +} + +// SetIndexer gets a reference to the given NullableString and assigns it to the Indexer field. +func (o *QueueResource) SetIndexer(v string) { + o.Indexer.Set(&v) +} +// SetIndexerNil sets the value for Indexer to be an explicit nil +func (o *QueueResource) SetIndexerNil() { + o.Indexer.Set(nil) +} + +// UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +func (o *QueueResource) UnsetIndexer() { + o.Indexer.Unset() +} + +// GetOutputPath returns the OutputPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResource) GetOutputPath() string { + if o == nil || isNil(o.OutputPath.Get()) { + var ret string + return ret + } + return *o.OutputPath.Get() +} + +// GetOutputPathOk returns a tuple with the OutputPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResource) GetOutputPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OutputPath.Get(), o.OutputPath.IsSet() +} + +// HasOutputPath returns a boolean if a field has been set. +func (o *QueueResource) HasOutputPath() bool { + if o != nil && o.OutputPath.IsSet() { + return true + } + + return false +} + +// SetOutputPath gets a reference to the given NullableString and assigns it to the OutputPath field. +func (o *QueueResource) SetOutputPath(v string) { + o.OutputPath.Set(&v) +} +// SetOutputPathNil sets the value for OutputPath to be an explicit nil +func (o *QueueResource) SetOutputPathNil() { + o.OutputPath.Set(nil) +} + +// UnsetOutputPath ensures that no value is present for OutputPath, not even an explicit nil +func (o *QueueResource) UnsetOutputPath() { + o.OutputPath.Unset() +} + +// GetDownloadForced returns the DownloadForced field value if set, zero value otherwise. +func (o *QueueResource) GetDownloadForced() bool { + if o == nil || isNil(o.DownloadForced) { + var ret bool + return ret + } + return *o.DownloadForced +} + +// GetDownloadForcedOk returns a tuple with the DownloadForced field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResource) GetDownloadForcedOk() (*bool, bool) { + if o == nil || isNil(o.DownloadForced) { + return nil, false + } + return o.DownloadForced, true +} + +// HasDownloadForced returns a boolean if a field has been set. +func (o *QueueResource) HasDownloadForced() bool { + if o != nil && !isNil(o.DownloadForced) { + return true + } + + return false +} + +// SetDownloadForced gets a reference to the given bool and assigns it to the DownloadForced field. +func (o *QueueResource) SetDownloadForced(v bool) { + o.DownloadForced = &v +} + +func (o QueueResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.ArtistId.IsSet() { + toSerialize["artistId"] = o.ArtistId.Get() + } + if o.AlbumId.IsSet() { + toSerialize["albumId"] = o.AlbumId.Get() + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.Sizeleft) { + toSerialize["sizeleft"] = o.Sizeleft + } + if !isNil(o.Timeleft) { + toSerialize["timeleft"] = o.Timeleft + } + if o.EstimatedCompletionTime.IsSet() { + toSerialize["estimatedCompletionTime"] = o.EstimatedCompletionTime.Get() + } + if o.Status.IsSet() { + toSerialize["status"] = o.Status.Get() + } + if !isNil(o.TrackedDownloadStatus) { + toSerialize["trackedDownloadStatus"] = o.TrackedDownloadStatus + } + if !isNil(o.TrackedDownloadState) { + toSerialize["trackedDownloadState"] = o.TrackedDownloadState + } + if o.StatusMessages != nil { + toSerialize["statusMessages"] = o.StatusMessages + } + if o.ErrorMessage.IsSet() { + toSerialize["errorMessage"] = o.ErrorMessage.Get() + } + if o.DownloadId.IsSet() { + toSerialize["downloadId"] = o.DownloadId.Get() + } + if !isNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + if o.DownloadClient.IsSet() { + toSerialize["downloadClient"] = o.DownloadClient.Get() + } + if o.Indexer.IsSet() { + toSerialize["indexer"] = o.Indexer.Get() + } + if o.OutputPath.IsSet() { + toSerialize["outputPath"] = o.OutputPath.Get() + } + if !isNil(o.DownloadForced) { + toSerialize["downloadForced"] = o.DownloadForced + } + return json.Marshal(toSerialize) +} + +type NullableQueueResource struct { + value *QueueResource + isSet bool +} + +func (v NullableQueueResource) Get() *QueueResource { + return v.value +} + +func (v *NullableQueueResource) Set(val *QueueResource) { + v.value = val + v.isSet = true +} + +func (v NullableQueueResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQueueResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueueResource(val *QueueResource) *NullableQueueResource { + return &NullableQueueResource{value: val, isSet: true} +} + +func (v NullableQueueResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueueResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_queue_resource_paging_resource.go b/lidarr/model_queue_resource_paging_resource.go new file mode 100644 index 0000000..8c1fd76 --- /dev/null +++ b/lidarr/model_queue_resource_paging_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QueueResourcePagingResource struct for QueueResourcePagingResource +type QueueResourcePagingResource struct { + Page *int32 `json:"page,omitempty"` + PageSize *int32 `json:"pageSize,omitempty"` + SortKey NullableString `json:"sortKey,omitempty"` + SortDirection *SortDirection `json:"sortDirection,omitempty"` + Filters []*PagingResourceFilter `json:"filters,omitempty"` + TotalRecords *int32 `json:"totalRecords,omitempty"` + Records []*QueueResource `json:"records,omitempty"` +} + +// NewQueueResourcePagingResource instantiates a new QueueResourcePagingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueueResourcePagingResource() *QueueResourcePagingResource { + this := QueueResourcePagingResource{} + return &this +} + +// NewQueueResourcePagingResourceWithDefaults instantiates a new QueueResourcePagingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueueResourcePagingResourceWithDefaults() *QueueResourcePagingResource { + this := QueueResourcePagingResource{} + return &this +} + +// GetPage returns the Page field value if set, zero value otherwise. +func (o *QueueResourcePagingResource) GetPage() int32 { + if o == nil || isNil(o.Page) { + var ret int32 + return ret + } + return *o.Page +} + +// GetPageOk returns a tuple with the Page field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResourcePagingResource) GetPageOk() (*int32, bool) { + if o == nil || isNil(o.Page) { + return nil, false + } + return o.Page, true +} + +// HasPage returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasPage() bool { + if o != nil && !isNil(o.Page) { + return true + } + + return false +} + +// SetPage gets a reference to the given int32 and assigns it to the Page field. +func (o *QueueResourcePagingResource) SetPage(v int32) { + o.Page = &v +} + +// GetPageSize returns the PageSize field value if set, zero value otherwise. +func (o *QueueResourcePagingResource) GetPageSize() int32 { + if o == nil || isNil(o.PageSize) { + var ret int32 + return ret + } + return *o.PageSize +} + +// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResourcePagingResource) GetPageSizeOk() (*int32, bool) { + if o == nil || isNil(o.PageSize) { + return nil, false + } + return o.PageSize, true +} + +// HasPageSize returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasPageSize() bool { + if o != nil && !isNil(o.PageSize) { + return true + } + + return false +} + +// SetPageSize gets a reference to the given int32 and assigns it to the PageSize field. +func (o *QueueResourcePagingResource) SetPageSize(v int32) { + o.PageSize = &v +} + +// GetSortKey returns the SortKey field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResourcePagingResource) GetSortKey() string { + if o == nil || isNil(o.SortKey.Get()) { + var ret string + return ret + } + return *o.SortKey.Get() +} + +// GetSortKeyOk returns a tuple with the SortKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResourcePagingResource) GetSortKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SortKey.Get(), o.SortKey.IsSet() +} + +// HasSortKey returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasSortKey() bool { + if o != nil && o.SortKey.IsSet() { + return true + } + + return false +} + +// SetSortKey gets a reference to the given NullableString and assigns it to the SortKey field. +func (o *QueueResourcePagingResource) SetSortKey(v string) { + o.SortKey.Set(&v) +} +// SetSortKeyNil sets the value for SortKey to be an explicit nil +func (o *QueueResourcePagingResource) SetSortKeyNil() { + o.SortKey.Set(nil) +} + +// UnsetSortKey ensures that no value is present for SortKey, not even an explicit nil +func (o *QueueResourcePagingResource) UnsetSortKey() { + o.SortKey.Unset() +} + +// GetSortDirection returns the SortDirection field value if set, zero value otherwise. +func (o *QueueResourcePagingResource) GetSortDirection() SortDirection { + if o == nil || isNil(o.SortDirection) { + var ret SortDirection + return ret + } + return *o.SortDirection +} + +// GetSortDirectionOk returns a tuple with the SortDirection field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResourcePagingResource) GetSortDirectionOk() (*SortDirection, bool) { + if o == nil || isNil(o.SortDirection) { + return nil, false + } + return o.SortDirection, true +} + +// HasSortDirection returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasSortDirection() bool { + if o != nil && !isNil(o.SortDirection) { + return true + } + + return false +} + +// SetSortDirection gets a reference to the given SortDirection and assigns it to the SortDirection field. +func (o *QueueResourcePagingResource) SetSortDirection(v SortDirection) { + o.SortDirection = &v +} + +// GetFilters returns the Filters field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResourcePagingResource) GetFilters() []*PagingResourceFilter { + if o == nil { + var ret []*PagingResourceFilter + return ret + } + return o.Filters +} + +// GetFiltersOk returns a tuple with the Filters field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResourcePagingResource) GetFiltersOk() ([]*PagingResourceFilter, bool) { + if o == nil || isNil(o.Filters) { + return nil, false + } + return o.Filters, true +} + +// HasFilters returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasFilters() bool { + if o != nil && isNil(o.Filters) { + return true + } + + return false +} + +// SetFilters gets a reference to the given []PagingResourceFilter and assigns it to the Filters field. +func (o *QueueResourcePagingResource) SetFilters(v []*PagingResourceFilter) { + o.Filters = v +} + +// GetTotalRecords returns the TotalRecords field value if set, zero value otherwise. +func (o *QueueResourcePagingResource) GetTotalRecords() int32 { + if o == nil || isNil(o.TotalRecords) { + var ret int32 + return ret + } + return *o.TotalRecords +} + +// GetTotalRecordsOk returns a tuple with the TotalRecords field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueResourcePagingResource) GetTotalRecordsOk() (*int32, bool) { + if o == nil || isNil(o.TotalRecords) { + return nil, false + } + return o.TotalRecords, true +} + +// HasTotalRecords returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasTotalRecords() bool { + if o != nil && !isNil(o.TotalRecords) { + return true + } + + return false +} + +// SetTotalRecords gets a reference to the given int32 and assigns it to the TotalRecords field. +func (o *QueueResourcePagingResource) SetTotalRecords(v int32) { + o.TotalRecords = &v +} + +// GetRecords returns the Records field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *QueueResourcePagingResource) GetRecords() []*QueueResource { + if o == nil { + var ret []*QueueResource + return ret + } + return o.Records +} + +// GetRecordsOk returns a tuple with the Records field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *QueueResourcePagingResource) GetRecordsOk() ([]*QueueResource, bool) { + if o == nil || isNil(o.Records) { + return nil, false + } + return o.Records, true +} + +// HasRecords returns a boolean if a field has been set. +func (o *QueueResourcePagingResource) HasRecords() bool { + if o != nil && isNil(o.Records) { + return true + } + + return false +} + +// SetRecords gets a reference to the given []QueueResource and assigns it to the Records field. +func (o *QueueResourcePagingResource) SetRecords(v []*QueueResource) { + o.Records = v +} + +func (o QueueResourcePagingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Page) { + toSerialize["page"] = o.Page + } + if !isNil(o.PageSize) { + toSerialize["pageSize"] = o.PageSize + } + if o.SortKey.IsSet() { + toSerialize["sortKey"] = o.SortKey.Get() + } + if !isNil(o.SortDirection) { + toSerialize["sortDirection"] = o.SortDirection + } + if o.Filters != nil { + toSerialize["filters"] = o.Filters + } + if !isNil(o.TotalRecords) { + toSerialize["totalRecords"] = o.TotalRecords + } + if o.Records != nil { + toSerialize["records"] = o.Records + } + return json.Marshal(toSerialize) +} + +type NullableQueueResourcePagingResource struct { + value *QueueResourcePagingResource + isSet bool +} + +func (v NullableQueueResourcePagingResource) Get() *QueueResourcePagingResource { + return v.value +} + +func (v *NullableQueueResourcePagingResource) Set(val *QueueResourcePagingResource) { + v.value = val + v.isSet = true +} + +func (v NullableQueueResourcePagingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQueueResourcePagingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueueResourcePagingResource(val *QueueResourcePagingResource) *NullableQueueResourcePagingResource { + return &NullableQueueResourcePagingResource{value: val, isSet: true} +} + +func (v NullableQueueResourcePagingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueueResourcePagingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_queue_status_resource.go b/lidarr/model_queue_status_resource.go new file mode 100644 index 0000000..fa7adad --- /dev/null +++ b/lidarr/model_queue_status_resource.go @@ -0,0 +1,367 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// QueueStatusResource struct for QueueStatusResource +type QueueStatusResource struct { + Id *int32 `json:"id,omitempty"` + TotalCount *int32 `json:"totalCount,omitempty"` + Count *int32 `json:"count,omitempty"` + UnknownCount *int32 `json:"unknownCount,omitempty"` + Errors *bool `json:"errors,omitempty"` + Warnings *bool `json:"warnings,omitempty"` + UnknownErrors *bool `json:"unknownErrors,omitempty"` + UnknownWarnings *bool `json:"unknownWarnings,omitempty"` +} + +// NewQueueStatusResource instantiates a new QueueStatusResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewQueueStatusResource() *QueueStatusResource { + this := QueueStatusResource{} + return &this +} + +// NewQueueStatusResourceWithDefaults instantiates a new QueueStatusResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQueueStatusResourceWithDefaults() *QueueStatusResource { + this := QueueStatusResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *QueueStatusResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *QueueStatusResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *QueueStatusResource) SetId(v int32) { + o.Id = &v +} + +// GetTotalCount returns the TotalCount field value if set, zero value otherwise. +func (o *QueueStatusResource) GetTotalCount() int32 { + if o == nil || isNil(o.TotalCount) { + var ret int32 + return ret + } + return *o.TotalCount +} + +// GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetTotalCountOk() (*int32, bool) { + if o == nil || isNil(o.TotalCount) { + return nil, false + } + return o.TotalCount, true +} + +// HasTotalCount returns a boolean if a field has been set. +func (o *QueueStatusResource) HasTotalCount() bool { + if o != nil && !isNil(o.TotalCount) { + return true + } + + return false +} + +// SetTotalCount gets a reference to the given int32 and assigns it to the TotalCount field. +func (o *QueueStatusResource) SetTotalCount(v int32) { + o.TotalCount = &v +} + +// GetCount returns the Count field value if set, zero value otherwise. +func (o *QueueStatusResource) GetCount() int32 { + if o == nil || isNil(o.Count) { + var ret int32 + return ret + } + return *o.Count +} + +// GetCountOk returns a tuple with the Count field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetCountOk() (*int32, bool) { + if o == nil || isNil(o.Count) { + return nil, false + } + return o.Count, true +} + +// HasCount returns a boolean if a field has been set. +func (o *QueueStatusResource) HasCount() bool { + if o != nil && !isNil(o.Count) { + return true + } + + return false +} + +// SetCount gets a reference to the given int32 and assigns it to the Count field. +func (o *QueueStatusResource) SetCount(v int32) { + o.Count = &v +} + +// GetUnknownCount returns the UnknownCount field value if set, zero value otherwise. +func (o *QueueStatusResource) GetUnknownCount() int32 { + if o == nil || isNil(o.UnknownCount) { + var ret int32 + return ret + } + return *o.UnknownCount +} + +// GetUnknownCountOk returns a tuple with the UnknownCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetUnknownCountOk() (*int32, bool) { + if o == nil || isNil(o.UnknownCount) { + return nil, false + } + return o.UnknownCount, true +} + +// HasUnknownCount returns a boolean if a field has been set. +func (o *QueueStatusResource) HasUnknownCount() bool { + if o != nil && !isNil(o.UnknownCount) { + return true + } + + return false +} + +// SetUnknownCount gets a reference to the given int32 and assigns it to the UnknownCount field. +func (o *QueueStatusResource) SetUnknownCount(v int32) { + o.UnknownCount = &v +} + +// GetErrors returns the Errors field value if set, zero value otherwise. +func (o *QueueStatusResource) GetErrors() bool { + if o == nil || isNil(o.Errors) { + var ret bool + return ret + } + return *o.Errors +} + +// GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetErrorsOk() (*bool, bool) { + if o == nil || isNil(o.Errors) { + return nil, false + } + return o.Errors, true +} + +// HasErrors returns a boolean if a field has been set. +func (o *QueueStatusResource) HasErrors() bool { + if o != nil && !isNil(o.Errors) { + return true + } + + return false +} + +// SetErrors gets a reference to the given bool and assigns it to the Errors field. +func (o *QueueStatusResource) SetErrors(v bool) { + o.Errors = &v +} + +// GetWarnings returns the Warnings field value if set, zero value otherwise. +func (o *QueueStatusResource) GetWarnings() bool { + if o == nil || isNil(o.Warnings) { + var ret bool + return ret + } + return *o.Warnings +} + +// GetWarningsOk returns a tuple with the Warnings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetWarningsOk() (*bool, bool) { + if o == nil || isNil(o.Warnings) { + return nil, false + } + return o.Warnings, true +} + +// HasWarnings returns a boolean if a field has been set. +func (o *QueueStatusResource) HasWarnings() bool { + if o != nil && !isNil(o.Warnings) { + return true + } + + return false +} + +// SetWarnings gets a reference to the given bool and assigns it to the Warnings field. +func (o *QueueStatusResource) SetWarnings(v bool) { + o.Warnings = &v +} + +// GetUnknownErrors returns the UnknownErrors field value if set, zero value otherwise. +func (o *QueueStatusResource) GetUnknownErrors() bool { + if o == nil || isNil(o.UnknownErrors) { + var ret bool + return ret + } + return *o.UnknownErrors +} + +// GetUnknownErrorsOk returns a tuple with the UnknownErrors field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetUnknownErrorsOk() (*bool, bool) { + if o == nil || isNil(o.UnknownErrors) { + return nil, false + } + return o.UnknownErrors, true +} + +// HasUnknownErrors returns a boolean if a field has been set. +func (o *QueueStatusResource) HasUnknownErrors() bool { + if o != nil && !isNil(o.UnknownErrors) { + return true + } + + return false +} + +// SetUnknownErrors gets a reference to the given bool and assigns it to the UnknownErrors field. +func (o *QueueStatusResource) SetUnknownErrors(v bool) { + o.UnknownErrors = &v +} + +// GetUnknownWarnings returns the UnknownWarnings field value if set, zero value otherwise. +func (o *QueueStatusResource) GetUnknownWarnings() bool { + if o == nil || isNil(o.UnknownWarnings) { + var ret bool + return ret + } + return *o.UnknownWarnings +} + +// GetUnknownWarningsOk returns a tuple with the UnknownWarnings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *QueueStatusResource) GetUnknownWarningsOk() (*bool, bool) { + if o == nil || isNil(o.UnknownWarnings) { + return nil, false + } + return o.UnknownWarnings, true +} + +// HasUnknownWarnings returns a boolean if a field has been set. +func (o *QueueStatusResource) HasUnknownWarnings() bool { + if o != nil && !isNil(o.UnknownWarnings) { + return true + } + + return false +} + +// SetUnknownWarnings gets a reference to the given bool and assigns it to the UnknownWarnings field. +func (o *QueueStatusResource) SetUnknownWarnings(v bool) { + o.UnknownWarnings = &v +} + +func (o QueueStatusResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.TotalCount) { + toSerialize["totalCount"] = o.TotalCount + } + if !isNil(o.Count) { + toSerialize["count"] = o.Count + } + if !isNil(o.UnknownCount) { + toSerialize["unknownCount"] = o.UnknownCount + } + if !isNil(o.Errors) { + toSerialize["errors"] = o.Errors + } + if !isNil(o.Warnings) { + toSerialize["warnings"] = o.Warnings + } + if !isNil(o.UnknownErrors) { + toSerialize["unknownErrors"] = o.UnknownErrors + } + if !isNil(o.UnknownWarnings) { + toSerialize["unknownWarnings"] = o.UnknownWarnings + } + return json.Marshal(toSerialize) +} + +type NullableQueueStatusResource struct { + value *QueueStatusResource + isSet bool +} + +func (v NullableQueueStatusResource) Get() *QueueStatusResource { + return v.value +} + +func (v *NullableQueueStatusResource) Set(val *QueueStatusResource) { + v.value = val + v.isSet = true +} + +func (v NullableQueueStatusResource) IsSet() bool { + return v.isSet +} + +func (v *NullableQueueStatusResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQueueStatusResource(val *QueueStatusResource) *NullableQueueStatusResource { + return &NullableQueueStatusResource{value: val, isSet: true} +} + +func (v NullableQueueStatusResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQueueStatusResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_ratings.go b/lidarr/model_ratings.go new file mode 100644 index 0000000..b28ddda --- /dev/null +++ b/lidarr/model_ratings.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Ratings struct for Ratings +type Ratings struct { + Votes *int32 `json:"votes,omitempty"` + Value *float64 `json:"value,omitempty"` +} + +// NewRatings instantiates a new Ratings object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRatings() *Ratings { + this := Ratings{} + return &this +} + +// NewRatingsWithDefaults instantiates a new Ratings object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRatingsWithDefaults() *Ratings { + this := Ratings{} + return &this +} + +// GetVotes returns the Votes field value if set, zero value otherwise. +func (o *Ratings) GetVotes() int32 { + if o == nil || isNil(o.Votes) { + var ret int32 + return ret + } + return *o.Votes +} + +// GetVotesOk returns a tuple with the Votes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Ratings) GetVotesOk() (*int32, bool) { + if o == nil || isNil(o.Votes) { + return nil, false + } + return o.Votes, true +} + +// HasVotes returns a boolean if a field has been set. +func (o *Ratings) HasVotes() bool { + if o != nil && !isNil(o.Votes) { + return true + } + + return false +} + +// SetVotes gets a reference to the given int32 and assigns it to the Votes field. +func (o *Ratings) SetVotes(v int32) { + o.Votes = &v +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *Ratings) GetValue() float64 { + if o == nil || isNil(o.Value) { + var ret float64 + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Ratings) GetValueOk() (*float64, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *Ratings) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given float64 and assigns it to the Value field. +func (o *Ratings) SetValue(v float64) { + o.Value = &v +} + +func (o Ratings) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Votes) { + toSerialize["votes"] = o.Votes + } + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableRatings struct { + value *Ratings + isSet bool +} + +func (v NullableRatings) Get() *Ratings { + return v.value +} + +func (v *NullableRatings) Set(val *Ratings) { + v.value = val + v.isSet = true +} + +func (v NullableRatings) IsSet() bool { + return v.isSet +} + +func (v *NullableRatings) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRatings(val *Ratings) *NullableRatings { + return &NullableRatings{value: val, isSet: true} +} + +func (v NullableRatings) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRatings) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_rejection.go b/lidarr/model_rejection.go new file mode 100644 index 0000000..38e593d --- /dev/null +++ b/lidarr/model_rejection.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Rejection struct for Rejection +type Rejection struct { + Reason NullableString `json:"reason,omitempty"` + Type *RejectionType `json:"type,omitempty"` +} + +// NewRejection instantiates a new Rejection object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRejection() *Rejection { + this := Rejection{} + return &this +} + +// NewRejectionWithDefaults instantiates a new Rejection object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRejectionWithDefaults() *Rejection { + this := Rejection{} + return &this +} + +// GetReason returns the Reason field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Rejection) GetReason() string { + if o == nil || isNil(o.Reason.Get()) { + var ret string + return ret + } + return *o.Reason.Get() +} + +// GetReasonOk returns a tuple with the Reason field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Rejection) GetReasonOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Reason.Get(), o.Reason.IsSet() +} + +// HasReason returns a boolean if a field has been set. +func (o *Rejection) HasReason() bool { + if o != nil && o.Reason.IsSet() { + return true + } + + return false +} + +// SetReason gets a reference to the given NullableString and assigns it to the Reason field. +func (o *Rejection) SetReason(v string) { + o.Reason.Set(&v) +} +// SetReasonNil sets the value for Reason to be an explicit nil +func (o *Rejection) SetReasonNil() { + o.Reason.Set(nil) +} + +// UnsetReason ensures that no value is present for Reason, not even an explicit nil +func (o *Rejection) UnsetReason() { + o.Reason.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *Rejection) GetType() RejectionType { + if o == nil || isNil(o.Type) { + var ret RejectionType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Rejection) GetTypeOk() (*RejectionType, bool) { + if o == nil || isNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *Rejection) HasType() bool { + if o != nil && !isNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given RejectionType and assigns it to the Type field. +func (o *Rejection) SetType(v RejectionType) { + o.Type = &v +} + +func (o Rejection) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Reason.IsSet() { + toSerialize["reason"] = o.Reason.Get() + } + if !isNil(o.Type) { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableRejection struct { + value *Rejection + isSet bool +} + +func (v NullableRejection) Get() *Rejection { + return v.value +} + +func (v *NullableRejection) Set(val *Rejection) { + v.value = val + v.isSet = true +} + +func (v NullableRejection) IsSet() bool { + return v.isSet +} + +func (v *NullableRejection) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRejection(val *Rejection) *NullableRejection { + return &NullableRejection{value: val, isSet: true} +} + +func (v NullableRejection) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRejection) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_rejection_type.go b/lidarr/model_rejection_type.go new file mode 100644 index 0000000..6c49c4f --- /dev/null +++ b/lidarr/model_rejection_type.go @@ -0,0 +1,111 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// RejectionType the model 'RejectionType' +type RejectionType string + +// List of RejectionType +const ( + REJECTIONTYPE_PERMANENT RejectionType = "permanent" + REJECTIONTYPE_TEMPORARY RejectionType = "temporary" +) + +// All allowed values of RejectionType enum +var AllowedRejectionTypeEnumValues = []RejectionType{ + "permanent", + "temporary", +} + +func (v *RejectionType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RejectionType(value) + for _, existing := range AllowedRejectionTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RejectionType", value) +} + +// NewRejectionTypeFromValue returns a pointer to a valid RejectionType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRejectionTypeFromValue(v string) (*RejectionType, error) { + ev := RejectionType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RejectionType: valid values are %v", v, AllowedRejectionTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RejectionType) IsValid() bool { + for _, existing := range AllowedRejectionTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RejectionType value +func (v RejectionType) Ptr() *RejectionType { + return &v +} + +type NullableRejectionType struct { + value *RejectionType + isSet bool +} + +func (v NullableRejectionType) Get() *RejectionType { + return v.value +} + +func (v *NullableRejectionType) Set(val *RejectionType) { + v.value = val + v.isSet = true +} + +func (v NullableRejectionType) IsSet() bool { + return v.isSet +} + +func (v *NullableRejectionType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRejectionType(val *RejectionType) *NullableRejectionType { + return &NullableRejectionType{value: val, isSet: true} +} + +func (v NullableRejectionType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRejectionType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_release_profile_resource.go b/lidarr/model_release_profile_resource.go new file mode 100644 index 0000000..35c76f0 --- /dev/null +++ b/lidarr/model_release_profile_resource.go @@ -0,0 +1,389 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ReleaseProfileResource struct for ReleaseProfileResource +type ReleaseProfileResource struct { + Id *int32 `json:"id,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Required NullableString `json:"required,omitempty"` + Ignored NullableString `json:"ignored,omitempty"` + Preferred []*StringInt32KeyValuePair `json:"preferred,omitempty"` + IncludePreferredWhenRenaming *bool `json:"includePreferredWhenRenaming,omitempty"` + IndexerId *int32 `json:"indexerId,omitempty"` + Tags []*int32 `json:"tags,omitempty"` +} + +// NewReleaseProfileResource instantiates a new ReleaseProfileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewReleaseProfileResource() *ReleaseProfileResource { + this := ReleaseProfileResource{} + return &this +} + +// NewReleaseProfileResourceWithDefaults instantiates a new ReleaseProfileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewReleaseProfileResourceWithDefaults() *ReleaseProfileResource { + this := ReleaseProfileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ReleaseProfileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseProfileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ReleaseProfileResource) SetId(v int32) { + o.Id = &v +} + +// GetEnabled returns the Enabled field value if set, zero value otherwise. +func (o *ReleaseProfileResource) GetEnabled() bool { + if o == nil || isNil(o.Enabled) { + var ret bool + return ret + } + return *o.Enabled +} + +// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseProfileResource) GetEnabledOk() (*bool, bool) { + if o == nil || isNil(o.Enabled) { + return nil, false + } + return o.Enabled, true +} + +// HasEnabled returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasEnabled() bool { + if o != nil && !isNil(o.Enabled) { + return true + } + + return false +} + +// SetEnabled gets a reference to the given bool and assigns it to the Enabled field. +func (o *ReleaseProfileResource) SetEnabled(v bool) { + o.Enabled = &v +} + +// GetRequired returns the Required field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseProfileResource) GetRequired() string { + if o == nil || isNil(o.Required.Get()) { + var ret string + return ret + } + return *o.Required.Get() +} + +// GetRequiredOk returns a tuple with the Required field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseProfileResource) GetRequiredOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Required.Get(), o.Required.IsSet() +} + +// HasRequired returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasRequired() bool { + if o != nil && o.Required.IsSet() { + return true + } + + return false +} + +// SetRequired gets a reference to the given NullableString and assigns it to the Required field. +func (o *ReleaseProfileResource) SetRequired(v string) { + o.Required.Set(&v) +} +// SetRequiredNil sets the value for Required to be an explicit nil +func (o *ReleaseProfileResource) SetRequiredNil() { + o.Required.Set(nil) +} + +// UnsetRequired ensures that no value is present for Required, not even an explicit nil +func (o *ReleaseProfileResource) UnsetRequired() { + o.Required.Unset() +} + +// GetIgnored returns the Ignored field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseProfileResource) GetIgnored() string { + if o == nil || isNil(o.Ignored.Get()) { + var ret string + return ret + } + return *o.Ignored.Get() +} + +// GetIgnoredOk returns a tuple with the Ignored field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseProfileResource) GetIgnoredOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Ignored.Get(), o.Ignored.IsSet() +} + +// HasIgnored returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasIgnored() bool { + if o != nil && o.Ignored.IsSet() { + return true + } + + return false +} + +// SetIgnored gets a reference to the given NullableString and assigns it to the Ignored field. +func (o *ReleaseProfileResource) SetIgnored(v string) { + o.Ignored.Set(&v) +} +// SetIgnoredNil sets the value for Ignored to be an explicit nil +func (o *ReleaseProfileResource) SetIgnoredNil() { + o.Ignored.Set(nil) +} + +// UnsetIgnored ensures that no value is present for Ignored, not even an explicit nil +func (o *ReleaseProfileResource) UnsetIgnored() { + o.Ignored.Unset() +} + +// GetPreferred returns the Preferred field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseProfileResource) GetPreferred() []*StringInt32KeyValuePair { + if o == nil { + var ret []*StringInt32KeyValuePair + return ret + } + return o.Preferred +} + +// GetPreferredOk returns a tuple with the Preferred field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseProfileResource) GetPreferredOk() ([]*StringInt32KeyValuePair, bool) { + if o == nil || isNil(o.Preferred) { + return nil, false + } + return o.Preferred, true +} + +// HasPreferred returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasPreferred() bool { + if o != nil && isNil(o.Preferred) { + return true + } + + return false +} + +// SetPreferred gets a reference to the given []StringInt32KeyValuePair and assigns it to the Preferred field. +func (o *ReleaseProfileResource) SetPreferred(v []*StringInt32KeyValuePair) { + o.Preferred = v +} + +// GetIncludePreferredWhenRenaming returns the IncludePreferredWhenRenaming field value if set, zero value otherwise. +func (o *ReleaseProfileResource) GetIncludePreferredWhenRenaming() bool { + if o == nil || isNil(o.IncludePreferredWhenRenaming) { + var ret bool + return ret + } + return *o.IncludePreferredWhenRenaming +} + +// GetIncludePreferredWhenRenamingOk returns a tuple with the IncludePreferredWhenRenaming field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseProfileResource) GetIncludePreferredWhenRenamingOk() (*bool, bool) { + if o == nil || isNil(o.IncludePreferredWhenRenaming) { + return nil, false + } + return o.IncludePreferredWhenRenaming, true +} + +// HasIncludePreferredWhenRenaming returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasIncludePreferredWhenRenaming() bool { + if o != nil && !isNil(o.IncludePreferredWhenRenaming) { + return true + } + + return false +} + +// SetIncludePreferredWhenRenaming gets a reference to the given bool and assigns it to the IncludePreferredWhenRenaming field. +func (o *ReleaseProfileResource) SetIncludePreferredWhenRenaming(v bool) { + o.IncludePreferredWhenRenaming = &v +} + +// GetIndexerId returns the IndexerId field value if set, zero value otherwise. +func (o *ReleaseProfileResource) GetIndexerId() int32 { + if o == nil || isNil(o.IndexerId) { + var ret int32 + return ret + } + return *o.IndexerId +} + +// GetIndexerIdOk returns a tuple with the IndexerId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseProfileResource) GetIndexerIdOk() (*int32, bool) { + if o == nil || isNil(o.IndexerId) { + return nil, false + } + return o.IndexerId, true +} + +// HasIndexerId returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasIndexerId() bool { + if o != nil && !isNil(o.IndexerId) { + return true + } + + return false +} + +// SetIndexerId gets a reference to the given int32 and assigns it to the IndexerId field. +func (o *ReleaseProfileResource) SetIndexerId(v int32) { + o.IndexerId = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseProfileResource) GetTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseProfileResource) GetTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *ReleaseProfileResource) HasTags() bool { + if o != nil && isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []int32 and assigns it to the Tags field. +func (o *ReleaseProfileResource) SetTags(v []*int32) { + o.Tags = v +} + +func (o ReleaseProfileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.Enabled) { + toSerialize["enabled"] = o.Enabled + } + if o.Required.IsSet() { + toSerialize["required"] = o.Required.Get() + } + if o.Ignored.IsSet() { + toSerialize["ignored"] = o.Ignored.Get() + } + if o.Preferred != nil { + toSerialize["preferred"] = o.Preferred + } + if !isNil(o.IncludePreferredWhenRenaming) { + toSerialize["includePreferredWhenRenaming"] = o.IncludePreferredWhenRenaming + } + if !isNil(o.IndexerId) { + toSerialize["indexerId"] = o.IndexerId + } + if o.Tags != nil { + toSerialize["tags"] = o.Tags + } + return json.Marshal(toSerialize) +} + +type NullableReleaseProfileResource struct { + value *ReleaseProfileResource + isSet bool +} + +func (v NullableReleaseProfileResource) Get() *ReleaseProfileResource { + return v.value +} + +func (v *NullableReleaseProfileResource) Set(val *ReleaseProfileResource) { + v.value = val + v.isSet = true +} + +func (v NullableReleaseProfileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableReleaseProfileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReleaseProfileResource(val *ReleaseProfileResource) *NullableReleaseProfileResource { + return &NullableReleaseProfileResource{value: val, isSet: true} +} + +func (v NullableReleaseProfileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReleaseProfileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_release_resource.go b/lidarr/model_release_resource.go new file mode 100644 index 0000000..eca5356 --- /dev/null +++ b/lidarr/model_release_resource.go @@ -0,0 +1,1593 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// ReleaseResource struct for ReleaseResource +type ReleaseResource struct { + Id *int32 `json:"id,omitempty"` + Guid NullableString `json:"guid,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + QualityWeight *int32 `json:"qualityWeight,omitempty"` + Age *int32 `json:"age,omitempty"` + AgeHours *float64 `json:"ageHours,omitempty"` + AgeMinutes *float64 `json:"ageMinutes,omitempty"` + Size *int64 `json:"size,omitempty"` + IndexerId *int32 `json:"indexerId,omitempty"` + Indexer NullableString `json:"indexer,omitempty"` + ReleaseGroup NullableString `json:"releaseGroup,omitempty"` + SubGroup NullableString `json:"subGroup,omitempty"` + ReleaseHash NullableString `json:"releaseHash,omitempty"` + Title NullableString `json:"title,omitempty"` + Discography *bool `json:"discography,omitempty"` + SceneSource *bool `json:"sceneSource,omitempty"` + AirDate NullableString `json:"airDate,omitempty"` + ArtistName NullableString `json:"artistName,omitempty"` + AlbumTitle NullableString `json:"albumTitle,omitempty"` + Approved *bool `json:"approved,omitempty"` + TemporarilyRejected *bool `json:"temporarilyRejected,omitempty"` + Rejected *bool `json:"rejected,omitempty"` + Rejections []*string `json:"rejections,omitempty"` + PublishDate *time.Time `json:"publishDate,omitempty"` + CommentUrl NullableString `json:"commentUrl,omitempty"` + DownloadUrl NullableString `json:"downloadUrl,omitempty"` + InfoUrl NullableString `json:"infoUrl,omitempty"` + DownloadAllowed *bool `json:"downloadAllowed,omitempty"` + ReleaseWeight *int32 `json:"releaseWeight,omitempty"` + PreferredWordScore *int32 `json:"preferredWordScore,omitempty"` + MagnetUrl NullableString `json:"magnetUrl,omitempty"` + InfoHash NullableString `json:"infoHash,omitempty"` + Seeders NullableInt32 `json:"seeders,omitempty"` + Leechers NullableInt32 `json:"leechers,omitempty"` + Protocol *DownloadProtocol `json:"protocol,omitempty"` + ArtistId NullableInt32 `json:"artistId,omitempty"` + AlbumId NullableInt32 `json:"albumId,omitempty"` +} + +// NewReleaseResource instantiates a new ReleaseResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewReleaseResource() *ReleaseResource { + this := ReleaseResource{} + return &this +} + +// NewReleaseResourceWithDefaults instantiates a new ReleaseResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewReleaseResourceWithDefaults() *ReleaseResource { + this := ReleaseResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ReleaseResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ReleaseResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ReleaseResource) SetId(v int32) { + o.Id = &v +} + +// GetGuid returns the Guid field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetGuid() string { + if o == nil || isNil(o.Guid.Get()) { + var ret string + return ret + } + return *o.Guid.Get() +} + +// GetGuidOk returns a tuple with the Guid field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetGuidOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Guid.Get(), o.Guid.IsSet() +} + +// HasGuid returns a boolean if a field has been set. +func (o *ReleaseResource) HasGuid() bool { + if o != nil && o.Guid.IsSet() { + return true + } + + return false +} + +// SetGuid gets a reference to the given NullableString and assigns it to the Guid field. +func (o *ReleaseResource) SetGuid(v string) { + o.Guid.Set(&v) +} +// SetGuidNil sets the value for Guid to be an explicit nil +func (o *ReleaseResource) SetGuidNil() { + o.Guid.Set(nil) +} + +// UnsetGuid ensures that no value is present for Guid, not even an explicit nil +func (o *ReleaseResource) UnsetGuid() { + o.Guid.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *ReleaseResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *ReleaseResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *ReleaseResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetQualityWeight returns the QualityWeight field value if set, zero value otherwise. +func (o *ReleaseResource) GetQualityWeight() int32 { + if o == nil || isNil(o.QualityWeight) { + var ret int32 + return ret + } + return *o.QualityWeight +} + +// GetQualityWeightOk returns a tuple with the QualityWeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetQualityWeightOk() (*int32, bool) { + if o == nil || isNil(o.QualityWeight) { + return nil, false + } + return o.QualityWeight, true +} + +// HasQualityWeight returns a boolean if a field has been set. +func (o *ReleaseResource) HasQualityWeight() bool { + if o != nil && !isNil(o.QualityWeight) { + return true + } + + return false +} + +// SetQualityWeight gets a reference to the given int32 and assigns it to the QualityWeight field. +func (o *ReleaseResource) SetQualityWeight(v int32) { + o.QualityWeight = &v +} + +// GetAge returns the Age field value if set, zero value otherwise. +func (o *ReleaseResource) GetAge() int32 { + if o == nil || isNil(o.Age) { + var ret int32 + return ret + } + return *o.Age +} + +// GetAgeOk returns a tuple with the Age field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetAgeOk() (*int32, bool) { + if o == nil || isNil(o.Age) { + return nil, false + } + return o.Age, true +} + +// HasAge returns a boolean if a field has been set. +func (o *ReleaseResource) HasAge() bool { + if o != nil && !isNil(o.Age) { + return true + } + + return false +} + +// SetAge gets a reference to the given int32 and assigns it to the Age field. +func (o *ReleaseResource) SetAge(v int32) { + o.Age = &v +} + +// GetAgeHours returns the AgeHours field value if set, zero value otherwise. +func (o *ReleaseResource) GetAgeHours() float64 { + if o == nil || isNil(o.AgeHours) { + var ret float64 + return ret + } + return *o.AgeHours +} + +// GetAgeHoursOk returns a tuple with the AgeHours field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetAgeHoursOk() (*float64, bool) { + if o == nil || isNil(o.AgeHours) { + return nil, false + } + return o.AgeHours, true +} + +// HasAgeHours returns a boolean if a field has been set. +func (o *ReleaseResource) HasAgeHours() bool { + if o != nil && !isNil(o.AgeHours) { + return true + } + + return false +} + +// SetAgeHours gets a reference to the given float64 and assigns it to the AgeHours field. +func (o *ReleaseResource) SetAgeHours(v float64) { + o.AgeHours = &v +} + +// GetAgeMinutes returns the AgeMinutes field value if set, zero value otherwise. +func (o *ReleaseResource) GetAgeMinutes() float64 { + if o == nil || isNil(o.AgeMinutes) { + var ret float64 + return ret + } + return *o.AgeMinutes +} + +// GetAgeMinutesOk returns a tuple with the AgeMinutes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetAgeMinutesOk() (*float64, bool) { + if o == nil || isNil(o.AgeMinutes) { + return nil, false + } + return o.AgeMinutes, true +} + +// HasAgeMinutes returns a boolean if a field has been set. +func (o *ReleaseResource) HasAgeMinutes() bool { + if o != nil && !isNil(o.AgeMinutes) { + return true + } + + return false +} + +// SetAgeMinutes gets a reference to the given float64 and assigns it to the AgeMinutes field. +func (o *ReleaseResource) SetAgeMinutes(v float64) { + o.AgeMinutes = &v +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *ReleaseResource) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *ReleaseResource) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *ReleaseResource) SetSize(v int64) { + o.Size = &v +} + +// GetIndexerId returns the IndexerId field value if set, zero value otherwise. +func (o *ReleaseResource) GetIndexerId() int32 { + if o == nil || isNil(o.IndexerId) { + var ret int32 + return ret + } + return *o.IndexerId +} + +// GetIndexerIdOk returns a tuple with the IndexerId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetIndexerIdOk() (*int32, bool) { + if o == nil || isNil(o.IndexerId) { + return nil, false + } + return o.IndexerId, true +} + +// HasIndexerId returns a boolean if a field has been set. +func (o *ReleaseResource) HasIndexerId() bool { + if o != nil && !isNil(o.IndexerId) { + return true + } + + return false +} + +// SetIndexerId gets a reference to the given int32 and assigns it to the IndexerId field. +func (o *ReleaseResource) SetIndexerId(v int32) { + o.IndexerId = &v +} + +// GetIndexer returns the Indexer field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetIndexer() string { + if o == nil || isNil(o.Indexer.Get()) { + var ret string + return ret + } + return *o.Indexer.Get() +} + +// GetIndexerOk returns a tuple with the Indexer field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetIndexerOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Indexer.Get(), o.Indexer.IsSet() +} + +// HasIndexer returns a boolean if a field has been set. +func (o *ReleaseResource) HasIndexer() bool { + if o != nil && o.Indexer.IsSet() { + return true + } + + return false +} + +// SetIndexer gets a reference to the given NullableString and assigns it to the Indexer field. +func (o *ReleaseResource) SetIndexer(v string) { + o.Indexer.Set(&v) +} +// SetIndexerNil sets the value for Indexer to be an explicit nil +func (o *ReleaseResource) SetIndexerNil() { + o.Indexer.Set(nil) +} + +// UnsetIndexer ensures that no value is present for Indexer, not even an explicit nil +func (o *ReleaseResource) UnsetIndexer() { + o.Indexer.Unset() +} + +// GetReleaseGroup returns the ReleaseGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetReleaseGroup() string { + if o == nil || isNil(o.ReleaseGroup.Get()) { + var ret string + return ret + } + return *o.ReleaseGroup.Get() +} + +// GetReleaseGroupOk returns a tuple with the ReleaseGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetReleaseGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseGroup.Get(), o.ReleaseGroup.IsSet() +} + +// HasReleaseGroup returns a boolean if a field has been set. +func (o *ReleaseResource) HasReleaseGroup() bool { + if o != nil && o.ReleaseGroup.IsSet() { + return true + } + + return false +} + +// SetReleaseGroup gets a reference to the given NullableString and assigns it to the ReleaseGroup field. +func (o *ReleaseResource) SetReleaseGroup(v string) { + o.ReleaseGroup.Set(&v) +} +// SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil +func (o *ReleaseResource) SetReleaseGroupNil() { + o.ReleaseGroup.Set(nil) +} + +// UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +func (o *ReleaseResource) UnsetReleaseGroup() { + o.ReleaseGroup.Unset() +} + +// GetSubGroup returns the SubGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetSubGroup() string { + if o == nil || isNil(o.SubGroup.Get()) { + var ret string + return ret + } + return *o.SubGroup.Get() +} + +// GetSubGroupOk returns a tuple with the SubGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetSubGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SubGroup.Get(), o.SubGroup.IsSet() +} + +// HasSubGroup returns a boolean if a field has been set. +func (o *ReleaseResource) HasSubGroup() bool { + if o != nil && o.SubGroup.IsSet() { + return true + } + + return false +} + +// SetSubGroup gets a reference to the given NullableString and assigns it to the SubGroup field. +func (o *ReleaseResource) SetSubGroup(v string) { + o.SubGroup.Set(&v) +} +// SetSubGroupNil sets the value for SubGroup to be an explicit nil +func (o *ReleaseResource) SetSubGroupNil() { + o.SubGroup.Set(nil) +} + +// UnsetSubGroup ensures that no value is present for SubGroup, not even an explicit nil +func (o *ReleaseResource) UnsetSubGroup() { + o.SubGroup.Unset() +} + +// GetReleaseHash returns the ReleaseHash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetReleaseHash() string { + if o == nil || isNil(o.ReleaseHash.Get()) { + var ret string + return ret + } + return *o.ReleaseHash.Get() +} + +// GetReleaseHashOk returns a tuple with the ReleaseHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetReleaseHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseHash.Get(), o.ReleaseHash.IsSet() +} + +// HasReleaseHash returns a boolean if a field has been set. +func (o *ReleaseResource) HasReleaseHash() bool { + if o != nil && o.ReleaseHash.IsSet() { + return true + } + + return false +} + +// SetReleaseHash gets a reference to the given NullableString and assigns it to the ReleaseHash field. +func (o *ReleaseResource) SetReleaseHash(v string) { + o.ReleaseHash.Set(&v) +} +// SetReleaseHashNil sets the value for ReleaseHash to be an explicit nil +func (o *ReleaseResource) SetReleaseHashNil() { + o.ReleaseHash.Set(nil) +} + +// UnsetReleaseHash ensures that no value is present for ReleaseHash, not even an explicit nil +func (o *ReleaseResource) UnsetReleaseHash() { + o.ReleaseHash.Unset() +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *ReleaseResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *ReleaseResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *ReleaseResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *ReleaseResource) UnsetTitle() { + o.Title.Unset() +} + +// GetDiscography returns the Discography field value if set, zero value otherwise. +func (o *ReleaseResource) GetDiscography() bool { + if o == nil || isNil(o.Discography) { + var ret bool + return ret + } + return *o.Discography +} + +// GetDiscographyOk returns a tuple with the Discography field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetDiscographyOk() (*bool, bool) { + if o == nil || isNil(o.Discography) { + return nil, false + } + return o.Discography, true +} + +// HasDiscography returns a boolean if a field has been set. +func (o *ReleaseResource) HasDiscography() bool { + if o != nil && !isNil(o.Discography) { + return true + } + + return false +} + +// SetDiscography gets a reference to the given bool and assigns it to the Discography field. +func (o *ReleaseResource) SetDiscography(v bool) { + o.Discography = &v +} + +// GetSceneSource returns the SceneSource field value if set, zero value otherwise. +func (o *ReleaseResource) GetSceneSource() bool { + if o == nil || isNil(o.SceneSource) { + var ret bool + return ret + } + return *o.SceneSource +} + +// GetSceneSourceOk returns a tuple with the SceneSource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetSceneSourceOk() (*bool, bool) { + if o == nil || isNil(o.SceneSource) { + return nil, false + } + return o.SceneSource, true +} + +// HasSceneSource returns a boolean if a field has been set. +func (o *ReleaseResource) HasSceneSource() bool { + if o != nil && !isNil(o.SceneSource) { + return true + } + + return false +} + +// SetSceneSource gets a reference to the given bool and assigns it to the SceneSource field. +func (o *ReleaseResource) SetSceneSource(v bool) { + o.SceneSource = &v +} + +// GetAirDate returns the AirDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetAirDate() string { + if o == nil || isNil(o.AirDate.Get()) { + var ret string + return ret + } + return *o.AirDate.Get() +} + +// GetAirDateOk returns a tuple with the AirDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetAirDateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AirDate.Get(), o.AirDate.IsSet() +} + +// HasAirDate returns a boolean if a field has been set. +func (o *ReleaseResource) HasAirDate() bool { + if o != nil && o.AirDate.IsSet() { + return true + } + + return false +} + +// SetAirDate gets a reference to the given NullableString and assigns it to the AirDate field. +func (o *ReleaseResource) SetAirDate(v string) { + o.AirDate.Set(&v) +} +// SetAirDateNil sets the value for AirDate to be an explicit nil +func (o *ReleaseResource) SetAirDateNil() { + o.AirDate.Set(nil) +} + +// UnsetAirDate ensures that no value is present for AirDate, not even an explicit nil +func (o *ReleaseResource) UnsetAirDate() { + o.AirDate.Unset() +} + +// GetArtistName returns the ArtistName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetArtistName() string { + if o == nil || isNil(o.ArtistName.Get()) { + var ret string + return ret + } + return *o.ArtistName.Get() +} + +// GetArtistNameOk returns a tuple with the ArtistName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetArtistNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtistName.Get(), o.ArtistName.IsSet() +} + +// HasArtistName returns a boolean if a field has been set. +func (o *ReleaseResource) HasArtistName() bool { + if o != nil && o.ArtistName.IsSet() { + return true + } + + return false +} + +// SetArtistName gets a reference to the given NullableString and assigns it to the ArtistName field. +func (o *ReleaseResource) SetArtistName(v string) { + o.ArtistName.Set(&v) +} +// SetArtistNameNil sets the value for ArtistName to be an explicit nil +func (o *ReleaseResource) SetArtistNameNil() { + o.ArtistName.Set(nil) +} + +// UnsetArtistName ensures that no value is present for ArtistName, not even an explicit nil +func (o *ReleaseResource) UnsetArtistName() { + o.ArtistName.Unset() +} + +// GetAlbumTitle returns the AlbumTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetAlbumTitle() string { + if o == nil || isNil(o.AlbumTitle.Get()) { + var ret string + return ret + } + return *o.AlbumTitle.Get() +} + +// GetAlbumTitleOk returns a tuple with the AlbumTitle field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetAlbumTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AlbumTitle.Get(), o.AlbumTitle.IsSet() +} + +// HasAlbumTitle returns a boolean if a field has been set. +func (o *ReleaseResource) HasAlbumTitle() bool { + if o != nil && o.AlbumTitle.IsSet() { + return true + } + + return false +} + +// SetAlbumTitle gets a reference to the given NullableString and assigns it to the AlbumTitle field. +func (o *ReleaseResource) SetAlbumTitle(v string) { + o.AlbumTitle.Set(&v) +} +// SetAlbumTitleNil sets the value for AlbumTitle to be an explicit nil +func (o *ReleaseResource) SetAlbumTitleNil() { + o.AlbumTitle.Set(nil) +} + +// UnsetAlbumTitle ensures that no value is present for AlbumTitle, not even an explicit nil +func (o *ReleaseResource) UnsetAlbumTitle() { + o.AlbumTitle.Unset() +} + +// GetApproved returns the Approved field value if set, zero value otherwise. +func (o *ReleaseResource) GetApproved() bool { + if o == nil || isNil(o.Approved) { + var ret bool + return ret + } + return *o.Approved +} + +// GetApprovedOk returns a tuple with the Approved field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetApprovedOk() (*bool, bool) { + if o == nil || isNil(o.Approved) { + return nil, false + } + return o.Approved, true +} + +// HasApproved returns a boolean if a field has been set. +func (o *ReleaseResource) HasApproved() bool { + if o != nil && !isNil(o.Approved) { + return true + } + + return false +} + +// SetApproved gets a reference to the given bool and assigns it to the Approved field. +func (o *ReleaseResource) SetApproved(v bool) { + o.Approved = &v +} + +// GetTemporarilyRejected returns the TemporarilyRejected field value if set, zero value otherwise. +func (o *ReleaseResource) GetTemporarilyRejected() bool { + if o == nil || isNil(o.TemporarilyRejected) { + var ret bool + return ret + } + return *o.TemporarilyRejected +} + +// GetTemporarilyRejectedOk returns a tuple with the TemporarilyRejected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetTemporarilyRejectedOk() (*bool, bool) { + if o == nil || isNil(o.TemporarilyRejected) { + return nil, false + } + return o.TemporarilyRejected, true +} + +// HasTemporarilyRejected returns a boolean if a field has been set. +func (o *ReleaseResource) HasTemporarilyRejected() bool { + if o != nil && !isNil(o.TemporarilyRejected) { + return true + } + + return false +} + +// SetTemporarilyRejected gets a reference to the given bool and assigns it to the TemporarilyRejected field. +func (o *ReleaseResource) SetTemporarilyRejected(v bool) { + o.TemporarilyRejected = &v +} + +// GetRejected returns the Rejected field value if set, zero value otherwise. +func (o *ReleaseResource) GetRejected() bool { + if o == nil || isNil(o.Rejected) { + var ret bool + return ret + } + return *o.Rejected +} + +// GetRejectedOk returns a tuple with the Rejected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetRejectedOk() (*bool, bool) { + if o == nil || isNil(o.Rejected) { + return nil, false + } + return o.Rejected, true +} + +// HasRejected returns a boolean if a field has been set. +func (o *ReleaseResource) HasRejected() bool { + if o != nil && !isNil(o.Rejected) { + return true + } + + return false +} + +// SetRejected gets a reference to the given bool and assigns it to the Rejected field. +func (o *ReleaseResource) SetRejected(v bool) { + o.Rejected = &v +} + +// GetRejections returns the Rejections field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetRejections() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Rejections +} + +// GetRejectionsOk returns a tuple with the Rejections field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetRejectionsOk() ([]*string, bool) { + if o == nil || isNil(o.Rejections) { + return nil, false + } + return o.Rejections, true +} + +// HasRejections returns a boolean if a field has been set. +func (o *ReleaseResource) HasRejections() bool { + if o != nil && isNil(o.Rejections) { + return true + } + + return false +} + +// SetRejections gets a reference to the given []string and assigns it to the Rejections field. +func (o *ReleaseResource) SetRejections(v []*string) { + o.Rejections = v +} + +// GetPublishDate returns the PublishDate field value if set, zero value otherwise. +func (o *ReleaseResource) GetPublishDate() time.Time { + if o == nil || isNil(o.PublishDate) { + var ret time.Time + return ret + } + return *o.PublishDate +} + +// GetPublishDateOk returns a tuple with the PublishDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetPublishDateOk() (*time.Time, bool) { + if o == nil || isNil(o.PublishDate) { + return nil, false + } + return o.PublishDate, true +} + +// HasPublishDate returns a boolean if a field has been set. +func (o *ReleaseResource) HasPublishDate() bool { + if o != nil && !isNil(o.PublishDate) { + return true + } + + return false +} + +// SetPublishDate gets a reference to the given time.Time and assigns it to the PublishDate field. +func (o *ReleaseResource) SetPublishDate(v time.Time) { + o.PublishDate = &v +} + +// GetCommentUrl returns the CommentUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetCommentUrl() string { + if o == nil || isNil(o.CommentUrl.Get()) { + var ret string + return ret + } + return *o.CommentUrl.Get() +} + +// GetCommentUrlOk returns a tuple with the CommentUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetCommentUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CommentUrl.Get(), o.CommentUrl.IsSet() +} + +// HasCommentUrl returns a boolean if a field has been set. +func (o *ReleaseResource) HasCommentUrl() bool { + if o != nil && o.CommentUrl.IsSet() { + return true + } + + return false +} + +// SetCommentUrl gets a reference to the given NullableString and assigns it to the CommentUrl field. +func (o *ReleaseResource) SetCommentUrl(v string) { + o.CommentUrl.Set(&v) +} +// SetCommentUrlNil sets the value for CommentUrl to be an explicit nil +func (o *ReleaseResource) SetCommentUrlNil() { + o.CommentUrl.Set(nil) +} + +// UnsetCommentUrl ensures that no value is present for CommentUrl, not even an explicit nil +func (o *ReleaseResource) UnsetCommentUrl() { + o.CommentUrl.Unset() +} + +// GetDownloadUrl returns the DownloadUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetDownloadUrl() string { + if o == nil || isNil(o.DownloadUrl.Get()) { + var ret string + return ret + } + return *o.DownloadUrl.Get() +} + +// GetDownloadUrlOk returns a tuple with the DownloadUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetDownloadUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DownloadUrl.Get(), o.DownloadUrl.IsSet() +} + +// HasDownloadUrl returns a boolean if a field has been set. +func (o *ReleaseResource) HasDownloadUrl() bool { + if o != nil && o.DownloadUrl.IsSet() { + return true + } + + return false +} + +// SetDownloadUrl gets a reference to the given NullableString and assigns it to the DownloadUrl field. +func (o *ReleaseResource) SetDownloadUrl(v string) { + o.DownloadUrl.Set(&v) +} +// SetDownloadUrlNil sets the value for DownloadUrl to be an explicit nil +func (o *ReleaseResource) SetDownloadUrlNil() { + o.DownloadUrl.Set(nil) +} + +// UnsetDownloadUrl ensures that no value is present for DownloadUrl, not even an explicit nil +func (o *ReleaseResource) UnsetDownloadUrl() { + o.DownloadUrl.Unset() +} + +// GetInfoUrl returns the InfoUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetInfoUrl() string { + if o == nil || isNil(o.InfoUrl.Get()) { + var ret string + return ret + } + return *o.InfoUrl.Get() +} + +// GetInfoUrlOk returns a tuple with the InfoUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetInfoUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoUrl.Get(), o.InfoUrl.IsSet() +} + +// HasInfoUrl returns a boolean if a field has been set. +func (o *ReleaseResource) HasInfoUrl() bool { + if o != nil && o.InfoUrl.IsSet() { + return true + } + + return false +} + +// SetInfoUrl gets a reference to the given NullableString and assigns it to the InfoUrl field. +func (o *ReleaseResource) SetInfoUrl(v string) { + o.InfoUrl.Set(&v) +} +// SetInfoUrlNil sets the value for InfoUrl to be an explicit nil +func (o *ReleaseResource) SetInfoUrlNil() { + o.InfoUrl.Set(nil) +} + +// UnsetInfoUrl ensures that no value is present for InfoUrl, not even an explicit nil +func (o *ReleaseResource) UnsetInfoUrl() { + o.InfoUrl.Unset() +} + +// GetDownloadAllowed returns the DownloadAllowed field value if set, zero value otherwise. +func (o *ReleaseResource) GetDownloadAllowed() bool { + if o == nil || isNil(o.DownloadAllowed) { + var ret bool + return ret + } + return *o.DownloadAllowed +} + +// GetDownloadAllowedOk returns a tuple with the DownloadAllowed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetDownloadAllowedOk() (*bool, bool) { + if o == nil || isNil(o.DownloadAllowed) { + return nil, false + } + return o.DownloadAllowed, true +} + +// HasDownloadAllowed returns a boolean if a field has been set. +func (o *ReleaseResource) HasDownloadAllowed() bool { + if o != nil && !isNil(o.DownloadAllowed) { + return true + } + + return false +} + +// SetDownloadAllowed gets a reference to the given bool and assigns it to the DownloadAllowed field. +func (o *ReleaseResource) SetDownloadAllowed(v bool) { + o.DownloadAllowed = &v +} + +// GetReleaseWeight returns the ReleaseWeight field value if set, zero value otherwise. +func (o *ReleaseResource) GetReleaseWeight() int32 { + if o == nil || isNil(o.ReleaseWeight) { + var ret int32 + return ret + } + return *o.ReleaseWeight +} + +// GetReleaseWeightOk returns a tuple with the ReleaseWeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetReleaseWeightOk() (*int32, bool) { + if o == nil || isNil(o.ReleaseWeight) { + return nil, false + } + return o.ReleaseWeight, true +} + +// HasReleaseWeight returns a boolean if a field has been set. +func (o *ReleaseResource) HasReleaseWeight() bool { + if o != nil && !isNil(o.ReleaseWeight) { + return true + } + + return false +} + +// SetReleaseWeight gets a reference to the given int32 and assigns it to the ReleaseWeight field. +func (o *ReleaseResource) SetReleaseWeight(v int32) { + o.ReleaseWeight = &v +} + +// GetPreferredWordScore returns the PreferredWordScore field value if set, zero value otherwise. +func (o *ReleaseResource) GetPreferredWordScore() int32 { + if o == nil || isNil(o.PreferredWordScore) { + var ret int32 + return ret + } + return *o.PreferredWordScore +} + +// GetPreferredWordScoreOk returns a tuple with the PreferredWordScore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetPreferredWordScoreOk() (*int32, bool) { + if o == nil || isNil(o.PreferredWordScore) { + return nil, false + } + return o.PreferredWordScore, true +} + +// HasPreferredWordScore returns a boolean if a field has been set. +func (o *ReleaseResource) HasPreferredWordScore() bool { + if o != nil && !isNil(o.PreferredWordScore) { + return true + } + + return false +} + +// SetPreferredWordScore gets a reference to the given int32 and assigns it to the PreferredWordScore field. +func (o *ReleaseResource) SetPreferredWordScore(v int32) { + o.PreferredWordScore = &v +} + +// GetMagnetUrl returns the MagnetUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetMagnetUrl() string { + if o == nil || isNil(o.MagnetUrl.Get()) { + var ret string + return ret + } + return *o.MagnetUrl.Get() +} + +// GetMagnetUrlOk returns a tuple with the MagnetUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetMagnetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.MagnetUrl.Get(), o.MagnetUrl.IsSet() +} + +// HasMagnetUrl returns a boolean if a field has been set. +func (o *ReleaseResource) HasMagnetUrl() bool { + if o != nil && o.MagnetUrl.IsSet() { + return true + } + + return false +} + +// SetMagnetUrl gets a reference to the given NullableString and assigns it to the MagnetUrl field. +func (o *ReleaseResource) SetMagnetUrl(v string) { + o.MagnetUrl.Set(&v) +} +// SetMagnetUrlNil sets the value for MagnetUrl to be an explicit nil +func (o *ReleaseResource) SetMagnetUrlNil() { + o.MagnetUrl.Set(nil) +} + +// UnsetMagnetUrl ensures that no value is present for MagnetUrl, not even an explicit nil +func (o *ReleaseResource) UnsetMagnetUrl() { + o.MagnetUrl.Unset() +} + +// GetInfoHash returns the InfoHash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetInfoHash() string { + if o == nil || isNil(o.InfoHash.Get()) { + var ret string + return ret + } + return *o.InfoHash.Get() +} + +// GetInfoHashOk returns a tuple with the InfoHash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetInfoHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InfoHash.Get(), o.InfoHash.IsSet() +} + +// HasInfoHash returns a boolean if a field has been set. +func (o *ReleaseResource) HasInfoHash() bool { + if o != nil && o.InfoHash.IsSet() { + return true + } + + return false +} + +// SetInfoHash gets a reference to the given NullableString and assigns it to the InfoHash field. +func (o *ReleaseResource) SetInfoHash(v string) { + o.InfoHash.Set(&v) +} +// SetInfoHashNil sets the value for InfoHash to be an explicit nil +func (o *ReleaseResource) SetInfoHashNil() { + o.InfoHash.Set(nil) +} + +// UnsetInfoHash ensures that no value is present for InfoHash, not even an explicit nil +func (o *ReleaseResource) UnsetInfoHash() { + o.InfoHash.Unset() +} + +// GetSeeders returns the Seeders field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetSeeders() int32 { + if o == nil || isNil(o.Seeders.Get()) { + var ret int32 + return ret + } + return *o.Seeders.Get() +} + +// GetSeedersOk returns a tuple with the Seeders field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetSeedersOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Seeders.Get(), o.Seeders.IsSet() +} + +// HasSeeders returns a boolean if a field has been set. +func (o *ReleaseResource) HasSeeders() bool { + if o != nil && o.Seeders.IsSet() { + return true + } + + return false +} + +// SetSeeders gets a reference to the given NullableInt32 and assigns it to the Seeders field. +func (o *ReleaseResource) SetSeeders(v int32) { + o.Seeders.Set(&v) +} +// SetSeedersNil sets the value for Seeders to be an explicit nil +func (o *ReleaseResource) SetSeedersNil() { + o.Seeders.Set(nil) +} + +// UnsetSeeders ensures that no value is present for Seeders, not even an explicit nil +func (o *ReleaseResource) UnsetSeeders() { + o.Seeders.Unset() +} + +// GetLeechers returns the Leechers field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetLeechers() int32 { + if o == nil || isNil(o.Leechers.Get()) { + var ret int32 + return ret + } + return *o.Leechers.Get() +} + +// GetLeechersOk returns a tuple with the Leechers field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetLeechersOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.Leechers.Get(), o.Leechers.IsSet() +} + +// HasLeechers returns a boolean if a field has been set. +func (o *ReleaseResource) HasLeechers() bool { + if o != nil && o.Leechers.IsSet() { + return true + } + + return false +} + +// SetLeechers gets a reference to the given NullableInt32 and assigns it to the Leechers field. +func (o *ReleaseResource) SetLeechers(v int32) { + o.Leechers.Set(&v) +} +// SetLeechersNil sets the value for Leechers to be an explicit nil +func (o *ReleaseResource) SetLeechersNil() { + o.Leechers.Set(nil) +} + +// UnsetLeechers ensures that no value is present for Leechers, not even an explicit nil +func (o *ReleaseResource) UnsetLeechers() { + o.Leechers.Unset() +} + +// GetProtocol returns the Protocol field value if set, zero value otherwise. +func (o *ReleaseResource) GetProtocol() DownloadProtocol { + if o == nil || isNil(o.Protocol) { + var ret DownloadProtocol + return ret + } + return *o.Protocol +} + +// GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseResource) GetProtocolOk() (*DownloadProtocol, bool) { + if o == nil || isNil(o.Protocol) { + return nil, false + } + return o.Protocol, true +} + +// HasProtocol returns a boolean if a field has been set. +func (o *ReleaseResource) HasProtocol() bool { + if o != nil && !isNil(o.Protocol) { + return true + } + + return false +} + +// SetProtocol gets a reference to the given DownloadProtocol and assigns it to the Protocol field. +func (o *ReleaseResource) SetProtocol(v DownloadProtocol) { + o.Protocol = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId.Get()) { + var ret int32 + return ret + } + return *o.ArtistId.Get() +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetArtistIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.ArtistId.Get(), o.ArtistId.IsSet() +} + +// HasArtistId returns a boolean if a field has been set. +func (o *ReleaseResource) HasArtistId() bool { + if o != nil && o.ArtistId.IsSet() { + return true + } + + return false +} + +// SetArtistId gets a reference to the given NullableInt32 and assigns it to the ArtistId field. +func (o *ReleaseResource) SetArtistId(v int32) { + o.ArtistId.Set(&v) +} +// SetArtistIdNil sets the value for ArtistId to be an explicit nil +func (o *ReleaseResource) SetArtistIdNil() { + o.ArtistId.Set(nil) +} + +// UnsetArtistId ensures that no value is present for ArtistId, not even an explicit nil +func (o *ReleaseResource) UnsetArtistId() { + o.ArtistId.Unset() +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId.Get()) { + var ret int32 + return ret + } + return *o.AlbumId.Get() +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseResource) GetAlbumIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.AlbumId.Get(), o.AlbumId.IsSet() +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *ReleaseResource) HasAlbumId() bool { + if o != nil && o.AlbumId.IsSet() { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given NullableInt32 and assigns it to the AlbumId field. +func (o *ReleaseResource) SetAlbumId(v int32) { + o.AlbumId.Set(&v) +} +// SetAlbumIdNil sets the value for AlbumId to be an explicit nil +func (o *ReleaseResource) SetAlbumIdNil() { + o.AlbumId.Set(nil) +} + +// UnsetAlbumId ensures that no value is present for AlbumId, not even an explicit nil +func (o *ReleaseResource) UnsetAlbumId() { + o.AlbumId.Unset() +} + +func (o ReleaseResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Guid.IsSet() { + toSerialize["guid"] = o.Guid.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.QualityWeight) { + toSerialize["qualityWeight"] = o.QualityWeight + } + if !isNil(o.Age) { + toSerialize["age"] = o.Age + } + if !isNil(o.AgeHours) { + toSerialize["ageHours"] = o.AgeHours + } + if !isNil(o.AgeMinutes) { + toSerialize["ageMinutes"] = o.AgeMinutes + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.IndexerId) { + toSerialize["indexerId"] = o.IndexerId + } + if o.Indexer.IsSet() { + toSerialize["indexer"] = o.Indexer.Get() + } + if o.ReleaseGroup.IsSet() { + toSerialize["releaseGroup"] = o.ReleaseGroup.Get() + } + if o.SubGroup.IsSet() { + toSerialize["subGroup"] = o.SubGroup.Get() + } + if o.ReleaseHash.IsSet() { + toSerialize["releaseHash"] = o.ReleaseHash.Get() + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.Discography) { + toSerialize["discography"] = o.Discography + } + if !isNil(o.SceneSource) { + toSerialize["sceneSource"] = o.SceneSource + } + if o.AirDate.IsSet() { + toSerialize["airDate"] = o.AirDate.Get() + } + if o.ArtistName.IsSet() { + toSerialize["artistName"] = o.ArtistName.Get() + } + if o.AlbumTitle.IsSet() { + toSerialize["albumTitle"] = o.AlbumTitle.Get() + } + if !isNil(o.Approved) { + toSerialize["approved"] = o.Approved + } + if !isNil(o.TemporarilyRejected) { + toSerialize["temporarilyRejected"] = o.TemporarilyRejected + } + if !isNil(o.Rejected) { + toSerialize["rejected"] = o.Rejected + } + if o.Rejections != nil { + toSerialize["rejections"] = o.Rejections + } + if !isNil(o.PublishDate) { + toSerialize["publishDate"] = o.PublishDate + } + if o.CommentUrl.IsSet() { + toSerialize["commentUrl"] = o.CommentUrl.Get() + } + if o.DownloadUrl.IsSet() { + toSerialize["downloadUrl"] = o.DownloadUrl.Get() + } + if o.InfoUrl.IsSet() { + toSerialize["infoUrl"] = o.InfoUrl.Get() + } + if !isNil(o.DownloadAllowed) { + toSerialize["downloadAllowed"] = o.DownloadAllowed + } + if !isNil(o.ReleaseWeight) { + toSerialize["releaseWeight"] = o.ReleaseWeight + } + if !isNil(o.PreferredWordScore) { + toSerialize["preferredWordScore"] = o.PreferredWordScore + } + if o.MagnetUrl.IsSet() { + toSerialize["magnetUrl"] = o.MagnetUrl.Get() + } + if o.InfoHash.IsSet() { + toSerialize["infoHash"] = o.InfoHash.Get() + } + if o.Seeders.IsSet() { + toSerialize["seeders"] = o.Seeders.Get() + } + if o.Leechers.IsSet() { + toSerialize["leechers"] = o.Leechers.Get() + } + if !isNil(o.Protocol) { + toSerialize["protocol"] = o.Protocol + } + if o.ArtistId.IsSet() { + toSerialize["artistId"] = o.ArtistId.Get() + } + if o.AlbumId.IsSet() { + toSerialize["albumId"] = o.AlbumId.Get() + } + return json.Marshal(toSerialize) +} + +type NullableReleaseResource struct { + value *ReleaseResource + isSet bool +} + +func (v NullableReleaseResource) Get() *ReleaseResource { + return v.value +} + +func (v *NullableReleaseResource) Set(val *ReleaseResource) { + v.value = val + v.isSet = true +} + +func (v NullableReleaseResource) IsSet() bool { + return v.isSet +} + +func (v *NullableReleaseResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReleaseResource(val *ReleaseResource) *NullableReleaseResource { + return &NullableReleaseResource{value: val, isSet: true} +} + +func (v NullableReleaseResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReleaseResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_release_status.go b/lidarr/model_release_status.go new file mode 100644 index 0000000..d5d7e6b --- /dev/null +++ b/lidarr/model_release_status.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// ReleaseStatus struct for ReleaseStatus +type ReleaseStatus struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewReleaseStatus instantiates a new ReleaseStatus object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewReleaseStatus() *ReleaseStatus { + this := ReleaseStatus{} + return &this +} + +// NewReleaseStatusWithDefaults instantiates a new ReleaseStatus object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewReleaseStatusWithDefaults() *ReleaseStatus { + this := ReleaseStatus{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *ReleaseStatus) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ReleaseStatus) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *ReleaseStatus) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *ReleaseStatus) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ReleaseStatus) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ReleaseStatus) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ReleaseStatus) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ReleaseStatus) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *ReleaseStatus) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ReleaseStatus) UnsetName() { + o.Name.Unset() +} + +func (o ReleaseStatus) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullableReleaseStatus struct { + value *ReleaseStatus + isSet bool +} + +func (v NullableReleaseStatus) Get() *ReleaseStatus { + return v.value +} + +func (v *NullableReleaseStatus) Set(val *ReleaseStatus) { + v.value = val + v.isSet = true +} + +func (v NullableReleaseStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableReleaseStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableReleaseStatus(val *ReleaseStatus) *NullableReleaseStatus { + return &NullableReleaseStatus{value: val, isSet: true} +} + +func (v NullableReleaseStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableReleaseStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_remote_path_mapping_resource.go b/lidarr/model_remote_path_mapping_resource.go new file mode 100644 index 0000000..f233c20 --- /dev/null +++ b/lidarr/model_remote_path_mapping_resource.go @@ -0,0 +1,253 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// RemotePathMappingResource struct for RemotePathMappingResource +type RemotePathMappingResource struct { + Id *int32 `json:"id,omitempty"` + Host NullableString `json:"host,omitempty"` + RemotePath NullableString `json:"remotePath,omitempty"` + LocalPath NullableString `json:"localPath,omitempty"` +} + +// NewRemotePathMappingResource instantiates a new RemotePathMappingResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRemotePathMappingResource() *RemotePathMappingResource { + this := RemotePathMappingResource{} + return &this +} + +// NewRemotePathMappingResourceWithDefaults instantiates a new RemotePathMappingResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRemotePathMappingResourceWithDefaults() *RemotePathMappingResource { + this := RemotePathMappingResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RemotePathMappingResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RemotePathMappingResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RemotePathMappingResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *RemotePathMappingResource) SetId(v int32) { + o.Id = &v +} + +// GetHost returns the Host field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RemotePathMappingResource) GetHost() string { + if o == nil || isNil(o.Host.Get()) { + var ret string + return ret + } + return *o.Host.Get() +} + +// GetHostOk returns a tuple with the Host field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RemotePathMappingResource) GetHostOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Host.Get(), o.Host.IsSet() +} + +// HasHost returns a boolean if a field has been set. +func (o *RemotePathMappingResource) HasHost() bool { + if o != nil && o.Host.IsSet() { + return true + } + + return false +} + +// SetHost gets a reference to the given NullableString and assigns it to the Host field. +func (o *RemotePathMappingResource) SetHost(v string) { + o.Host.Set(&v) +} +// SetHostNil sets the value for Host to be an explicit nil +func (o *RemotePathMappingResource) SetHostNil() { + o.Host.Set(nil) +} + +// UnsetHost ensures that no value is present for Host, not even an explicit nil +func (o *RemotePathMappingResource) UnsetHost() { + o.Host.Unset() +} + +// GetRemotePath returns the RemotePath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RemotePathMappingResource) GetRemotePath() string { + if o == nil || isNil(o.RemotePath.Get()) { + var ret string + return ret + } + return *o.RemotePath.Get() +} + +// GetRemotePathOk returns a tuple with the RemotePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RemotePathMappingResource) GetRemotePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RemotePath.Get(), o.RemotePath.IsSet() +} + +// HasRemotePath returns a boolean if a field has been set. +func (o *RemotePathMappingResource) HasRemotePath() bool { + if o != nil && o.RemotePath.IsSet() { + return true + } + + return false +} + +// SetRemotePath gets a reference to the given NullableString and assigns it to the RemotePath field. +func (o *RemotePathMappingResource) SetRemotePath(v string) { + o.RemotePath.Set(&v) +} +// SetRemotePathNil sets the value for RemotePath to be an explicit nil +func (o *RemotePathMappingResource) SetRemotePathNil() { + o.RemotePath.Set(nil) +} + +// UnsetRemotePath ensures that no value is present for RemotePath, not even an explicit nil +func (o *RemotePathMappingResource) UnsetRemotePath() { + o.RemotePath.Unset() +} + +// GetLocalPath returns the LocalPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RemotePathMappingResource) GetLocalPath() string { + if o == nil || isNil(o.LocalPath.Get()) { + var ret string + return ret + } + return *o.LocalPath.Get() +} + +// GetLocalPathOk returns a tuple with the LocalPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RemotePathMappingResource) GetLocalPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LocalPath.Get(), o.LocalPath.IsSet() +} + +// HasLocalPath returns a boolean if a field has been set. +func (o *RemotePathMappingResource) HasLocalPath() bool { + if o != nil && o.LocalPath.IsSet() { + return true + } + + return false +} + +// SetLocalPath gets a reference to the given NullableString and assigns it to the LocalPath field. +func (o *RemotePathMappingResource) SetLocalPath(v string) { + o.LocalPath.Set(&v) +} +// SetLocalPathNil sets the value for LocalPath to be an explicit nil +func (o *RemotePathMappingResource) SetLocalPathNil() { + o.LocalPath.Set(nil) +} + +// UnsetLocalPath ensures that no value is present for LocalPath, not even an explicit nil +func (o *RemotePathMappingResource) UnsetLocalPath() { + o.LocalPath.Unset() +} + +func (o RemotePathMappingResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Host.IsSet() { + toSerialize["host"] = o.Host.Get() + } + if o.RemotePath.IsSet() { + toSerialize["remotePath"] = o.RemotePath.Get() + } + if o.LocalPath.IsSet() { + toSerialize["localPath"] = o.LocalPath.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRemotePathMappingResource struct { + value *RemotePathMappingResource + isSet bool +} + +func (v NullableRemotePathMappingResource) Get() *RemotePathMappingResource { + return v.value +} + +func (v *NullableRemotePathMappingResource) Set(val *RemotePathMappingResource) { + v.value = val + v.isSet = true +} + +func (v NullableRemotePathMappingResource) IsSet() bool { + return v.isSet +} + +func (v *NullableRemotePathMappingResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRemotePathMappingResource(val *RemotePathMappingResource) *NullableRemotePathMappingResource { + return &NullableRemotePathMappingResource{value: val, isSet: true} +} + +func (v NullableRemotePathMappingResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRemotePathMappingResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_rename_track_resource.go b/lidarr/model_rename_track_resource.go new file mode 100644 index 0000000..54bc026 --- /dev/null +++ b/lidarr/model_rename_track_resource.go @@ -0,0 +1,352 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// RenameTrackResource struct for RenameTrackResource +type RenameTrackResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + TrackNumbers []*int32 `json:"trackNumbers,omitempty"` + TrackFileId *int32 `json:"trackFileId,omitempty"` + ExistingPath NullableString `json:"existingPath,omitempty"` + NewPath NullableString `json:"newPath,omitempty"` +} + +// NewRenameTrackResource instantiates a new RenameTrackResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRenameTrackResource() *RenameTrackResource { + this := RenameTrackResource{} + return &this +} + +// NewRenameTrackResourceWithDefaults instantiates a new RenameTrackResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRenameTrackResourceWithDefaults() *RenameTrackResource { + this := RenameTrackResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RenameTrackResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenameTrackResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RenameTrackResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *RenameTrackResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *RenameTrackResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenameTrackResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *RenameTrackResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *RenameTrackResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *RenameTrackResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenameTrackResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *RenameTrackResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *RenameTrackResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetTrackNumbers returns the TrackNumbers field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RenameTrackResource) GetTrackNumbers() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.TrackNumbers +} + +// GetTrackNumbersOk returns a tuple with the TrackNumbers field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RenameTrackResource) GetTrackNumbersOk() ([]*int32, bool) { + if o == nil || isNil(o.TrackNumbers) { + return nil, false + } + return o.TrackNumbers, true +} + +// HasTrackNumbers returns a boolean if a field has been set. +func (o *RenameTrackResource) HasTrackNumbers() bool { + if o != nil && isNil(o.TrackNumbers) { + return true + } + + return false +} + +// SetTrackNumbers gets a reference to the given []int32 and assigns it to the TrackNumbers field. +func (o *RenameTrackResource) SetTrackNumbers(v []*int32) { + o.TrackNumbers = v +} + +// GetTrackFileId returns the TrackFileId field value if set, zero value otherwise. +func (o *RenameTrackResource) GetTrackFileId() int32 { + if o == nil || isNil(o.TrackFileId) { + var ret int32 + return ret + } + return *o.TrackFileId +} + +// GetTrackFileIdOk returns a tuple with the TrackFileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RenameTrackResource) GetTrackFileIdOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileId) { + return nil, false + } + return o.TrackFileId, true +} + +// HasTrackFileId returns a boolean if a field has been set. +func (o *RenameTrackResource) HasTrackFileId() bool { + if o != nil && !isNil(o.TrackFileId) { + return true + } + + return false +} + +// SetTrackFileId gets a reference to the given int32 and assigns it to the TrackFileId field. +func (o *RenameTrackResource) SetTrackFileId(v int32) { + o.TrackFileId = &v +} + +// GetExistingPath returns the ExistingPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RenameTrackResource) GetExistingPath() string { + if o == nil || isNil(o.ExistingPath.Get()) { + var ret string + return ret + } + return *o.ExistingPath.Get() +} + +// GetExistingPathOk returns a tuple with the ExistingPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RenameTrackResource) GetExistingPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExistingPath.Get(), o.ExistingPath.IsSet() +} + +// HasExistingPath returns a boolean if a field has been set. +func (o *RenameTrackResource) HasExistingPath() bool { + if o != nil && o.ExistingPath.IsSet() { + return true + } + + return false +} + +// SetExistingPath gets a reference to the given NullableString and assigns it to the ExistingPath field. +func (o *RenameTrackResource) SetExistingPath(v string) { + o.ExistingPath.Set(&v) +} +// SetExistingPathNil sets the value for ExistingPath to be an explicit nil +func (o *RenameTrackResource) SetExistingPathNil() { + o.ExistingPath.Set(nil) +} + +// UnsetExistingPath ensures that no value is present for ExistingPath, not even an explicit nil +func (o *RenameTrackResource) UnsetExistingPath() { + o.ExistingPath.Unset() +} + +// GetNewPath returns the NewPath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RenameTrackResource) GetNewPath() string { + if o == nil || isNil(o.NewPath.Get()) { + var ret string + return ret + } + return *o.NewPath.Get() +} + +// GetNewPathOk returns a tuple with the NewPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RenameTrackResource) GetNewPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.NewPath.Get(), o.NewPath.IsSet() +} + +// HasNewPath returns a boolean if a field has been set. +func (o *RenameTrackResource) HasNewPath() bool { + if o != nil && o.NewPath.IsSet() { + return true + } + + return false +} + +// SetNewPath gets a reference to the given NullableString and assigns it to the NewPath field. +func (o *RenameTrackResource) SetNewPath(v string) { + o.NewPath.Set(&v) +} +// SetNewPathNil sets the value for NewPath to be an explicit nil +func (o *RenameTrackResource) SetNewPathNil() { + o.NewPath.Set(nil) +} + +// UnsetNewPath ensures that no value is present for NewPath, not even an explicit nil +func (o *RenameTrackResource) UnsetNewPath() { + o.NewPath.Unset() +} + +func (o RenameTrackResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if o.TrackNumbers != nil { + toSerialize["trackNumbers"] = o.TrackNumbers + } + if !isNil(o.TrackFileId) { + toSerialize["trackFileId"] = o.TrackFileId + } + if o.ExistingPath.IsSet() { + toSerialize["existingPath"] = o.ExistingPath.Get() + } + if o.NewPath.IsSet() { + toSerialize["newPath"] = o.NewPath.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRenameTrackResource struct { + value *RenameTrackResource + isSet bool +} + +func (v NullableRenameTrackResource) Get() *RenameTrackResource { + return v.value +} + +func (v *NullableRenameTrackResource) Set(val *RenameTrackResource) { + v.value = val + v.isSet = true +} + +func (v NullableRenameTrackResource) IsSet() bool { + return v.isSet +} + +func (v *NullableRenameTrackResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRenameTrackResource(val *RenameTrackResource) *NullableRenameTrackResource { + return &NullableRenameTrackResource{value: val, isSet: true} +} + +func (v NullableRenameTrackResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRenameTrackResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_rescan_after_refresh_type.go b/lidarr/model_rescan_after_refresh_type.go new file mode 100644 index 0000000..0b8b0df --- /dev/null +++ b/lidarr/model_rescan_after_refresh_type.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// RescanAfterRefreshType the model 'RescanAfterRefreshType' +type RescanAfterRefreshType string + +// List of RescanAfterRefreshType +const ( + RESCANAFTERREFRESHTYPE_ALWAYS RescanAfterRefreshType = "always" + RESCANAFTERREFRESHTYPE_AFTER_MANUAL RescanAfterRefreshType = "afterManual" + RESCANAFTERREFRESHTYPE_NEVER RescanAfterRefreshType = "never" +) + +// All allowed values of RescanAfterRefreshType enum +var AllowedRescanAfterRefreshTypeEnumValues = []RescanAfterRefreshType{ + "always", + "afterManual", + "never", +} + +func (v *RescanAfterRefreshType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := RescanAfterRefreshType(value) + for _, existing := range AllowedRescanAfterRefreshTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid RescanAfterRefreshType", value) +} + +// NewRescanAfterRefreshTypeFromValue returns a pointer to a valid RescanAfterRefreshType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewRescanAfterRefreshTypeFromValue(v string) (*RescanAfterRefreshType, error) { + ev := RescanAfterRefreshType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for RescanAfterRefreshType: valid values are %v", v, AllowedRescanAfterRefreshTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v RescanAfterRefreshType) IsValid() bool { + for _, existing := range AllowedRescanAfterRefreshTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to RescanAfterRefreshType value +func (v RescanAfterRefreshType) Ptr() *RescanAfterRefreshType { + return &v +} + +type NullableRescanAfterRefreshType struct { + value *RescanAfterRefreshType + isSet bool +} + +func (v NullableRescanAfterRefreshType) Get() *RescanAfterRefreshType { + return v.value +} + +func (v *NullableRescanAfterRefreshType) Set(val *RescanAfterRefreshType) { + v.value = val + v.isSet = true +} + +func (v NullableRescanAfterRefreshType) IsSet() bool { + return v.isSet +} + +func (v *NullableRescanAfterRefreshType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRescanAfterRefreshType(val *RescanAfterRefreshType) *NullableRescanAfterRefreshType { + return &NullableRescanAfterRefreshType{value: val, isSet: true} +} + +func (v NullableRescanAfterRefreshType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRescanAfterRefreshType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_retag_track_resource.go b/lidarr/model_retag_track_resource.go new file mode 100644 index 0000000..e4ba7ad --- /dev/null +++ b/lidarr/model_retag_track_resource.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// RetagTrackResource struct for RetagTrackResource +type RetagTrackResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + TrackNumbers []*int32 `json:"trackNumbers,omitempty"` + TrackFileId *int32 `json:"trackFileId,omitempty"` + Path NullableString `json:"path,omitempty"` + Changes []*TagDifference `json:"changes,omitempty"` +} + +// NewRetagTrackResource instantiates a new RetagTrackResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRetagTrackResource() *RetagTrackResource { + this := RetagTrackResource{} + return &this +} + +// NewRetagTrackResourceWithDefaults instantiates a new RetagTrackResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRetagTrackResourceWithDefaults() *RetagTrackResource { + this := RetagTrackResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RetagTrackResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RetagTrackResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RetagTrackResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *RetagTrackResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *RetagTrackResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RetagTrackResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *RetagTrackResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *RetagTrackResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *RetagTrackResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RetagTrackResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *RetagTrackResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *RetagTrackResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetTrackNumbers returns the TrackNumbers field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RetagTrackResource) GetTrackNumbers() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.TrackNumbers +} + +// GetTrackNumbersOk returns a tuple with the TrackNumbers field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RetagTrackResource) GetTrackNumbersOk() ([]*int32, bool) { + if o == nil || isNil(o.TrackNumbers) { + return nil, false + } + return o.TrackNumbers, true +} + +// HasTrackNumbers returns a boolean if a field has been set. +func (o *RetagTrackResource) HasTrackNumbers() bool { + if o != nil && isNil(o.TrackNumbers) { + return true + } + + return false +} + +// SetTrackNumbers gets a reference to the given []int32 and assigns it to the TrackNumbers field. +func (o *RetagTrackResource) SetTrackNumbers(v []*int32) { + o.TrackNumbers = v +} + +// GetTrackFileId returns the TrackFileId field value if set, zero value otherwise. +func (o *RetagTrackResource) GetTrackFileId() int32 { + if o == nil || isNil(o.TrackFileId) { + var ret int32 + return ret + } + return *o.TrackFileId +} + +// GetTrackFileIdOk returns a tuple with the TrackFileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RetagTrackResource) GetTrackFileIdOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileId) { + return nil, false + } + return o.TrackFileId, true +} + +// HasTrackFileId returns a boolean if a field has been set. +func (o *RetagTrackResource) HasTrackFileId() bool { + if o != nil && !isNil(o.TrackFileId) { + return true + } + + return false +} + +// SetTrackFileId gets a reference to the given int32 and assigns it to the TrackFileId field. +func (o *RetagTrackResource) SetTrackFileId(v int32) { + o.TrackFileId = &v +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RetagTrackResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RetagTrackResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *RetagTrackResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *RetagTrackResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *RetagTrackResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *RetagTrackResource) UnsetPath() { + o.Path.Unset() +} + +// GetChanges returns the Changes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RetagTrackResource) GetChanges() []*TagDifference { + if o == nil { + var ret []*TagDifference + return ret + } + return o.Changes +} + +// GetChangesOk returns a tuple with the Changes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RetagTrackResource) GetChangesOk() ([]*TagDifference, bool) { + if o == nil || isNil(o.Changes) { + return nil, false + } + return o.Changes, true +} + +// HasChanges returns a boolean if a field has been set. +func (o *RetagTrackResource) HasChanges() bool { + if o != nil && isNil(o.Changes) { + return true + } + + return false +} + +// SetChanges gets a reference to the given []TagDifference and assigns it to the Changes field. +func (o *RetagTrackResource) SetChanges(v []*TagDifference) { + o.Changes = v +} + +func (o RetagTrackResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if o.TrackNumbers != nil { + toSerialize["trackNumbers"] = o.TrackNumbers + } + if !isNil(o.TrackFileId) { + toSerialize["trackFileId"] = o.TrackFileId + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if o.Changes != nil { + toSerialize["changes"] = o.Changes + } + return json.Marshal(toSerialize) +} + +type NullableRetagTrackResource struct { + value *RetagTrackResource + isSet bool +} + +func (v NullableRetagTrackResource) Get() *RetagTrackResource { + return v.value +} + +func (v *NullableRetagTrackResource) Set(val *RetagTrackResource) { + v.value = val + v.isSet = true +} + +func (v NullableRetagTrackResource) IsSet() bool { + return v.isSet +} + +func (v *NullableRetagTrackResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRetagTrackResource(val *RetagTrackResource) *NullableRetagTrackResource { + return &NullableRetagTrackResource{value: val, isSet: true} +} + +func (v NullableRetagTrackResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRetagTrackResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_revision.go b/lidarr/model_revision.go new file mode 100644 index 0000000..547efdd --- /dev/null +++ b/lidarr/model_revision.go @@ -0,0 +1,187 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Revision struct for Revision +type Revision struct { + Version *int32 `json:"version,omitempty"` + Real *int32 `json:"real,omitempty"` + IsRepack *bool `json:"isRepack,omitempty"` +} + +// NewRevision instantiates a new Revision object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRevision() *Revision { + this := Revision{} + return &this +} + +// NewRevisionWithDefaults instantiates a new Revision object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRevisionWithDefaults() *Revision { + this := Revision{} + return &this +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *Revision) GetVersion() int32 { + if o == nil || isNil(o.Version) { + var ret int32 + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Revision) GetVersionOk() (*int32, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *Revision) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given int32 and assigns it to the Version field. +func (o *Revision) SetVersion(v int32) { + o.Version = &v +} + +// GetReal returns the Real field value if set, zero value otherwise. +func (o *Revision) GetReal() int32 { + if o == nil || isNil(o.Real) { + var ret int32 + return ret + } + return *o.Real +} + +// GetRealOk returns a tuple with the Real field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Revision) GetRealOk() (*int32, bool) { + if o == nil || isNil(o.Real) { + return nil, false + } + return o.Real, true +} + +// HasReal returns a boolean if a field has been set. +func (o *Revision) HasReal() bool { + if o != nil && !isNil(o.Real) { + return true + } + + return false +} + +// SetReal gets a reference to the given int32 and assigns it to the Real field. +func (o *Revision) SetReal(v int32) { + o.Real = &v +} + +// GetIsRepack returns the IsRepack field value if set, zero value otherwise. +func (o *Revision) GetIsRepack() bool { + if o == nil || isNil(o.IsRepack) { + var ret bool + return ret + } + return *o.IsRepack +} + +// GetIsRepackOk returns a tuple with the IsRepack field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Revision) GetIsRepackOk() (*bool, bool) { + if o == nil || isNil(o.IsRepack) { + return nil, false + } + return o.IsRepack, true +} + +// HasIsRepack returns a boolean if a field has been set. +func (o *Revision) HasIsRepack() bool { + if o != nil && !isNil(o.IsRepack) { + return true + } + + return false +} + +// SetIsRepack gets a reference to the given bool and assigns it to the IsRepack field. +func (o *Revision) SetIsRepack(v bool) { + o.IsRepack = &v +} + +func (o Revision) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.Real) { + toSerialize["real"] = o.Real + } + if !isNil(o.IsRepack) { + toSerialize["isRepack"] = o.IsRepack + } + return json.Marshal(toSerialize) +} + +type NullableRevision struct { + value *Revision + isSet bool +} + +func (v NullableRevision) Get() *Revision { + return v.value +} + +func (v *NullableRevision) Set(val *Revision) { + v.value = val + v.isSet = true +} + +func (v NullableRevision) IsSet() bool { + return v.isSet +} + +func (v *NullableRevision) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRevision(val *Revision) *NullableRevision { + return &NullableRevision{value: val, isSet: true} +} + +func (v NullableRevision) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRevision) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_root_folder_resource.go b/lidarr/model_root_folder_resource.go new file mode 100644 index 0000000..4ad0dca --- /dev/null +++ b/lidarr/model_root_folder_resource.go @@ -0,0 +1,516 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// RootFolderResource struct for RootFolderResource +type RootFolderResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + Path NullableString `json:"path,omitempty"` + DefaultMetadataProfileId *int32 `json:"defaultMetadataProfileId,omitempty"` + DefaultQualityProfileId *int32 `json:"defaultQualityProfileId,omitempty"` + DefaultMonitorOption *MonitorTypes `json:"defaultMonitorOption,omitempty"` + DefaultNewItemMonitorOption *NewItemMonitorTypes `json:"defaultNewItemMonitorOption,omitempty"` + DefaultTags []*int32 `json:"defaultTags,omitempty"` + Accessible *bool `json:"accessible,omitempty"` + FreeSpace NullableInt64 `json:"freeSpace,omitempty"` + TotalSpace NullableInt64 `json:"totalSpace,omitempty"` +} + +// NewRootFolderResource instantiates a new RootFolderResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewRootFolderResource() *RootFolderResource { + this := RootFolderResource{} + return &this +} + +// NewRootFolderResourceWithDefaults instantiates a new RootFolderResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRootFolderResourceWithDefaults() *RootFolderResource { + this := RootFolderResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *RootFolderResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *RootFolderResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *RootFolderResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RootFolderResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RootFolderResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *RootFolderResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *RootFolderResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *RootFolderResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *RootFolderResource) UnsetName() { + o.Name.Unset() +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RootFolderResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RootFolderResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *RootFolderResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *RootFolderResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *RootFolderResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *RootFolderResource) UnsetPath() { + o.Path.Unset() +} + +// GetDefaultMetadataProfileId returns the DefaultMetadataProfileId field value if set, zero value otherwise. +func (o *RootFolderResource) GetDefaultMetadataProfileId() int32 { + if o == nil || isNil(o.DefaultMetadataProfileId) { + var ret int32 + return ret + } + return *o.DefaultMetadataProfileId +} + +// GetDefaultMetadataProfileIdOk returns a tuple with the DefaultMetadataProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetDefaultMetadataProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.DefaultMetadataProfileId) { + return nil, false + } + return o.DefaultMetadataProfileId, true +} + +// HasDefaultMetadataProfileId returns a boolean if a field has been set. +func (o *RootFolderResource) HasDefaultMetadataProfileId() bool { + if o != nil && !isNil(o.DefaultMetadataProfileId) { + return true + } + + return false +} + +// SetDefaultMetadataProfileId gets a reference to the given int32 and assigns it to the DefaultMetadataProfileId field. +func (o *RootFolderResource) SetDefaultMetadataProfileId(v int32) { + o.DefaultMetadataProfileId = &v +} + +// GetDefaultQualityProfileId returns the DefaultQualityProfileId field value if set, zero value otherwise. +func (o *RootFolderResource) GetDefaultQualityProfileId() int32 { + if o == nil || isNil(o.DefaultQualityProfileId) { + var ret int32 + return ret + } + return *o.DefaultQualityProfileId +} + +// GetDefaultQualityProfileIdOk returns a tuple with the DefaultQualityProfileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetDefaultQualityProfileIdOk() (*int32, bool) { + if o == nil || isNil(o.DefaultQualityProfileId) { + return nil, false + } + return o.DefaultQualityProfileId, true +} + +// HasDefaultQualityProfileId returns a boolean if a field has been set. +func (o *RootFolderResource) HasDefaultQualityProfileId() bool { + if o != nil && !isNil(o.DefaultQualityProfileId) { + return true + } + + return false +} + +// SetDefaultQualityProfileId gets a reference to the given int32 and assigns it to the DefaultQualityProfileId field. +func (o *RootFolderResource) SetDefaultQualityProfileId(v int32) { + o.DefaultQualityProfileId = &v +} + +// GetDefaultMonitorOption returns the DefaultMonitorOption field value if set, zero value otherwise. +func (o *RootFolderResource) GetDefaultMonitorOption() MonitorTypes { + if o == nil || isNil(o.DefaultMonitorOption) { + var ret MonitorTypes + return ret + } + return *o.DefaultMonitorOption +} + +// GetDefaultMonitorOptionOk returns a tuple with the DefaultMonitorOption field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetDefaultMonitorOptionOk() (*MonitorTypes, bool) { + if o == nil || isNil(o.DefaultMonitorOption) { + return nil, false + } + return o.DefaultMonitorOption, true +} + +// HasDefaultMonitorOption returns a boolean if a field has been set. +func (o *RootFolderResource) HasDefaultMonitorOption() bool { + if o != nil && !isNil(o.DefaultMonitorOption) { + return true + } + + return false +} + +// SetDefaultMonitorOption gets a reference to the given MonitorTypes and assigns it to the DefaultMonitorOption field. +func (o *RootFolderResource) SetDefaultMonitorOption(v MonitorTypes) { + o.DefaultMonitorOption = &v +} + +// GetDefaultNewItemMonitorOption returns the DefaultNewItemMonitorOption field value if set, zero value otherwise. +func (o *RootFolderResource) GetDefaultNewItemMonitorOption() NewItemMonitorTypes { + if o == nil || isNil(o.DefaultNewItemMonitorOption) { + var ret NewItemMonitorTypes + return ret + } + return *o.DefaultNewItemMonitorOption +} + +// GetDefaultNewItemMonitorOptionOk returns a tuple with the DefaultNewItemMonitorOption field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetDefaultNewItemMonitorOptionOk() (*NewItemMonitorTypes, bool) { + if o == nil || isNil(o.DefaultNewItemMonitorOption) { + return nil, false + } + return o.DefaultNewItemMonitorOption, true +} + +// HasDefaultNewItemMonitorOption returns a boolean if a field has been set. +func (o *RootFolderResource) HasDefaultNewItemMonitorOption() bool { + if o != nil && !isNil(o.DefaultNewItemMonitorOption) { + return true + } + + return false +} + +// SetDefaultNewItemMonitorOption gets a reference to the given NewItemMonitorTypes and assigns it to the DefaultNewItemMonitorOption field. +func (o *RootFolderResource) SetDefaultNewItemMonitorOption(v NewItemMonitorTypes) { + o.DefaultNewItemMonitorOption = &v +} + +// GetDefaultTags returns the DefaultTags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RootFolderResource) GetDefaultTags() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.DefaultTags +} + +// GetDefaultTagsOk returns a tuple with the DefaultTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RootFolderResource) GetDefaultTagsOk() ([]*int32, bool) { + if o == nil || isNil(o.DefaultTags) { + return nil, false + } + return o.DefaultTags, true +} + +// HasDefaultTags returns a boolean if a field has been set. +func (o *RootFolderResource) HasDefaultTags() bool { + if o != nil && isNil(o.DefaultTags) { + return true + } + + return false +} + +// SetDefaultTags gets a reference to the given []int32 and assigns it to the DefaultTags field. +func (o *RootFolderResource) SetDefaultTags(v []*int32) { + o.DefaultTags = v +} + +// GetAccessible returns the Accessible field value if set, zero value otherwise. +func (o *RootFolderResource) GetAccessible() bool { + if o == nil || isNil(o.Accessible) { + var ret bool + return ret + } + return *o.Accessible +} + +// GetAccessibleOk returns a tuple with the Accessible field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RootFolderResource) GetAccessibleOk() (*bool, bool) { + if o == nil || isNil(o.Accessible) { + return nil, false + } + return o.Accessible, true +} + +// HasAccessible returns a boolean if a field has been set. +func (o *RootFolderResource) HasAccessible() bool { + if o != nil && !isNil(o.Accessible) { + return true + } + + return false +} + +// SetAccessible gets a reference to the given bool and assigns it to the Accessible field. +func (o *RootFolderResource) SetAccessible(v bool) { + o.Accessible = &v +} + +// GetFreeSpace returns the FreeSpace field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RootFolderResource) GetFreeSpace() int64 { + if o == nil || isNil(o.FreeSpace.Get()) { + var ret int64 + return ret + } + return *o.FreeSpace.Get() +} + +// GetFreeSpaceOk returns a tuple with the FreeSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RootFolderResource) GetFreeSpaceOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.FreeSpace.Get(), o.FreeSpace.IsSet() +} + +// HasFreeSpace returns a boolean if a field has been set. +func (o *RootFolderResource) HasFreeSpace() bool { + if o != nil && o.FreeSpace.IsSet() { + return true + } + + return false +} + +// SetFreeSpace gets a reference to the given NullableInt64 and assigns it to the FreeSpace field. +func (o *RootFolderResource) SetFreeSpace(v int64) { + o.FreeSpace.Set(&v) +} +// SetFreeSpaceNil sets the value for FreeSpace to be an explicit nil +func (o *RootFolderResource) SetFreeSpaceNil() { + o.FreeSpace.Set(nil) +} + +// UnsetFreeSpace ensures that no value is present for FreeSpace, not even an explicit nil +func (o *RootFolderResource) UnsetFreeSpace() { + o.FreeSpace.Unset() +} + +// GetTotalSpace returns the TotalSpace field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RootFolderResource) GetTotalSpace() int64 { + if o == nil || isNil(o.TotalSpace.Get()) { + var ret int64 + return ret + } + return *o.TotalSpace.Get() +} + +// GetTotalSpaceOk returns a tuple with the TotalSpace field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RootFolderResource) GetTotalSpaceOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.TotalSpace.Get(), o.TotalSpace.IsSet() +} + +// HasTotalSpace returns a boolean if a field has been set. +func (o *RootFolderResource) HasTotalSpace() bool { + if o != nil && o.TotalSpace.IsSet() { + return true + } + + return false +} + +// SetTotalSpace gets a reference to the given NullableInt64 and assigns it to the TotalSpace field. +func (o *RootFolderResource) SetTotalSpace(v int64) { + o.TotalSpace.Set(&v) +} +// SetTotalSpaceNil sets the value for TotalSpace to be an explicit nil +func (o *RootFolderResource) SetTotalSpaceNil() { + o.TotalSpace.Set(nil) +} + +// UnsetTotalSpace ensures that no value is present for TotalSpace, not even an explicit nil +func (o *RootFolderResource) UnsetTotalSpace() { + o.TotalSpace.Unset() +} + +func (o RootFolderResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if !isNil(o.DefaultMetadataProfileId) { + toSerialize["defaultMetadataProfileId"] = o.DefaultMetadataProfileId + } + if !isNil(o.DefaultQualityProfileId) { + toSerialize["defaultQualityProfileId"] = o.DefaultQualityProfileId + } + if !isNil(o.DefaultMonitorOption) { + toSerialize["defaultMonitorOption"] = o.DefaultMonitorOption + } + if !isNil(o.DefaultNewItemMonitorOption) { + toSerialize["defaultNewItemMonitorOption"] = o.DefaultNewItemMonitorOption + } + if o.DefaultTags != nil { + toSerialize["defaultTags"] = o.DefaultTags + } + if !isNil(o.Accessible) { + toSerialize["accessible"] = o.Accessible + } + if o.FreeSpace.IsSet() { + toSerialize["freeSpace"] = o.FreeSpace.Get() + } + if o.TotalSpace.IsSet() { + toSerialize["totalSpace"] = o.TotalSpace.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRootFolderResource struct { + value *RootFolderResource + isSet bool +} + +func (v NullableRootFolderResource) Get() *RootFolderResource { + return v.value +} + +func (v *NullableRootFolderResource) Set(val *RootFolderResource) { + v.value = val + v.isSet = true +} + +func (v NullableRootFolderResource) IsSet() bool { + return v.isSet +} + +func (v *NullableRootFolderResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRootFolderResource(val *RootFolderResource) *NullableRootFolderResource { + return &NullableRootFolderResource{value: val, isSet: true} +} + +func (v NullableRootFolderResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRootFolderResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_secondary_album_type.go b/lidarr/model_secondary_album_type.go new file mode 100644 index 0000000..9d9d298 --- /dev/null +++ b/lidarr/model_secondary_album_type.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// SecondaryAlbumType struct for SecondaryAlbumType +type SecondaryAlbumType struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` +} + +// NewSecondaryAlbumType instantiates a new SecondaryAlbumType object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSecondaryAlbumType() *SecondaryAlbumType { + this := SecondaryAlbumType{} + return &this +} + +// NewSecondaryAlbumTypeWithDefaults instantiates a new SecondaryAlbumType object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSecondaryAlbumTypeWithDefaults() *SecondaryAlbumType { + this := SecondaryAlbumType{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *SecondaryAlbumType) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SecondaryAlbumType) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SecondaryAlbumType) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *SecondaryAlbumType) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SecondaryAlbumType) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SecondaryAlbumType) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *SecondaryAlbumType) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *SecondaryAlbumType) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *SecondaryAlbumType) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *SecondaryAlbumType) UnsetName() { + o.Name.Unset() +} + +func (o SecondaryAlbumType) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + return json.Marshal(toSerialize) +} + +type NullableSecondaryAlbumType struct { + value *SecondaryAlbumType + isSet bool +} + +func (v NullableSecondaryAlbumType) Get() *SecondaryAlbumType { + return v.value +} + +func (v *NullableSecondaryAlbumType) Set(val *SecondaryAlbumType) { + v.value = val + v.isSet = true +} + +func (v NullableSecondaryAlbumType) IsSet() bool { + return v.isSet +} + +func (v *NullableSecondaryAlbumType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSecondaryAlbumType(val *SecondaryAlbumType) *NullableSecondaryAlbumType { + return &NullableSecondaryAlbumType{value: val, isSet: true} +} + +func (v NullableSecondaryAlbumType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSecondaryAlbumType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_select_option.go b/lidarr/model_select_option.go new file mode 100644 index 0000000..6a9af43 --- /dev/null +++ b/lidarr/model_select_option.go @@ -0,0 +1,243 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// SelectOption struct for SelectOption +type SelectOption struct { + Value *int32 `json:"value,omitempty"` + Name NullableString `json:"name,omitempty"` + Order *int32 `json:"order,omitempty"` + Hint NullableString `json:"hint,omitempty"` +} + +// NewSelectOption instantiates a new SelectOption object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSelectOption() *SelectOption { + this := SelectOption{} + return &this +} + +// NewSelectOptionWithDefaults instantiates a new SelectOption object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSelectOptionWithDefaults() *SelectOption { + this := SelectOption{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *SelectOption) GetValue() int32 { + if o == nil || isNil(o.Value) { + var ret int32 + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SelectOption) GetValueOk() (*int32, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *SelectOption) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given int32 and assigns it to the Value field. +func (o *SelectOption) SetValue(v int32) { + o.Value = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SelectOption) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SelectOption) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *SelectOption) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *SelectOption) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *SelectOption) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *SelectOption) UnsetName() { + o.Name.Unset() +} + +// GetOrder returns the Order field value if set, zero value otherwise. +func (o *SelectOption) GetOrder() int32 { + if o == nil || isNil(o.Order) { + var ret int32 + return ret + } + return *o.Order +} + +// GetOrderOk returns a tuple with the Order field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SelectOption) GetOrderOk() (*int32, bool) { + if o == nil || isNil(o.Order) { + return nil, false + } + return o.Order, true +} + +// HasOrder returns a boolean if a field has been set. +func (o *SelectOption) HasOrder() bool { + if o != nil && !isNil(o.Order) { + return true + } + + return false +} + +// SetOrder gets a reference to the given int32 and assigns it to the Order field. +func (o *SelectOption) SetOrder(v int32) { + o.Order = &v +} + +// GetHint returns the Hint field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SelectOption) GetHint() string { + if o == nil || isNil(o.Hint.Get()) { + var ret string + return ret + } + return *o.Hint.Get() +} + +// GetHintOk returns a tuple with the Hint field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SelectOption) GetHintOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Hint.Get(), o.Hint.IsSet() +} + +// HasHint returns a boolean if a field has been set. +func (o *SelectOption) HasHint() bool { + if o != nil && o.Hint.IsSet() { + return true + } + + return false +} + +// SetHint gets a reference to the given NullableString and assigns it to the Hint field. +func (o *SelectOption) SetHint(v string) { + o.Hint.Set(&v) +} +// SetHintNil sets the value for Hint to be an explicit nil +func (o *SelectOption) SetHintNil() { + o.Hint.Set(nil) +} + +// UnsetHint ensures that no value is present for Hint, not even an explicit nil +func (o *SelectOption) UnsetHint() { + o.Hint.Unset() +} + +func (o SelectOption) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Order) { + toSerialize["order"] = o.Order + } + if o.Hint.IsSet() { + toSerialize["hint"] = o.Hint.Get() + } + return json.Marshal(toSerialize) +} + +type NullableSelectOption struct { + value *SelectOption + isSet bool +} + +func (v NullableSelectOption) Get() *SelectOption { + return v.value +} + +func (v *NullableSelectOption) Set(val *SelectOption) { + v.value = val + v.isSet = true +} + +func (v NullableSelectOption) IsSet() bool { + return v.isSet +} + +func (v *NullableSelectOption) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSelectOption(val *SelectOption) *NullableSelectOption { + return &NullableSelectOption{value: val, isSet: true} +} + +func (v NullableSelectOption) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSelectOption) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_sort_direction.go b/lidarr/model_sort_direction.go new file mode 100644 index 0000000..6b6bd72 --- /dev/null +++ b/lidarr/model_sort_direction.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// SortDirection the model 'SortDirection' +type SortDirection string + +// List of SortDirection +const ( + SORTDIRECTION_DEFAULT SortDirection = "default" + SORTDIRECTION_ASCENDING SortDirection = "ascending" + SORTDIRECTION_DESCENDING SortDirection = "descending" +) + +// All allowed values of SortDirection enum +var AllowedSortDirectionEnumValues = []SortDirection{ + "default", + "ascending", + "descending", +} + +func (v *SortDirection) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := SortDirection(value) + for _, existing := range AllowedSortDirectionEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid SortDirection", value) +} + +// NewSortDirectionFromValue returns a pointer to a valid SortDirection +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewSortDirectionFromValue(v string) (*SortDirection, error) { + ev := SortDirection(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for SortDirection: valid values are %v", v, AllowedSortDirectionEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v SortDirection) IsValid() bool { + for _, existing := range AllowedSortDirectionEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to SortDirection value +func (v SortDirection) Ptr() *SortDirection { + return &v +} + +type NullableSortDirection struct { + value *SortDirection + isSet bool +} + +func (v NullableSortDirection) Get() *SortDirection { + return v.value +} + +func (v *NullableSortDirection) Set(val *SortDirection) { + v.value = val + v.isSet = true +} + +func (v NullableSortDirection) IsSet() bool { + return v.isSet +} + +func (v *NullableSortDirection) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSortDirection(val *SortDirection) *NullableSortDirection { + return &NullableSortDirection{value: val, isSet: true} +} + +func (v NullableSortDirection) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSortDirection) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_string_int32_key_value_pair.go b/lidarr/model_string_int32_key_value_pair.go new file mode 100644 index 0000000..34aacf9 --- /dev/null +++ b/lidarr/model_string_int32_key_value_pair.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// StringInt32KeyValuePair struct for StringInt32KeyValuePair +type StringInt32KeyValuePair struct { + Key NullableString `json:"key,omitempty"` + Value *int32 `json:"value,omitempty"` +} + +// NewStringInt32KeyValuePair instantiates a new StringInt32KeyValuePair object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewStringInt32KeyValuePair() *StringInt32KeyValuePair { + this := StringInt32KeyValuePair{} + return &this +} + +// NewStringInt32KeyValuePairWithDefaults instantiates a new StringInt32KeyValuePair object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewStringInt32KeyValuePairWithDefaults() *StringInt32KeyValuePair { + this := StringInt32KeyValuePair{} + return &this +} + +// GetKey returns the Key field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *StringInt32KeyValuePair) GetKey() string { + if o == nil || isNil(o.Key.Get()) { + var ret string + return ret + } + return *o.Key.Get() +} + +// GetKeyOk returns a tuple with the Key field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *StringInt32KeyValuePair) GetKeyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Key.Get(), o.Key.IsSet() +} + +// HasKey returns a boolean if a field has been set. +func (o *StringInt32KeyValuePair) HasKey() bool { + if o != nil && o.Key.IsSet() { + return true + } + + return false +} + +// SetKey gets a reference to the given NullableString and assigns it to the Key field. +func (o *StringInt32KeyValuePair) SetKey(v string) { + o.Key.Set(&v) +} +// SetKeyNil sets the value for Key to be an explicit nil +func (o *StringInt32KeyValuePair) SetKeyNil() { + o.Key.Set(nil) +} + +// UnsetKey ensures that no value is present for Key, not even an explicit nil +func (o *StringInt32KeyValuePair) UnsetKey() { + o.Key.Unset() +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *StringInt32KeyValuePair) GetValue() int32 { + if o == nil || isNil(o.Value) { + var ret int32 + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StringInt32KeyValuePair) GetValueOk() (*int32, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *StringInt32KeyValuePair) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given int32 and assigns it to the Value field. +func (o *StringInt32KeyValuePair) SetValue(v int32) { + o.Value = &v +} + +func (o StringInt32KeyValuePair) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Key.IsSet() { + toSerialize["key"] = o.Key.Get() + } + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableStringInt32KeyValuePair struct { + value *StringInt32KeyValuePair + isSet bool +} + +func (v NullableStringInt32KeyValuePair) Get() *StringInt32KeyValuePair { + return v.value +} + +func (v *NullableStringInt32KeyValuePair) Set(val *StringInt32KeyValuePair) { + v.value = val + v.isSet = true +} + +func (v NullableStringInt32KeyValuePair) IsSet() bool { + return v.isSet +} + +func (v *NullableStringInt32KeyValuePair) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableStringInt32KeyValuePair(val *StringInt32KeyValuePair) *NullableStringInt32KeyValuePair { + return &NullableStringInt32KeyValuePair{value: val, isSet: true} +} + +func (v NullableStringInt32KeyValuePair) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableStringInt32KeyValuePair) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_tag_details_resource.go b/lidarr/model_tag_details_resource.go new file mode 100644 index 0000000..0dec001 --- /dev/null +++ b/lidarr/model_tag_details_resource.go @@ -0,0 +1,383 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TagDetailsResource struct for TagDetailsResource +type TagDetailsResource struct { + Id *int32 `json:"id,omitempty"` + Label NullableString `json:"label,omitempty"` + DelayProfileIds []*int32 `json:"delayProfileIds,omitempty"` + ImportListIds []*int32 `json:"importListIds,omitempty"` + NotificationIds []*int32 `json:"notificationIds,omitempty"` + RestrictionIds []*int32 `json:"restrictionIds,omitempty"` + IndexerIds []*int32 `json:"indexerIds,omitempty"` + ArtistIds []*int32 `json:"artistIds,omitempty"` +} + +// NewTagDetailsResource instantiates a new TagDetailsResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTagDetailsResource() *TagDetailsResource { + this := TagDetailsResource{} + return &this +} + +// NewTagDetailsResourceWithDefaults instantiates a new TagDetailsResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTagDetailsResourceWithDefaults() *TagDetailsResource { + this := TagDetailsResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TagDetailsResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TagDetailsResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TagDetailsResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TagDetailsResource) SetId(v int32) { + o.Id = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *TagDetailsResource) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *TagDetailsResource) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *TagDetailsResource) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *TagDetailsResource) UnsetLabel() { + o.Label.Unset() +} + +// GetDelayProfileIds returns the DelayProfileIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetDelayProfileIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.DelayProfileIds +} + +// GetDelayProfileIdsOk returns a tuple with the DelayProfileIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetDelayProfileIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.DelayProfileIds) { + return nil, false + } + return o.DelayProfileIds, true +} + +// HasDelayProfileIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasDelayProfileIds() bool { + if o != nil && isNil(o.DelayProfileIds) { + return true + } + + return false +} + +// SetDelayProfileIds gets a reference to the given []int32 and assigns it to the DelayProfileIds field. +func (o *TagDetailsResource) SetDelayProfileIds(v []*int32) { + o.DelayProfileIds = v +} + +// GetImportListIds returns the ImportListIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetImportListIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.ImportListIds +} + +// GetImportListIdsOk returns a tuple with the ImportListIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetImportListIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.ImportListIds) { + return nil, false + } + return o.ImportListIds, true +} + +// HasImportListIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasImportListIds() bool { + if o != nil && isNil(o.ImportListIds) { + return true + } + + return false +} + +// SetImportListIds gets a reference to the given []int32 and assigns it to the ImportListIds field. +func (o *TagDetailsResource) SetImportListIds(v []*int32) { + o.ImportListIds = v +} + +// GetNotificationIds returns the NotificationIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetNotificationIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.NotificationIds +} + +// GetNotificationIdsOk returns a tuple with the NotificationIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetNotificationIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.NotificationIds) { + return nil, false + } + return o.NotificationIds, true +} + +// HasNotificationIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasNotificationIds() bool { + if o != nil && isNil(o.NotificationIds) { + return true + } + + return false +} + +// SetNotificationIds gets a reference to the given []int32 and assigns it to the NotificationIds field. +func (o *TagDetailsResource) SetNotificationIds(v []*int32) { + o.NotificationIds = v +} + +// GetRestrictionIds returns the RestrictionIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetRestrictionIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.RestrictionIds +} + +// GetRestrictionIdsOk returns a tuple with the RestrictionIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetRestrictionIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.RestrictionIds) { + return nil, false + } + return o.RestrictionIds, true +} + +// HasRestrictionIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasRestrictionIds() bool { + if o != nil && isNil(o.RestrictionIds) { + return true + } + + return false +} + +// SetRestrictionIds gets a reference to the given []int32 and assigns it to the RestrictionIds field. +func (o *TagDetailsResource) SetRestrictionIds(v []*int32) { + o.RestrictionIds = v +} + +// GetIndexerIds returns the IndexerIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetIndexerIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.IndexerIds +} + +// GetIndexerIdsOk returns a tuple with the IndexerIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetIndexerIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.IndexerIds) { + return nil, false + } + return o.IndexerIds, true +} + +// HasIndexerIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasIndexerIds() bool { + if o != nil && isNil(o.IndexerIds) { + return true + } + + return false +} + +// SetIndexerIds gets a reference to the given []int32 and assigns it to the IndexerIds field. +func (o *TagDetailsResource) SetIndexerIds(v []*int32) { + o.IndexerIds = v +} + +// GetArtistIds returns the ArtistIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDetailsResource) GetArtistIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.ArtistIds +} + +// GetArtistIdsOk returns a tuple with the ArtistIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDetailsResource) GetArtistIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.ArtistIds) { + return nil, false + } + return o.ArtistIds, true +} + +// HasArtistIds returns a boolean if a field has been set. +func (o *TagDetailsResource) HasArtistIds() bool { + if o != nil && isNil(o.ArtistIds) { + return true + } + + return false +} + +// SetArtistIds gets a reference to the given []int32 and assigns it to the ArtistIds field. +func (o *TagDetailsResource) SetArtistIds(v []*int32) { + o.ArtistIds = v +} + +func (o TagDetailsResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + if o.DelayProfileIds != nil { + toSerialize["delayProfileIds"] = o.DelayProfileIds + } + if o.ImportListIds != nil { + toSerialize["importListIds"] = o.ImportListIds + } + if o.NotificationIds != nil { + toSerialize["notificationIds"] = o.NotificationIds + } + if o.RestrictionIds != nil { + toSerialize["restrictionIds"] = o.RestrictionIds + } + if o.IndexerIds != nil { + toSerialize["indexerIds"] = o.IndexerIds + } + if o.ArtistIds != nil { + toSerialize["artistIds"] = o.ArtistIds + } + return json.Marshal(toSerialize) +} + +type NullableTagDetailsResource struct { + value *TagDetailsResource + isSet bool +} + +func (v NullableTagDetailsResource) Get() *TagDetailsResource { + return v.value +} + +func (v *NullableTagDetailsResource) Set(val *TagDetailsResource) { + v.value = val + v.isSet = true +} + +func (v NullableTagDetailsResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTagDetailsResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTagDetailsResource(val *TagDetailsResource) *NullableTagDetailsResource { + return &NullableTagDetailsResource{value: val, isSet: true} +} + +func (v NullableTagDetailsResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTagDetailsResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_tag_difference.go b/lidarr/model_tag_difference.go new file mode 100644 index 0000000..6570990 --- /dev/null +++ b/lidarr/model_tag_difference.go @@ -0,0 +1,217 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TagDifference struct for TagDifference +type TagDifference struct { + Field NullableString `json:"field,omitempty"` + OldValue NullableString `json:"oldValue,omitempty"` + NewValue NullableString `json:"newValue,omitempty"` +} + +// NewTagDifference instantiates a new TagDifference object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTagDifference() *TagDifference { + this := TagDifference{} + return &this +} + +// NewTagDifferenceWithDefaults instantiates a new TagDifference object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTagDifferenceWithDefaults() *TagDifference { + this := TagDifference{} + return &this +} + +// GetField returns the Field field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDifference) GetField() string { + if o == nil || isNil(o.Field.Get()) { + var ret string + return ret + } + return *o.Field.Get() +} + +// GetFieldOk returns a tuple with the Field field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDifference) GetFieldOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Field.Get(), o.Field.IsSet() +} + +// HasField returns a boolean if a field has been set. +func (o *TagDifference) HasField() bool { + if o != nil && o.Field.IsSet() { + return true + } + + return false +} + +// SetField gets a reference to the given NullableString and assigns it to the Field field. +func (o *TagDifference) SetField(v string) { + o.Field.Set(&v) +} +// SetFieldNil sets the value for Field to be an explicit nil +func (o *TagDifference) SetFieldNil() { + o.Field.Set(nil) +} + +// UnsetField ensures that no value is present for Field, not even an explicit nil +func (o *TagDifference) UnsetField() { + o.Field.Unset() +} + +// GetOldValue returns the OldValue field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDifference) GetOldValue() string { + if o == nil || isNil(o.OldValue.Get()) { + var ret string + return ret + } + return *o.OldValue.Get() +} + +// GetOldValueOk returns a tuple with the OldValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDifference) GetOldValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.OldValue.Get(), o.OldValue.IsSet() +} + +// HasOldValue returns a boolean if a field has been set. +func (o *TagDifference) HasOldValue() bool { + if o != nil && o.OldValue.IsSet() { + return true + } + + return false +} + +// SetOldValue gets a reference to the given NullableString and assigns it to the OldValue field. +func (o *TagDifference) SetOldValue(v string) { + o.OldValue.Set(&v) +} +// SetOldValueNil sets the value for OldValue to be an explicit nil +func (o *TagDifference) SetOldValueNil() { + o.OldValue.Set(nil) +} + +// UnsetOldValue ensures that no value is present for OldValue, not even an explicit nil +func (o *TagDifference) UnsetOldValue() { + o.OldValue.Unset() +} + +// GetNewValue returns the NewValue field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagDifference) GetNewValue() string { + if o == nil || isNil(o.NewValue.Get()) { + var ret string + return ret + } + return *o.NewValue.Get() +} + +// GetNewValueOk returns a tuple with the NewValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagDifference) GetNewValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.NewValue.Get(), o.NewValue.IsSet() +} + +// HasNewValue returns a boolean if a field has been set. +func (o *TagDifference) HasNewValue() bool { + if o != nil && o.NewValue.IsSet() { + return true + } + + return false +} + +// SetNewValue gets a reference to the given NullableString and assigns it to the NewValue field. +func (o *TagDifference) SetNewValue(v string) { + o.NewValue.Set(&v) +} +// SetNewValueNil sets the value for NewValue to be an explicit nil +func (o *TagDifference) SetNewValueNil() { + o.NewValue.Set(nil) +} + +// UnsetNewValue ensures that no value is present for NewValue, not even an explicit nil +func (o *TagDifference) UnsetNewValue() { + o.NewValue.Unset() +} + +func (o TagDifference) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Field.IsSet() { + toSerialize["field"] = o.Field.Get() + } + if o.OldValue.IsSet() { + toSerialize["oldValue"] = o.OldValue.Get() + } + if o.NewValue.IsSet() { + toSerialize["newValue"] = o.NewValue.Get() + } + return json.Marshal(toSerialize) +} + +type NullableTagDifference struct { + value *TagDifference + isSet bool +} + +func (v NullableTagDifference) Get() *TagDifference { + return v.value +} + +func (v *NullableTagDifference) Set(val *TagDifference) { + v.value = val + v.isSet = true +} + +func (v NullableTagDifference) IsSet() bool { + return v.isSet +} + +func (v *NullableTagDifference) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTagDifference(val *TagDifference) *NullableTagDifference { + return &NullableTagDifference{value: val, isSet: true} +} + +func (v NullableTagDifference) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTagDifference) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_tag_resource.go b/lidarr/model_tag_resource.go new file mode 100644 index 0000000..830d498 --- /dev/null +++ b/lidarr/model_tag_resource.go @@ -0,0 +1,161 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TagResource struct for TagResource +type TagResource struct { + Id *int32 `json:"id,omitempty"` + Label NullableString `json:"label,omitempty"` +} + +// NewTagResource instantiates a new TagResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTagResource() *TagResource { + this := TagResource{} + return &this +} + +// NewTagResourceWithDefaults instantiates a new TagResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTagResourceWithDefaults() *TagResource { + this := TagResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TagResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TagResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TagResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TagResource) SetId(v int32) { + o.Id = &v +} + +// GetLabel returns the Label field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TagResource) GetLabel() string { + if o == nil || isNil(o.Label.Get()) { + var ret string + return ret + } + return *o.Label.Get() +} + +// GetLabelOk returns a tuple with the Label field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TagResource) GetLabelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Label.Get(), o.Label.IsSet() +} + +// HasLabel returns a boolean if a field has been set. +func (o *TagResource) HasLabel() bool { + if o != nil && o.Label.IsSet() { + return true + } + + return false +} + +// SetLabel gets a reference to the given NullableString and assigns it to the Label field. +func (o *TagResource) SetLabel(v string) { + o.Label.Set(&v) +} +// SetLabelNil sets the value for Label to be an explicit nil +func (o *TagResource) SetLabelNil() { + o.Label.Set(nil) +} + +// UnsetLabel ensures that no value is present for Label, not even an explicit nil +func (o *TagResource) UnsetLabel() { + o.Label.Unset() +} + +func (o TagResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Label.IsSet() { + toSerialize["label"] = o.Label.Get() + } + return json.Marshal(toSerialize) +} + +type NullableTagResource struct { + value *TagResource + isSet bool +} + +func (v NullableTagResource) Get() *TagResource { + return v.value +} + +func (v *NullableTagResource) Set(val *TagResource) { + v.value = val + v.isSet = true +} + +func (v NullableTagResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTagResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTagResource(val *TagResource) *NullableTagResource { + return &NullableTagResource{value: val, isSet: true} +} + +func (v NullableTagResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTagResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_task_resource.go b/lidarr/model_task_resource.go new file mode 100644 index 0000000..dd64b1e --- /dev/null +++ b/lidarr/model_task_resource.go @@ -0,0 +1,388 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// TaskResource struct for TaskResource +type TaskResource struct { + Id *int32 `json:"id,omitempty"` + Name NullableString `json:"name,omitempty"` + TaskName NullableString `json:"taskName,omitempty"` + Interval *int32 `json:"interval,omitempty"` + LastExecution *time.Time `json:"lastExecution,omitempty"` + LastStartTime *time.Time `json:"lastStartTime,omitempty"` + NextExecution *time.Time `json:"nextExecution,omitempty"` + LastDuration *TimeSpan `json:"lastDuration,omitempty"` +} + +// NewTaskResource instantiates a new TaskResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTaskResource() *TaskResource { + this := TaskResource{} + return &this +} + +// NewTaskResourceWithDefaults instantiates a new TaskResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTaskResourceWithDefaults() *TaskResource { + this := TaskResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TaskResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TaskResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TaskResource) SetId(v int32) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TaskResource) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TaskResource) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *TaskResource) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *TaskResource) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *TaskResource) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *TaskResource) UnsetName() { + o.Name.Unset() +} + +// GetTaskName returns the TaskName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TaskResource) GetTaskName() string { + if o == nil || isNil(o.TaskName.Get()) { + var ret string + return ret + } + return *o.TaskName.Get() +} + +// GetTaskNameOk returns a tuple with the TaskName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TaskResource) GetTaskNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TaskName.Get(), o.TaskName.IsSet() +} + +// HasTaskName returns a boolean if a field has been set. +func (o *TaskResource) HasTaskName() bool { + if o != nil && o.TaskName.IsSet() { + return true + } + + return false +} + +// SetTaskName gets a reference to the given NullableString and assigns it to the TaskName field. +func (o *TaskResource) SetTaskName(v string) { + o.TaskName.Set(&v) +} +// SetTaskNameNil sets the value for TaskName to be an explicit nil +func (o *TaskResource) SetTaskNameNil() { + o.TaskName.Set(nil) +} + +// UnsetTaskName ensures that no value is present for TaskName, not even an explicit nil +func (o *TaskResource) UnsetTaskName() { + o.TaskName.Unset() +} + +// GetInterval returns the Interval field value if set, zero value otherwise. +func (o *TaskResource) GetInterval() int32 { + if o == nil || isNil(o.Interval) { + var ret int32 + return ret + } + return *o.Interval +} + +// GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetIntervalOk() (*int32, bool) { + if o == nil || isNil(o.Interval) { + return nil, false + } + return o.Interval, true +} + +// HasInterval returns a boolean if a field has been set. +func (o *TaskResource) HasInterval() bool { + if o != nil && !isNil(o.Interval) { + return true + } + + return false +} + +// SetInterval gets a reference to the given int32 and assigns it to the Interval field. +func (o *TaskResource) SetInterval(v int32) { + o.Interval = &v +} + +// GetLastExecution returns the LastExecution field value if set, zero value otherwise. +func (o *TaskResource) GetLastExecution() time.Time { + if o == nil || isNil(o.LastExecution) { + var ret time.Time + return ret + } + return *o.LastExecution +} + +// GetLastExecutionOk returns a tuple with the LastExecution field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetLastExecutionOk() (*time.Time, bool) { + if o == nil || isNil(o.LastExecution) { + return nil, false + } + return o.LastExecution, true +} + +// HasLastExecution returns a boolean if a field has been set. +func (o *TaskResource) HasLastExecution() bool { + if o != nil && !isNil(o.LastExecution) { + return true + } + + return false +} + +// SetLastExecution gets a reference to the given time.Time and assigns it to the LastExecution field. +func (o *TaskResource) SetLastExecution(v time.Time) { + o.LastExecution = &v +} + +// GetLastStartTime returns the LastStartTime field value if set, zero value otherwise. +func (o *TaskResource) GetLastStartTime() time.Time { + if o == nil || isNil(o.LastStartTime) { + var ret time.Time + return ret + } + return *o.LastStartTime +} + +// GetLastStartTimeOk returns a tuple with the LastStartTime field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetLastStartTimeOk() (*time.Time, bool) { + if o == nil || isNil(o.LastStartTime) { + return nil, false + } + return o.LastStartTime, true +} + +// HasLastStartTime returns a boolean if a field has been set. +func (o *TaskResource) HasLastStartTime() bool { + if o != nil && !isNil(o.LastStartTime) { + return true + } + + return false +} + +// SetLastStartTime gets a reference to the given time.Time and assigns it to the LastStartTime field. +func (o *TaskResource) SetLastStartTime(v time.Time) { + o.LastStartTime = &v +} + +// GetNextExecution returns the NextExecution field value if set, zero value otherwise. +func (o *TaskResource) GetNextExecution() time.Time { + if o == nil || isNil(o.NextExecution) { + var ret time.Time + return ret + } + return *o.NextExecution +} + +// GetNextExecutionOk returns a tuple with the NextExecution field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetNextExecutionOk() (*time.Time, bool) { + if o == nil || isNil(o.NextExecution) { + return nil, false + } + return o.NextExecution, true +} + +// HasNextExecution returns a boolean if a field has been set. +func (o *TaskResource) HasNextExecution() bool { + if o != nil && !isNil(o.NextExecution) { + return true + } + + return false +} + +// SetNextExecution gets a reference to the given time.Time and assigns it to the NextExecution field. +func (o *TaskResource) SetNextExecution(v time.Time) { + o.NextExecution = &v +} + +// GetLastDuration returns the LastDuration field value if set, zero value otherwise. +func (o *TaskResource) GetLastDuration() TimeSpan { + if o == nil || isNil(o.LastDuration) { + var ret TimeSpan + return ret + } + return *o.LastDuration +} + +// GetLastDurationOk returns a tuple with the LastDuration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TaskResource) GetLastDurationOk() (*TimeSpan, bool) { + if o == nil || isNil(o.LastDuration) { + return nil, false + } + return o.LastDuration, true +} + +// HasLastDuration returns a boolean if a field has been set. +func (o *TaskResource) HasLastDuration() bool { + if o != nil && !isNil(o.LastDuration) { + return true + } + + return false +} + +// SetLastDuration gets a reference to the given TimeSpan and assigns it to the LastDuration field. +func (o *TaskResource) SetLastDuration(v TimeSpan) { + o.LastDuration = &v +} + +func (o TaskResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.TaskName.IsSet() { + toSerialize["taskName"] = o.TaskName.Get() + } + if !isNil(o.Interval) { + toSerialize["interval"] = o.Interval + } + if !isNil(o.LastExecution) { + toSerialize["lastExecution"] = o.LastExecution + } + if !isNil(o.LastStartTime) { + toSerialize["lastStartTime"] = o.LastStartTime + } + if !isNil(o.NextExecution) { + toSerialize["nextExecution"] = o.NextExecution + } + if !isNil(o.LastDuration) { + toSerialize["lastDuration"] = o.LastDuration + } + return json.Marshal(toSerialize) +} + +type NullableTaskResource struct { + value *TaskResource + isSet bool +} + +func (v NullableTaskResource) Get() *TaskResource { + return v.value +} + +func (v *NullableTaskResource) Set(val *TaskResource) { + v.value = val + v.isSet = true +} + +func (v NullableTaskResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTaskResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTaskResource(val *TaskResource) *NullableTaskResource { + return &NullableTaskResource{value: val, isSet: true} +} + +func (v NullableTaskResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTaskResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_time_span.go b/lidarr/model_time_span.go new file mode 100644 index 0000000..9b9b90d --- /dev/null +++ b/lidarr/model_time_span.go @@ -0,0 +1,475 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TimeSpan struct for TimeSpan +type TimeSpan struct { + Ticks *int64 `json:"ticks,omitempty"` + Days *int32 `json:"days,omitempty"` + Hours *int32 `json:"hours,omitempty"` + Milliseconds *int32 `json:"milliseconds,omitempty"` + Minutes *int32 `json:"minutes,omitempty"` + Seconds *int32 `json:"seconds,omitempty"` + TotalDays *float64 `json:"totalDays,omitempty"` + TotalHours *float64 `json:"totalHours,omitempty"` + TotalMilliseconds *float64 `json:"totalMilliseconds,omitempty"` + TotalMinutes *float64 `json:"totalMinutes,omitempty"` + TotalSeconds *float64 `json:"totalSeconds,omitempty"` +} + +// NewTimeSpan instantiates a new TimeSpan object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTimeSpan() *TimeSpan { + this := TimeSpan{} + return &this +} + +// NewTimeSpanWithDefaults instantiates a new TimeSpan object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTimeSpanWithDefaults() *TimeSpan { + this := TimeSpan{} + return &this +} + +// GetTicks returns the Ticks field value if set, zero value otherwise. +func (o *TimeSpan) GetTicks() int64 { + if o == nil || isNil(o.Ticks) { + var ret int64 + return ret + } + return *o.Ticks +} + +// GetTicksOk returns a tuple with the Ticks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTicksOk() (*int64, bool) { + if o == nil || isNil(o.Ticks) { + return nil, false + } + return o.Ticks, true +} + +// HasTicks returns a boolean if a field has been set. +func (o *TimeSpan) HasTicks() bool { + if o != nil && !isNil(o.Ticks) { + return true + } + + return false +} + +// SetTicks gets a reference to the given int64 and assigns it to the Ticks field. +func (o *TimeSpan) SetTicks(v int64) { + o.Ticks = &v +} + +// GetDays returns the Days field value if set, zero value otherwise. +func (o *TimeSpan) GetDays() int32 { + if o == nil || isNil(o.Days) { + var ret int32 + return ret + } + return *o.Days +} + +// GetDaysOk returns a tuple with the Days field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetDaysOk() (*int32, bool) { + if o == nil || isNil(o.Days) { + return nil, false + } + return o.Days, true +} + +// HasDays returns a boolean if a field has been set. +func (o *TimeSpan) HasDays() bool { + if o != nil && !isNil(o.Days) { + return true + } + + return false +} + +// SetDays gets a reference to the given int32 and assigns it to the Days field. +func (o *TimeSpan) SetDays(v int32) { + o.Days = &v +} + +// GetHours returns the Hours field value if set, zero value otherwise. +func (o *TimeSpan) GetHours() int32 { + if o == nil || isNil(o.Hours) { + var ret int32 + return ret + } + return *o.Hours +} + +// GetHoursOk returns a tuple with the Hours field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetHoursOk() (*int32, bool) { + if o == nil || isNil(o.Hours) { + return nil, false + } + return o.Hours, true +} + +// HasHours returns a boolean if a field has been set. +func (o *TimeSpan) HasHours() bool { + if o != nil && !isNil(o.Hours) { + return true + } + + return false +} + +// SetHours gets a reference to the given int32 and assigns it to the Hours field. +func (o *TimeSpan) SetHours(v int32) { + o.Hours = &v +} + +// GetMilliseconds returns the Milliseconds field value if set, zero value otherwise. +func (o *TimeSpan) GetMilliseconds() int32 { + if o == nil || isNil(o.Milliseconds) { + var ret int32 + return ret + } + return *o.Milliseconds +} + +// GetMillisecondsOk returns a tuple with the Milliseconds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetMillisecondsOk() (*int32, bool) { + if o == nil || isNil(o.Milliseconds) { + return nil, false + } + return o.Milliseconds, true +} + +// HasMilliseconds returns a boolean if a field has been set. +func (o *TimeSpan) HasMilliseconds() bool { + if o != nil && !isNil(o.Milliseconds) { + return true + } + + return false +} + +// SetMilliseconds gets a reference to the given int32 and assigns it to the Milliseconds field. +func (o *TimeSpan) SetMilliseconds(v int32) { + o.Milliseconds = &v +} + +// GetMinutes returns the Minutes field value if set, zero value otherwise. +func (o *TimeSpan) GetMinutes() int32 { + if o == nil || isNil(o.Minutes) { + var ret int32 + return ret + } + return *o.Minutes +} + +// GetMinutesOk returns a tuple with the Minutes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetMinutesOk() (*int32, bool) { + if o == nil || isNil(o.Minutes) { + return nil, false + } + return o.Minutes, true +} + +// HasMinutes returns a boolean if a field has been set. +func (o *TimeSpan) HasMinutes() bool { + if o != nil && !isNil(o.Minutes) { + return true + } + + return false +} + +// SetMinutes gets a reference to the given int32 and assigns it to the Minutes field. +func (o *TimeSpan) SetMinutes(v int32) { + o.Minutes = &v +} + +// GetSeconds returns the Seconds field value if set, zero value otherwise. +func (o *TimeSpan) GetSeconds() int32 { + if o == nil || isNil(o.Seconds) { + var ret int32 + return ret + } + return *o.Seconds +} + +// GetSecondsOk returns a tuple with the Seconds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetSecondsOk() (*int32, bool) { + if o == nil || isNil(o.Seconds) { + return nil, false + } + return o.Seconds, true +} + +// HasSeconds returns a boolean if a field has been set. +func (o *TimeSpan) HasSeconds() bool { + if o != nil && !isNil(o.Seconds) { + return true + } + + return false +} + +// SetSeconds gets a reference to the given int32 and assigns it to the Seconds field. +func (o *TimeSpan) SetSeconds(v int32) { + o.Seconds = &v +} + +// GetTotalDays returns the TotalDays field value if set, zero value otherwise. +func (o *TimeSpan) GetTotalDays() float64 { + if o == nil || isNil(o.TotalDays) { + var ret float64 + return ret + } + return *o.TotalDays +} + +// GetTotalDaysOk returns a tuple with the TotalDays field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTotalDaysOk() (*float64, bool) { + if o == nil || isNil(o.TotalDays) { + return nil, false + } + return o.TotalDays, true +} + +// HasTotalDays returns a boolean if a field has been set. +func (o *TimeSpan) HasTotalDays() bool { + if o != nil && !isNil(o.TotalDays) { + return true + } + + return false +} + +// SetTotalDays gets a reference to the given float64 and assigns it to the TotalDays field. +func (o *TimeSpan) SetTotalDays(v float64) { + o.TotalDays = &v +} + +// GetTotalHours returns the TotalHours field value if set, zero value otherwise. +func (o *TimeSpan) GetTotalHours() float64 { + if o == nil || isNil(o.TotalHours) { + var ret float64 + return ret + } + return *o.TotalHours +} + +// GetTotalHoursOk returns a tuple with the TotalHours field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTotalHoursOk() (*float64, bool) { + if o == nil || isNil(o.TotalHours) { + return nil, false + } + return o.TotalHours, true +} + +// HasTotalHours returns a boolean if a field has been set. +func (o *TimeSpan) HasTotalHours() bool { + if o != nil && !isNil(o.TotalHours) { + return true + } + + return false +} + +// SetTotalHours gets a reference to the given float64 and assigns it to the TotalHours field. +func (o *TimeSpan) SetTotalHours(v float64) { + o.TotalHours = &v +} + +// GetTotalMilliseconds returns the TotalMilliseconds field value if set, zero value otherwise. +func (o *TimeSpan) GetTotalMilliseconds() float64 { + if o == nil || isNil(o.TotalMilliseconds) { + var ret float64 + return ret + } + return *o.TotalMilliseconds +} + +// GetTotalMillisecondsOk returns a tuple with the TotalMilliseconds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTotalMillisecondsOk() (*float64, bool) { + if o == nil || isNil(o.TotalMilliseconds) { + return nil, false + } + return o.TotalMilliseconds, true +} + +// HasTotalMilliseconds returns a boolean if a field has been set. +func (o *TimeSpan) HasTotalMilliseconds() bool { + if o != nil && !isNil(o.TotalMilliseconds) { + return true + } + + return false +} + +// SetTotalMilliseconds gets a reference to the given float64 and assigns it to the TotalMilliseconds field. +func (o *TimeSpan) SetTotalMilliseconds(v float64) { + o.TotalMilliseconds = &v +} + +// GetTotalMinutes returns the TotalMinutes field value if set, zero value otherwise. +func (o *TimeSpan) GetTotalMinutes() float64 { + if o == nil || isNil(o.TotalMinutes) { + var ret float64 + return ret + } + return *o.TotalMinutes +} + +// GetTotalMinutesOk returns a tuple with the TotalMinutes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTotalMinutesOk() (*float64, bool) { + if o == nil || isNil(o.TotalMinutes) { + return nil, false + } + return o.TotalMinutes, true +} + +// HasTotalMinutes returns a boolean if a field has been set. +func (o *TimeSpan) HasTotalMinutes() bool { + if o != nil && !isNil(o.TotalMinutes) { + return true + } + + return false +} + +// SetTotalMinutes gets a reference to the given float64 and assigns it to the TotalMinutes field. +func (o *TimeSpan) SetTotalMinutes(v float64) { + o.TotalMinutes = &v +} + +// GetTotalSeconds returns the TotalSeconds field value if set, zero value otherwise. +func (o *TimeSpan) GetTotalSeconds() float64 { + if o == nil || isNil(o.TotalSeconds) { + var ret float64 + return ret + } + return *o.TotalSeconds +} + +// GetTotalSecondsOk returns a tuple with the TotalSeconds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TimeSpan) GetTotalSecondsOk() (*float64, bool) { + if o == nil || isNil(o.TotalSeconds) { + return nil, false + } + return o.TotalSeconds, true +} + +// HasTotalSeconds returns a boolean if a field has been set. +func (o *TimeSpan) HasTotalSeconds() bool { + if o != nil && !isNil(o.TotalSeconds) { + return true + } + + return false +} + +// SetTotalSeconds gets a reference to the given float64 and assigns it to the TotalSeconds field. +func (o *TimeSpan) SetTotalSeconds(v float64) { + o.TotalSeconds = &v +} + +func (o TimeSpan) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Ticks) { + toSerialize["ticks"] = o.Ticks + } + if !isNil(o.Days) { + toSerialize["days"] = o.Days + } + if !isNil(o.Hours) { + toSerialize["hours"] = o.Hours + } + if !isNil(o.Milliseconds) { + toSerialize["milliseconds"] = o.Milliseconds + } + if !isNil(o.Minutes) { + toSerialize["minutes"] = o.Minutes + } + if !isNil(o.Seconds) { + toSerialize["seconds"] = o.Seconds + } + if !isNil(o.TotalDays) { + toSerialize["totalDays"] = o.TotalDays + } + if !isNil(o.TotalHours) { + toSerialize["totalHours"] = o.TotalHours + } + if !isNil(o.TotalMilliseconds) { + toSerialize["totalMilliseconds"] = o.TotalMilliseconds + } + if !isNil(o.TotalMinutes) { + toSerialize["totalMinutes"] = o.TotalMinutes + } + if !isNil(o.TotalSeconds) { + toSerialize["totalSeconds"] = o.TotalSeconds + } + return json.Marshal(toSerialize) +} + +type NullableTimeSpan struct { + value *TimeSpan + isSet bool +} + +func (v NullableTimeSpan) Get() *TimeSpan { + return v.value +} + +func (v *NullableTimeSpan) Set(val *TimeSpan) { + v.value = val + v.isSet = true +} + +func (v NullableTimeSpan) IsSet() bool { + return v.isSet +} + +func (v *NullableTimeSpan) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTimeSpan(val *TimeSpan) *NullableTimeSpan { + return &NullableTimeSpan{value: val, isSet: true} +} + +func (v NullableTimeSpan) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTimeSpan) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track.go b/lidarr/model_track.go new file mode 100644 index 0000000..7b03247 --- /dev/null +++ b/lidarr/model_track.go @@ -0,0 +1,913 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Track struct for Track +type Track struct { + Id *int32 `json:"id,omitempty"` + ForeignTrackId NullableString `json:"foreignTrackId,omitempty"` + OldForeignTrackIds []*string `json:"oldForeignTrackIds,omitempty"` + ForeignRecordingId NullableString `json:"foreignRecordingId,omitempty"` + OldForeignRecordingIds []*string `json:"oldForeignRecordingIds,omitempty"` + AlbumReleaseId *int32 `json:"albumReleaseId,omitempty"` + ArtistMetadataId *int32 `json:"artistMetadataId,omitempty"` + TrackNumber NullableString `json:"trackNumber,omitempty"` + AbsoluteTrackNumber *int32 `json:"absoluteTrackNumber,omitempty"` + Title NullableString `json:"title,omitempty"` + Duration *int32 `json:"duration,omitempty"` + Explicit *bool `json:"explicit,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + MediumNumber *int32 `json:"mediumNumber,omitempty"` + TrackFileId *int32 `json:"trackFileId,omitempty"` + HasFile *bool `json:"hasFile,omitempty"` + AlbumRelease *AlbumReleaseLazyLoaded `json:"albumRelease,omitempty"` + ArtistMetadata *ArtistMetadataLazyLoaded `json:"artistMetadata,omitempty"` + TrackFile *TrackFileLazyLoaded `json:"trackFile,omitempty"` + Artist *ArtistLazyLoaded `json:"artist,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + Album *Album `json:"album,omitempty"` +} + +// NewTrack instantiates a new Track object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrack() *Track { + this := Track{} + return &this +} + +// NewTrackWithDefaults instantiates a new Track object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackWithDefaults() *Track { + this := Track{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *Track) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *Track) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *Track) SetId(v int32) { + o.Id = &v +} + +// GetForeignTrackId returns the ForeignTrackId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetForeignTrackId() string { + if o == nil || isNil(o.ForeignTrackId.Get()) { + var ret string + return ret + } + return *o.ForeignTrackId.Get() +} + +// GetForeignTrackIdOk returns a tuple with the ForeignTrackId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetForeignTrackIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignTrackId.Get(), o.ForeignTrackId.IsSet() +} + +// HasForeignTrackId returns a boolean if a field has been set. +func (o *Track) HasForeignTrackId() bool { + if o != nil && o.ForeignTrackId.IsSet() { + return true + } + + return false +} + +// SetForeignTrackId gets a reference to the given NullableString and assigns it to the ForeignTrackId field. +func (o *Track) SetForeignTrackId(v string) { + o.ForeignTrackId.Set(&v) +} +// SetForeignTrackIdNil sets the value for ForeignTrackId to be an explicit nil +func (o *Track) SetForeignTrackIdNil() { + o.ForeignTrackId.Set(nil) +} + +// UnsetForeignTrackId ensures that no value is present for ForeignTrackId, not even an explicit nil +func (o *Track) UnsetForeignTrackId() { + o.ForeignTrackId.Unset() +} + +// GetOldForeignTrackIds returns the OldForeignTrackIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetOldForeignTrackIds() []*string { + if o == nil { + var ret []*string + return ret + } + return o.OldForeignTrackIds +} + +// GetOldForeignTrackIdsOk returns a tuple with the OldForeignTrackIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetOldForeignTrackIdsOk() ([]*string, bool) { + if o == nil || isNil(o.OldForeignTrackIds) { + return nil, false + } + return o.OldForeignTrackIds, true +} + +// HasOldForeignTrackIds returns a boolean if a field has been set. +func (o *Track) HasOldForeignTrackIds() bool { + if o != nil && isNil(o.OldForeignTrackIds) { + return true + } + + return false +} + +// SetOldForeignTrackIds gets a reference to the given []string and assigns it to the OldForeignTrackIds field. +func (o *Track) SetOldForeignTrackIds(v []*string) { + o.OldForeignTrackIds = v +} + +// GetForeignRecordingId returns the ForeignRecordingId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetForeignRecordingId() string { + if o == nil || isNil(o.ForeignRecordingId.Get()) { + var ret string + return ret + } + return *o.ForeignRecordingId.Get() +} + +// GetForeignRecordingIdOk returns a tuple with the ForeignRecordingId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetForeignRecordingIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignRecordingId.Get(), o.ForeignRecordingId.IsSet() +} + +// HasForeignRecordingId returns a boolean if a field has been set. +func (o *Track) HasForeignRecordingId() bool { + if o != nil && o.ForeignRecordingId.IsSet() { + return true + } + + return false +} + +// SetForeignRecordingId gets a reference to the given NullableString and assigns it to the ForeignRecordingId field. +func (o *Track) SetForeignRecordingId(v string) { + o.ForeignRecordingId.Set(&v) +} +// SetForeignRecordingIdNil sets the value for ForeignRecordingId to be an explicit nil +func (o *Track) SetForeignRecordingIdNil() { + o.ForeignRecordingId.Set(nil) +} + +// UnsetForeignRecordingId ensures that no value is present for ForeignRecordingId, not even an explicit nil +func (o *Track) UnsetForeignRecordingId() { + o.ForeignRecordingId.Unset() +} + +// GetOldForeignRecordingIds returns the OldForeignRecordingIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetOldForeignRecordingIds() []*string { + if o == nil { + var ret []*string + return ret + } + return o.OldForeignRecordingIds +} + +// GetOldForeignRecordingIdsOk returns a tuple with the OldForeignRecordingIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetOldForeignRecordingIdsOk() ([]*string, bool) { + if o == nil || isNil(o.OldForeignRecordingIds) { + return nil, false + } + return o.OldForeignRecordingIds, true +} + +// HasOldForeignRecordingIds returns a boolean if a field has been set. +func (o *Track) HasOldForeignRecordingIds() bool { + if o != nil && isNil(o.OldForeignRecordingIds) { + return true + } + + return false +} + +// SetOldForeignRecordingIds gets a reference to the given []string and assigns it to the OldForeignRecordingIds field. +func (o *Track) SetOldForeignRecordingIds(v []*string) { + o.OldForeignRecordingIds = v +} + +// GetAlbumReleaseId returns the AlbumReleaseId field value if set, zero value otherwise. +func (o *Track) GetAlbumReleaseId() int32 { + if o == nil || isNil(o.AlbumReleaseId) { + var ret int32 + return ret + } + return *o.AlbumReleaseId +} + +// GetAlbumReleaseIdOk returns a tuple with the AlbumReleaseId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetAlbumReleaseIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumReleaseId) { + return nil, false + } + return o.AlbumReleaseId, true +} + +// HasAlbumReleaseId returns a boolean if a field has been set. +func (o *Track) HasAlbumReleaseId() bool { + if o != nil && !isNil(o.AlbumReleaseId) { + return true + } + + return false +} + +// SetAlbumReleaseId gets a reference to the given int32 and assigns it to the AlbumReleaseId field. +func (o *Track) SetAlbumReleaseId(v int32) { + o.AlbumReleaseId = &v +} + +// GetArtistMetadataId returns the ArtistMetadataId field value if set, zero value otherwise. +func (o *Track) GetArtistMetadataId() int32 { + if o == nil || isNil(o.ArtistMetadataId) { + var ret int32 + return ret + } + return *o.ArtistMetadataId +} + +// GetArtistMetadataIdOk returns a tuple with the ArtistMetadataId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetArtistMetadataIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistMetadataId) { + return nil, false + } + return o.ArtistMetadataId, true +} + +// HasArtistMetadataId returns a boolean if a field has been set. +func (o *Track) HasArtistMetadataId() bool { + if o != nil && !isNil(o.ArtistMetadataId) { + return true + } + + return false +} + +// SetArtistMetadataId gets a reference to the given int32 and assigns it to the ArtistMetadataId field. +func (o *Track) SetArtistMetadataId(v int32) { + o.ArtistMetadataId = &v +} + +// GetTrackNumber returns the TrackNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetTrackNumber() string { + if o == nil || isNil(o.TrackNumber.Get()) { + var ret string + return ret + } + return *o.TrackNumber.Get() +} + +// GetTrackNumberOk returns a tuple with the TrackNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetTrackNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TrackNumber.Get(), o.TrackNumber.IsSet() +} + +// HasTrackNumber returns a boolean if a field has been set. +func (o *Track) HasTrackNumber() bool { + if o != nil && o.TrackNumber.IsSet() { + return true + } + + return false +} + +// SetTrackNumber gets a reference to the given NullableString and assigns it to the TrackNumber field. +func (o *Track) SetTrackNumber(v string) { + o.TrackNumber.Set(&v) +} +// SetTrackNumberNil sets the value for TrackNumber to be an explicit nil +func (o *Track) SetTrackNumberNil() { + o.TrackNumber.Set(nil) +} + +// UnsetTrackNumber ensures that no value is present for TrackNumber, not even an explicit nil +func (o *Track) UnsetTrackNumber() { + o.TrackNumber.Unset() +} + +// GetAbsoluteTrackNumber returns the AbsoluteTrackNumber field value if set, zero value otherwise. +func (o *Track) GetAbsoluteTrackNumber() int32 { + if o == nil || isNil(o.AbsoluteTrackNumber) { + var ret int32 + return ret + } + return *o.AbsoluteTrackNumber +} + +// GetAbsoluteTrackNumberOk returns a tuple with the AbsoluteTrackNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetAbsoluteTrackNumberOk() (*int32, bool) { + if o == nil || isNil(o.AbsoluteTrackNumber) { + return nil, false + } + return o.AbsoluteTrackNumber, true +} + +// HasAbsoluteTrackNumber returns a boolean if a field has been set. +func (o *Track) HasAbsoluteTrackNumber() bool { + if o != nil && !isNil(o.AbsoluteTrackNumber) { + return true + } + + return false +} + +// SetAbsoluteTrackNumber gets a reference to the given int32 and assigns it to the AbsoluteTrackNumber field. +func (o *Track) SetAbsoluteTrackNumber(v int32) { + o.AbsoluteTrackNumber = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Track) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Track) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *Track) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *Track) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *Track) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *Track) UnsetTitle() { + o.Title.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *Track) GetDuration() int32 { + if o == nil || isNil(o.Duration) { + var ret int32 + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetDurationOk() (*int32, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *Track) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given int32 and assigns it to the Duration field. +func (o *Track) SetDuration(v int32) { + o.Duration = &v +} + +// GetExplicit returns the Explicit field value if set, zero value otherwise. +func (o *Track) GetExplicit() bool { + if o == nil || isNil(o.Explicit) { + var ret bool + return ret + } + return *o.Explicit +} + +// GetExplicitOk returns a tuple with the Explicit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetExplicitOk() (*bool, bool) { + if o == nil || isNil(o.Explicit) { + return nil, false + } + return o.Explicit, true +} + +// HasExplicit returns a boolean if a field has been set. +func (o *Track) HasExplicit() bool { + if o != nil && !isNil(o.Explicit) { + return true + } + + return false +} + +// SetExplicit gets a reference to the given bool and assigns it to the Explicit field. +func (o *Track) SetExplicit(v bool) { + o.Explicit = &v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *Track) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *Track) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *Track) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetMediumNumber returns the MediumNumber field value if set, zero value otherwise. +func (o *Track) GetMediumNumber() int32 { + if o == nil || isNil(o.MediumNumber) { + var ret int32 + return ret + } + return *o.MediumNumber +} + +// GetMediumNumberOk returns a tuple with the MediumNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetMediumNumberOk() (*int32, bool) { + if o == nil || isNil(o.MediumNumber) { + return nil, false + } + return o.MediumNumber, true +} + +// HasMediumNumber returns a boolean if a field has been set. +func (o *Track) HasMediumNumber() bool { + if o != nil && !isNil(o.MediumNumber) { + return true + } + + return false +} + +// SetMediumNumber gets a reference to the given int32 and assigns it to the MediumNumber field. +func (o *Track) SetMediumNumber(v int32) { + o.MediumNumber = &v +} + +// GetTrackFileId returns the TrackFileId field value if set, zero value otherwise. +func (o *Track) GetTrackFileId() int32 { + if o == nil || isNil(o.TrackFileId) { + var ret int32 + return ret + } + return *o.TrackFileId +} + +// GetTrackFileIdOk returns a tuple with the TrackFileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetTrackFileIdOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileId) { + return nil, false + } + return o.TrackFileId, true +} + +// HasTrackFileId returns a boolean if a field has been set. +func (o *Track) HasTrackFileId() bool { + if o != nil && !isNil(o.TrackFileId) { + return true + } + + return false +} + +// SetTrackFileId gets a reference to the given int32 and assigns it to the TrackFileId field. +func (o *Track) SetTrackFileId(v int32) { + o.TrackFileId = &v +} + +// GetHasFile returns the HasFile field value if set, zero value otherwise. +func (o *Track) GetHasFile() bool { + if o == nil || isNil(o.HasFile) { + var ret bool + return ret + } + return *o.HasFile +} + +// GetHasFileOk returns a tuple with the HasFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetHasFileOk() (*bool, bool) { + if o == nil || isNil(o.HasFile) { + return nil, false + } + return o.HasFile, true +} + +// HasHasFile returns a boolean if a field has been set. +func (o *Track) HasHasFile() bool { + if o != nil && !isNil(o.HasFile) { + return true + } + + return false +} + +// SetHasFile gets a reference to the given bool and assigns it to the HasFile field. +func (o *Track) SetHasFile(v bool) { + o.HasFile = &v +} + +// GetAlbumRelease returns the AlbumRelease field value if set, zero value otherwise. +func (o *Track) GetAlbumRelease() AlbumReleaseLazyLoaded { + if o == nil || isNil(o.AlbumRelease) { + var ret AlbumReleaseLazyLoaded + return ret + } + return *o.AlbumRelease +} + +// GetAlbumReleaseOk returns a tuple with the AlbumRelease field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetAlbumReleaseOk() (*AlbumReleaseLazyLoaded, bool) { + if o == nil || isNil(o.AlbumRelease) { + return nil, false + } + return o.AlbumRelease, true +} + +// HasAlbumRelease returns a boolean if a field has been set. +func (o *Track) HasAlbumRelease() bool { + if o != nil && !isNil(o.AlbumRelease) { + return true + } + + return false +} + +// SetAlbumRelease gets a reference to the given AlbumReleaseLazyLoaded and assigns it to the AlbumRelease field. +func (o *Track) SetAlbumRelease(v AlbumReleaseLazyLoaded) { + o.AlbumRelease = &v +} + +// GetArtistMetadata returns the ArtistMetadata field value if set, zero value otherwise. +func (o *Track) GetArtistMetadata() ArtistMetadataLazyLoaded { + if o == nil || isNil(o.ArtistMetadata) { + var ret ArtistMetadataLazyLoaded + return ret + } + return *o.ArtistMetadata +} + +// GetArtistMetadataOk returns a tuple with the ArtistMetadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetArtistMetadataOk() (*ArtistMetadataLazyLoaded, bool) { + if o == nil || isNil(o.ArtistMetadata) { + return nil, false + } + return o.ArtistMetadata, true +} + +// HasArtistMetadata returns a boolean if a field has been set. +func (o *Track) HasArtistMetadata() bool { + if o != nil && !isNil(o.ArtistMetadata) { + return true + } + + return false +} + +// SetArtistMetadata gets a reference to the given ArtistMetadataLazyLoaded and assigns it to the ArtistMetadata field. +func (o *Track) SetArtistMetadata(v ArtistMetadataLazyLoaded) { + o.ArtistMetadata = &v +} + +// GetTrackFile returns the TrackFile field value if set, zero value otherwise. +func (o *Track) GetTrackFile() TrackFileLazyLoaded { + if o == nil || isNil(o.TrackFile) { + var ret TrackFileLazyLoaded + return ret + } + return *o.TrackFile +} + +// GetTrackFileOk returns a tuple with the TrackFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetTrackFileOk() (*TrackFileLazyLoaded, bool) { + if o == nil || isNil(o.TrackFile) { + return nil, false + } + return o.TrackFile, true +} + +// HasTrackFile returns a boolean if a field has been set. +func (o *Track) HasTrackFile() bool { + if o != nil && !isNil(o.TrackFile) { + return true + } + + return false +} + +// SetTrackFile gets a reference to the given TrackFileLazyLoaded and assigns it to the TrackFile field. +func (o *Track) SetTrackFile(v TrackFileLazyLoaded) { + o.TrackFile = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *Track) GetArtist() ArtistLazyLoaded { + if o == nil || isNil(o.Artist) { + var ret ArtistLazyLoaded + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetArtistOk() (*ArtistLazyLoaded, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *Track) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistLazyLoaded and assigns it to the Artist field. +func (o *Track) SetArtist(v ArtistLazyLoaded) { + o.Artist = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *Track) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *Track) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *Track) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *Track) GetAlbum() Album { + if o == nil || isNil(o.Album) { + var ret Album + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Track) GetAlbumOk() (*Album, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *Track) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given Album and assigns it to the Album field. +func (o *Track) SetAlbum(v Album) { + o.Album = &v +} + +func (o Track) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.ForeignTrackId.IsSet() { + toSerialize["foreignTrackId"] = o.ForeignTrackId.Get() + } + if o.OldForeignTrackIds != nil { + toSerialize["oldForeignTrackIds"] = o.OldForeignTrackIds + } + if o.ForeignRecordingId.IsSet() { + toSerialize["foreignRecordingId"] = o.ForeignRecordingId.Get() + } + if o.OldForeignRecordingIds != nil { + toSerialize["oldForeignRecordingIds"] = o.OldForeignRecordingIds + } + if !isNil(o.AlbumReleaseId) { + toSerialize["albumReleaseId"] = o.AlbumReleaseId + } + if !isNil(o.ArtistMetadataId) { + toSerialize["artistMetadataId"] = o.ArtistMetadataId + } + if o.TrackNumber.IsSet() { + toSerialize["trackNumber"] = o.TrackNumber.Get() + } + if !isNil(o.AbsoluteTrackNumber) { + toSerialize["absoluteTrackNumber"] = o.AbsoluteTrackNumber + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if !isNil(o.Explicit) { + toSerialize["explicit"] = o.Explicit + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if !isNil(o.MediumNumber) { + toSerialize["mediumNumber"] = o.MediumNumber + } + if !isNil(o.TrackFileId) { + toSerialize["trackFileId"] = o.TrackFileId + } + if !isNil(o.HasFile) { + toSerialize["hasFile"] = o.HasFile + } + if !isNil(o.AlbumRelease) { + toSerialize["albumRelease"] = o.AlbumRelease + } + if !isNil(o.ArtistMetadata) { + toSerialize["artistMetadata"] = o.ArtistMetadata + } + if !isNil(o.TrackFile) { + toSerialize["trackFile"] = o.TrackFile + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + return json.Marshal(toSerialize) +} + +type NullableTrack struct { + value *Track + isSet bool +} + +func (v NullableTrack) Get() *Track { + return v.value +} + +func (v *NullableTrack) Set(val *Track) { + v.value = val + v.isSet = true +} + +func (v NullableTrack) IsSet() bool { + return v.isSet +} + +func (v *NullableTrack) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrack(val *Track) *NullableTrack { + return &NullableTrack{value: val, isSet: true} +} + +func (v NullableTrack) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrack) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_file.go b/lidarr/model_track_file.go new file mode 100644 index 0000000..2494591 --- /dev/null +++ b/lidarr/model_track_file.go @@ -0,0 +1,578 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// TrackFile struct for TrackFile +type TrackFile struct { + Id *int32 `json:"id,omitempty"` + Path NullableString `json:"path,omitempty"` + Size *int64 `json:"size,omitempty"` + Modified *time.Time `json:"modified,omitempty"` + DateAdded *time.Time `json:"dateAdded,omitempty"` + SceneName NullableString `json:"sceneName,omitempty"` + ReleaseGroup NullableString `json:"releaseGroup,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + MediaInfo *MediaInfoModel `json:"mediaInfo,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + Tracks *TrackListLazyLoaded `json:"tracks,omitempty"` + Artist *ArtistLazyLoaded `json:"artist,omitempty"` + Album *AlbumLazyLoaded `json:"album,omitempty"` +} + +// NewTrackFile instantiates a new TrackFile object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackFile() *TrackFile { + this := TrackFile{} + return &this +} + +// NewTrackFileWithDefaults instantiates a new TrackFile object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackFileWithDefaults() *TrackFile { + this := TrackFile{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TrackFile) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TrackFile) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TrackFile) SetId(v int32) { + o.Id = &v +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackFile) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackFile) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *TrackFile) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *TrackFile) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *TrackFile) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *TrackFile) UnsetPath() { + o.Path.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *TrackFile) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *TrackFile) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *TrackFile) SetSize(v int64) { + o.Size = &v +} + +// GetModified returns the Modified field value if set, zero value otherwise. +func (o *TrackFile) GetModified() time.Time { + if o == nil || isNil(o.Modified) { + var ret time.Time + return ret + } + return *o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetModifiedOk() (*time.Time, bool) { + if o == nil || isNil(o.Modified) { + return nil, false + } + return o.Modified, true +} + +// HasModified returns a boolean if a field has been set. +func (o *TrackFile) HasModified() bool { + if o != nil && !isNil(o.Modified) { + return true + } + + return false +} + +// SetModified gets a reference to the given time.Time and assigns it to the Modified field. +func (o *TrackFile) SetModified(v time.Time) { + o.Modified = &v +} + +// GetDateAdded returns the DateAdded field value if set, zero value otherwise. +func (o *TrackFile) GetDateAdded() time.Time { + if o == nil || isNil(o.DateAdded) { + var ret time.Time + return ret + } + return *o.DateAdded +} + +// GetDateAddedOk returns a tuple with the DateAdded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetDateAddedOk() (*time.Time, bool) { + if o == nil || isNil(o.DateAdded) { + return nil, false + } + return o.DateAdded, true +} + +// HasDateAdded returns a boolean if a field has been set. +func (o *TrackFile) HasDateAdded() bool { + if o != nil && !isNil(o.DateAdded) { + return true + } + + return false +} + +// SetDateAdded gets a reference to the given time.Time and assigns it to the DateAdded field. +func (o *TrackFile) SetDateAdded(v time.Time) { + o.DateAdded = &v +} + +// GetSceneName returns the SceneName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackFile) GetSceneName() string { + if o == nil || isNil(o.SceneName.Get()) { + var ret string + return ret + } + return *o.SceneName.Get() +} + +// GetSceneNameOk returns a tuple with the SceneName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackFile) GetSceneNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SceneName.Get(), o.SceneName.IsSet() +} + +// HasSceneName returns a boolean if a field has been set. +func (o *TrackFile) HasSceneName() bool { + if o != nil && o.SceneName.IsSet() { + return true + } + + return false +} + +// SetSceneName gets a reference to the given NullableString and assigns it to the SceneName field. +func (o *TrackFile) SetSceneName(v string) { + o.SceneName.Set(&v) +} +// SetSceneNameNil sets the value for SceneName to be an explicit nil +func (o *TrackFile) SetSceneNameNil() { + o.SceneName.Set(nil) +} + +// UnsetSceneName ensures that no value is present for SceneName, not even an explicit nil +func (o *TrackFile) UnsetSceneName() { + o.SceneName.Unset() +} + +// GetReleaseGroup returns the ReleaseGroup field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackFile) GetReleaseGroup() string { + if o == nil || isNil(o.ReleaseGroup.Get()) { + var ret string + return ret + } + return *o.ReleaseGroup.Get() +} + +// GetReleaseGroupOk returns a tuple with the ReleaseGroup field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackFile) GetReleaseGroupOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseGroup.Get(), o.ReleaseGroup.IsSet() +} + +// HasReleaseGroup returns a boolean if a field has been set. +func (o *TrackFile) HasReleaseGroup() bool { + if o != nil && o.ReleaseGroup.IsSet() { + return true + } + + return false +} + +// SetReleaseGroup gets a reference to the given NullableString and assigns it to the ReleaseGroup field. +func (o *TrackFile) SetReleaseGroup(v string) { + o.ReleaseGroup.Set(&v) +} +// SetReleaseGroupNil sets the value for ReleaseGroup to be an explicit nil +func (o *TrackFile) SetReleaseGroupNil() { + o.ReleaseGroup.Set(nil) +} + +// UnsetReleaseGroup ensures that no value is present for ReleaseGroup, not even an explicit nil +func (o *TrackFile) UnsetReleaseGroup() { + o.ReleaseGroup.Unset() +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *TrackFile) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *TrackFile) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *TrackFile) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetMediaInfo returns the MediaInfo field value if set, zero value otherwise. +func (o *TrackFile) GetMediaInfo() MediaInfoModel { + if o == nil || isNil(o.MediaInfo) { + var ret MediaInfoModel + return ret + } + return *o.MediaInfo +} + +// GetMediaInfoOk returns a tuple with the MediaInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetMediaInfoOk() (*MediaInfoModel, bool) { + if o == nil || isNil(o.MediaInfo) { + return nil, false + } + return o.MediaInfo, true +} + +// HasMediaInfo returns a boolean if a field has been set. +func (o *TrackFile) HasMediaInfo() bool { + if o != nil && !isNil(o.MediaInfo) { + return true + } + + return false +} + +// SetMediaInfo gets a reference to the given MediaInfoModel and assigns it to the MediaInfo field. +func (o *TrackFile) SetMediaInfo(v MediaInfoModel) { + o.MediaInfo = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *TrackFile) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *TrackFile) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *TrackFile) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetTracks returns the Tracks field value if set, zero value otherwise. +func (o *TrackFile) GetTracks() TrackListLazyLoaded { + if o == nil || isNil(o.Tracks) { + var ret TrackListLazyLoaded + return ret + } + return *o.Tracks +} + +// GetTracksOk returns a tuple with the Tracks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetTracksOk() (*TrackListLazyLoaded, bool) { + if o == nil || isNil(o.Tracks) { + return nil, false + } + return o.Tracks, true +} + +// HasTracks returns a boolean if a field has been set. +func (o *TrackFile) HasTracks() bool { + if o != nil && !isNil(o.Tracks) { + return true + } + + return false +} + +// SetTracks gets a reference to the given TrackListLazyLoaded and assigns it to the Tracks field. +func (o *TrackFile) SetTracks(v TrackListLazyLoaded) { + o.Tracks = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *TrackFile) GetArtist() ArtistLazyLoaded { + if o == nil || isNil(o.Artist) { + var ret ArtistLazyLoaded + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetArtistOk() (*ArtistLazyLoaded, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *TrackFile) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistLazyLoaded and assigns it to the Artist field. +func (o *TrackFile) SetArtist(v ArtistLazyLoaded) { + o.Artist = &v +} + +// GetAlbum returns the Album field value if set, zero value otherwise. +func (o *TrackFile) GetAlbum() AlbumLazyLoaded { + if o == nil || isNil(o.Album) { + var ret AlbumLazyLoaded + return ret + } + return *o.Album +} + +// GetAlbumOk returns a tuple with the Album field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFile) GetAlbumOk() (*AlbumLazyLoaded, bool) { + if o == nil || isNil(o.Album) { + return nil, false + } + return o.Album, true +} + +// HasAlbum returns a boolean if a field has been set. +func (o *TrackFile) HasAlbum() bool { + if o != nil && !isNil(o.Album) { + return true + } + + return false +} + +// SetAlbum gets a reference to the given AlbumLazyLoaded and assigns it to the Album field. +func (o *TrackFile) SetAlbum(v AlbumLazyLoaded) { + o.Album = &v +} + +func (o TrackFile) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Modified) { + toSerialize["modified"] = o.Modified + } + if !isNil(o.DateAdded) { + toSerialize["dateAdded"] = o.DateAdded + } + if o.SceneName.IsSet() { + toSerialize["sceneName"] = o.SceneName.Get() + } + if o.ReleaseGroup.IsSet() { + toSerialize["releaseGroup"] = o.ReleaseGroup.Get() + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.MediaInfo) { + toSerialize["mediaInfo"] = o.MediaInfo + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if !isNil(o.Tracks) { + toSerialize["tracks"] = o.Tracks + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.Album) { + toSerialize["album"] = o.Album + } + return json.Marshal(toSerialize) +} + +type NullableTrackFile struct { + value *TrackFile + isSet bool +} + +func (v NullableTrackFile) Get() *TrackFile { + return v.value +} + +func (v *NullableTrackFile) Set(val *TrackFile) { + v.value = val + v.isSet = true +} + +func (v NullableTrackFile) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackFile) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackFile(val *TrackFile) *NullableTrackFile { + return &NullableTrackFile{value: val, isSet: true} +} + +func (v NullableTrackFile) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackFile) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_file_lazy_loaded.go b/lidarr/model_track_file_lazy_loaded.go new file mode 100644 index 0000000..c430633 --- /dev/null +++ b/lidarr/model_track_file_lazy_loaded.go @@ -0,0 +1,151 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TrackFileLazyLoaded struct for TrackFileLazyLoaded +type TrackFileLazyLoaded struct { + Value *TrackFile `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewTrackFileLazyLoaded instantiates a new TrackFileLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackFileLazyLoaded() *TrackFileLazyLoaded { + this := TrackFileLazyLoaded{} + return &this +} + +// NewTrackFileLazyLoadedWithDefaults instantiates a new TrackFileLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackFileLazyLoadedWithDefaults() *TrackFileLazyLoaded { + this := TrackFileLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise. +func (o *TrackFileLazyLoaded) GetValue() TrackFile { + if o == nil || isNil(o.Value) { + var ret TrackFile + return ret + } + return *o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileLazyLoaded) GetValueOk() (*TrackFile, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *TrackFileLazyLoaded) HasValue() bool { + if o != nil && !isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given TrackFile and assigns it to the Value field. +func (o *TrackFileLazyLoaded) SetValue(v TrackFile) { + o.Value = &v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *TrackFileLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *TrackFileLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *TrackFileLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o TrackFileLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Value) { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableTrackFileLazyLoaded struct { + value *TrackFileLazyLoaded + isSet bool +} + +func (v NullableTrackFileLazyLoaded) Get() *TrackFileLazyLoaded { + return v.value +} + +func (v *NullableTrackFileLazyLoaded) Set(val *TrackFileLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableTrackFileLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackFileLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackFileLazyLoaded(val *TrackFileLazyLoaded) *NullableTrackFileLazyLoaded { + return &NullableTrackFileLazyLoaded{value: val, isSet: true} +} + +func (v NullableTrackFileLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackFileLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_file_list_resource.go b/lidarr/model_track_file_list_resource.go new file mode 100644 index 0000000..e66d739 --- /dev/null +++ b/lidarr/model_track_file_list_resource.go @@ -0,0 +1,152 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TrackFileListResource struct for TrackFileListResource +type TrackFileListResource struct { + TrackFileIds []*int32 `json:"trackFileIds,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` +} + +// NewTrackFileListResource instantiates a new TrackFileListResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackFileListResource() *TrackFileListResource { + this := TrackFileListResource{} + return &this +} + +// NewTrackFileListResourceWithDefaults instantiates a new TrackFileListResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackFileListResourceWithDefaults() *TrackFileListResource { + this := TrackFileListResource{} + return &this +} + +// GetTrackFileIds returns the TrackFileIds field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackFileListResource) GetTrackFileIds() []*int32 { + if o == nil { + var ret []*int32 + return ret + } + return o.TrackFileIds +} + +// GetTrackFileIdsOk returns a tuple with the TrackFileIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackFileListResource) GetTrackFileIdsOk() ([]*int32, bool) { + if o == nil || isNil(o.TrackFileIds) { + return nil, false + } + return o.TrackFileIds, true +} + +// HasTrackFileIds returns a boolean if a field has been set. +func (o *TrackFileListResource) HasTrackFileIds() bool { + if o != nil && isNil(o.TrackFileIds) { + return true + } + + return false +} + +// SetTrackFileIds gets a reference to the given []int32 and assigns it to the TrackFileIds field. +func (o *TrackFileListResource) SetTrackFileIds(v []*int32) { + o.TrackFileIds = v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *TrackFileListResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileListResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *TrackFileListResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *TrackFileListResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +func (o TrackFileListResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.TrackFileIds != nil { + toSerialize["trackFileIds"] = o.TrackFileIds + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + return json.Marshal(toSerialize) +} + +type NullableTrackFileListResource struct { + value *TrackFileListResource + isSet bool +} + +func (v NullableTrackFileListResource) Get() *TrackFileListResource { + return v.value +} + +func (v *NullableTrackFileListResource) Set(val *TrackFileListResource) { + v.value = val + v.isSet = true +} + +func (v NullableTrackFileListResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackFileListResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackFileListResource(val *TrackFileListResource) *NullableTrackFileListResource { + return &NullableTrackFileListResource{value: val, isSet: true} +} + +func (v NullableTrackFileListResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackFileListResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_file_resource.go b/lidarr/model_track_file_resource.go new file mode 100644 index 0000000..cd06fd9 --- /dev/null +++ b/lidarr/model_track_file_resource.go @@ -0,0 +1,486 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// TrackFileResource struct for TrackFileResource +type TrackFileResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + Path NullableString `json:"path,omitempty"` + Size *int64 `json:"size,omitempty"` + DateAdded *time.Time `json:"dateAdded,omitempty"` + Quality *QualityModel `json:"quality,omitempty"` + QualityWeight *int32 `json:"qualityWeight,omitempty"` + MediaInfo *MediaInfoResource `json:"mediaInfo,omitempty"` + QualityCutoffNotMet *bool `json:"qualityCutoffNotMet,omitempty"` + AudioTags *ParsedTrackInfo `json:"audioTags,omitempty"` +} + +// NewTrackFileResource instantiates a new TrackFileResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackFileResource() *TrackFileResource { + this := TrackFileResource{} + return &this +} + +// NewTrackFileResourceWithDefaults instantiates a new TrackFileResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackFileResourceWithDefaults() *TrackFileResource { + this := TrackFileResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TrackFileResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TrackFileResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TrackFileResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *TrackFileResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *TrackFileResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *TrackFileResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *TrackFileResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *TrackFileResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *TrackFileResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetPath returns the Path field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackFileResource) GetPath() string { + if o == nil || isNil(o.Path.Get()) { + var ret string + return ret + } + return *o.Path.Get() +} + +// GetPathOk returns a tuple with the Path field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackFileResource) GetPathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Path.Get(), o.Path.IsSet() +} + +// HasPath returns a boolean if a field has been set. +func (o *TrackFileResource) HasPath() bool { + if o != nil && o.Path.IsSet() { + return true + } + + return false +} + +// SetPath gets a reference to the given NullableString and assigns it to the Path field. +func (o *TrackFileResource) SetPath(v string) { + o.Path.Set(&v) +} +// SetPathNil sets the value for Path to be an explicit nil +func (o *TrackFileResource) SetPathNil() { + o.Path.Set(nil) +} + +// UnsetPath ensures that no value is present for Path, not even an explicit nil +func (o *TrackFileResource) UnsetPath() { + o.Path.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *TrackFileResource) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *TrackFileResource) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *TrackFileResource) SetSize(v int64) { + o.Size = &v +} + +// GetDateAdded returns the DateAdded field value if set, zero value otherwise. +func (o *TrackFileResource) GetDateAdded() time.Time { + if o == nil || isNil(o.DateAdded) { + var ret time.Time + return ret + } + return *o.DateAdded +} + +// GetDateAddedOk returns a tuple with the DateAdded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetDateAddedOk() (*time.Time, bool) { + if o == nil || isNil(o.DateAdded) { + return nil, false + } + return o.DateAdded, true +} + +// HasDateAdded returns a boolean if a field has been set. +func (o *TrackFileResource) HasDateAdded() bool { + if o != nil && !isNil(o.DateAdded) { + return true + } + + return false +} + +// SetDateAdded gets a reference to the given time.Time and assigns it to the DateAdded field. +func (o *TrackFileResource) SetDateAdded(v time.Time) { + o.DateAdded = &v +} + +// GetQuality returns the Quality field value if set, zero value otherwise. +func (o *TrackFileResource) GetQuality() QualityModel { + if o == nil || isNil(o.Quality) { + var ret QualityModel + return ret + } + return *o.Quality +} + +// GetQualityOk returns a tuple with the Quality field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetQualityOk() (*QualityModel, bool) { + if o == nil || isNil(o.Quality) { + return nil, false + } + return o.Quality, true +} + +// HasQuality returns a boolean if a field has been set. +func (o *TrackFileResource) HasQuality() bool { + if o != nil && !isNil(o.Quality) { + return true + } + + return false +} + +// SetQuality gets a reference to the given QualityModel and assigns it to the Quality field. +func (o *TrackFileResource) SetQuality(v QualityModel) { + o.Quality = &v +} + +// GetQualityWeight returns the QualityWeight field value if set, zero value otherwise. +func (o *TrackFileResource) GetQualityWeight() int32 { + if o == nil || isNil(o.QualityWeight) { + var ret int32 + return ret + } + return *o.QualityWeight +} + +// GetQualityWeightOk returns a tuple with the QualityWeight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetQualityWeightOk() (*int32, bool) { + if o == nil || isNil(o.QualityWeight) { + return nil, false + } + return o.QualityWeight, true +} + +// HasQualityWeight returns a boolean if a field has been set. +func (o *TrackFileResource) HasQualityWeight() bool { + if o != nil && !isNil(o.QualityWeight) { + return true + } + + return false +} + +// SetQualityWeight gets a reference to the given int32 and assigns it to the QualityWeight field. +func (o *TrackFileResource) SetQualityWeight(v int32) { + o.QualityWeight = &v +} + +// GetMediaInfo returns the MediaInfo field value if set, zero value otherwise. +func (o *TrackFileResource) GetMediaInfo() MediaInfoResource { + if o == nil || isNil(o.MediaInfo) { + var ret MediaInfoResource + return ret + } + return *o.MediaInfo +} + +// GetMediaInfoOk returns a tuple with the MediaInfo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetMediaInfoOk() (*MediaInfoResource, bool) { + if o == nil || isNil(o.MediaInfo) { + return nil, false + } + return o.MediaInfo, true +} + +// HasMediaInfo returns a boolean if a field has been set. +func (o *TrackFileResource) HasMediaInfo() bool { + if o != nil && !isNil(o.MediaInfo) { + return true + } + + return false +} + +// SetMediaInfo gets a reference to the given MediaInfoResource and assigns it to the MediaInfo field. +func (o *TrackFileResource) SetMediaInfo(v MediaInfoResource) { + o.MediaInfo = &v +} + +// GetQualityCutoffNotMet returns the QualityCutoffNotMet field value if set, zero value otherwise. +func (o *TrackFileResource) GetQualityCutoffNotMet() bool { + if o == nil || isNil(o.QualityCutoffNotMet) { + var ret bool + return ret + } + return *o.QualityCutoffNotMet +} + +// GetQualityCutoffNotMetOk returns a tuple with the QualityCutoffNotMet field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetQualityCutoffNotMetOk() (*bool, bool) { + if o == nil || isNil(o.QualityCutoffNotMet) { + return nil, false + } + return o.QualityCutoffNotMet, true +} + +// HasQualityCutoffNotMet returns a boolean if a field has been set. +func (o *TrackFileResource) HasQualityCutoffNotMet() bool { + if o != nil && !isNil(o.QualityCutoffNotMet) { + return true + } + + return false +} + +// SetQualityCutoffNotMet gets a reference to the given bool and assigns it to the QualityCutoffNotMet field. +func (o *TrackFileResource) SetQualityCutoffNotMet(v bool) { + o.QualityCutoffNotMet = &v +} + +// GetAudioTags returns the AudioTags field value if set, zero value otherwise. +func (o *TrackFileResource) GetAudioTags() ParsedTrackInfo { + if o == nil || isNil(o.AudioTags) { + var ret ParsedTrackInfo + return ret + } + return *o.AudioTags +} + +// GetAudioTagsOk returns a tuple with the AudioTags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackFileResource) GetAudioTagsOk() (*ParsedTrackInfo, bool) { + if o == nil || isNil(o.AudioTags) { + return nil, false + } + return o.AudioTags, true +} + +// HasAudioTags returns a boolean if a field has been set. +func (o *TrackFileResource) HasAudioTags() bool { + if o != nil && !isNil(o.AudioTags) { + return true + } + + return false +} + +// SetAudioTags gets a reference to the given ParsedTrackInfo and assigns it to the AudioTags field. +func (o *TrackFileResource) SetAudioTags(v ParsedTrackInfo) { + o.AudioTags = &v +} + +func (o TrackFileResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if o.Path.IsSet() { + toSerialize["path"] = o.Path.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.DateAdded) { + toSerialize["dateAdded"] = o.DateAdded + } + if !isNil(o.Quality) { + toSerialize["quality"] = o.Quality + } + if !isNil(o.QualityWeight) { + toSerialize["qualityWeight"] = o.QualityWeight + } + if !isNil(o.MediaInfo) { + toSerialize["mediaInfo"] = o.MediaInfo + } + if !isNil(o.QualityCutoffNotMet) { + toSerialize["qualityCutoffNotMet"] = o.QualityCutoffNotMet + } + if !isNil(o.AudioTags) { + toSerialize["audioTags"] = o.AudioTags + } + return json.Marshal(toSerialize) +} + +type NullableTrackFileResource struct { + value *TrackFileResource + isSet bool +} + +func (v NullableTrackFileResource) Get() *TrackFileResource { + return v.value +} + +func (v *NullableTrackFileResource) Set(val *TrackFileResource) { + v.value = val + v.isSet = true +} + +func (v NullableTrackFileResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackFileResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackFileResource(val *TrackFileResource) *NullableTrackFileResource { + return &NullableTrackFileResource{value: val, isSet: true} +} + +func (v NullableTrackFileResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackFileResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_list_lazy_loaded.go b/lidarr/model_track_list_lazy_loaded.go new file mode 100644 index 0000000..96b5b0e --- /dev/null +++ b/lidarr/model_track_list_lazy_loaded.go @@ -0,0 +1,152 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TrackListLazyLoaded struct for TrackListLazyLoaded +type TrackListLazyLoaded struct { + Value []*Track `json:"value,omitempty"` + IsLoaded *bool `json:"isLoaded,omitempty"` +} + +// NewTrackListLazyLoaded instantiates a new TrackListLazyLoaded object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackListLazyLoaded() *TrackListLazyLoaded { + this := TrackListLazyLoaded{} + return &this +} + +// NewTrackListLazyLoadedWithDefaults instantiates a new TrackListLazyLoaded object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackListLazyLoadedWithDefaults() *TrackListLazyLoaded { + this := TrackListLazyLoaded{} + return &this +} + +// GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackListLazyLoaded) GetValue() []*Track { + if o == nil { + var ret []*Track + return ret + } + return o.Value +} + +// GetValueOk returns a tuple with the Value field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackListLazyLoaded) GetValueOk() ([]*Track, bool) { + if o == nil || isNil(o.Value) { + return nil, false + } + return o.Value, true +} + +// HasValue returns a boolean if a field has been set. +func (o *TrackListLazyLoaded) HasValue() bool { + if o != nil && isNil(o.Value) { + return true + } + + return false +} + +// SetValue gets a reference to the given []Track and assigns it to the Value field. +func (o *TrackListLazyLoaded) SetValue(v []*Track) { + o.Value = v +} + +// GetIsLoaded returns the IsLoaded field value if set, zero value otherwise. +func (o *TrackListLazyLoaded) GetIsLoaded() bool { + if o == nil || isNil(o.IsLoaded) { + var ret bool + return ret + } + return *o.IsLoaded +} + +// GetIsLoadedOk returns a tuple with the IsLoaded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackListLazyLoaded) GetIsLoadedOk() (*bool, bool) { + if o == nil || isNil(o.IsLoaded) { + return nil, false + } + return o.IsLoaded, true +} + +// HasIsLoaded returns a boolean if a field has been set. +func (o *TrackListLazyLoaded) HasIsLoaded() bool { + if o != nil && !isNil(o.IsLoaded) { + return true + } + + return false +} + +// SetIsLoaded gets a reference to the given bool and assigns it to the IsLoaded field. +func (o *TrackListLazyLoaded) SetIsLoaded(v bool) { + o.IsLoaded = &v +} + +func (o TrackListLazyLoaded) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Value != nil { + toSerialize["value"] = o.Value + } + if !isNil(o.IsLoaded) { + toSerialize["isLoaded"] = o.IsLoaded + } + return json.Marshal(toSerialize) +} + +type NullableTrackListLazyLoaded struct { + value *TrackListLazyLoaded + isSet bool +} + +func (v NullableTrackListLazyLoaded) Get() *TrackListLazyLoaded { + return v.value +} + +func (v *NullableTrackListLazyLoaded) Set(val *TrackListLazyLoaded) { + v.value = val + v.isSet = true +} + +func (v NullableTrackListLazyLoaded) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackListLazyLoaded) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackListLazyLoaded(val *TrackListLazyLoaded) *NullableTrackListLazyLoaded { + return &NullableTrackListLazyLoaded{value: val, isSet: true} +} + +func (v NullableTrackListLazyLoaded) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackListLazyLoaded) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_track_resource.go b/lidarr/model_track_resource.go new file mode 100644 index 0000000..186c1a0 --- /dev/null +++ b/lidarr/model_track_resource.go @@ -0,0 +1,731 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TrackResource struct for TrackResource +type TrackResource struct { + Id *int32 `json:"id,omitempty"` + ArtistId *int32 `json:"artistId,omitempty"` + ForeignTrackId NullableString `json:"foreignTrackId,omitempty"` + ForeignRecordingId NullableString `json:"foreignRecordingId,omitempty"` + TrackFileId *int32 `json:"trackFileId,omitempty"` + AlbumId *int32 `json:"albumId,omitempty"` + Explicit *bool `json:"explicit,omitempty"` + AbsoluteTrackNumber *int32 `json:"absoluteTrackNumber,omitempty"` + TrackNumber NullableString `json:"trackNumber,omitempty"` + Title NullableString `json:"title,omitempty"` + Duration *int32 `json:"duration,omitempty"` + TrackFile *TrackFileResource `json:"trackFile,omitempty"` + MediumNumber *int32 `json:"mediumNumber,omitempty"` + HasFile *bool `json:"hasFile,omitempty"` + Artist *ArtistResource `json:"artist,omitempty"` + Ratings *Ratings `json:"ratings,omitempty"` + Grabbed *bool `json:"grabbed,omitempty"` +} + +// NewTrackResource instantiates a new TrackResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackResource() *TrackResource { + this := TrackResource{} + return &this +} + +// NewTrackResourceWithDefaults instantiates a new TrackResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackResourceWithDefaults() *TrackResource { + this := TrackResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *TrackResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *TrackResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *TrackResource) SetId(v int32) { + o.Id = &v +} + +// GetArtistId returns the ArtistId field value if set, zero value otherwise. +func (o *TrackResource) GetArtistId() int32 { + if o == nil || isNil(o.ArtistId) { + var ret int32 + return ret + } + return *o.ArtistId +} + +// GetArtistIdOk returns a tuple with the ArtistId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetArtistIdOk() (*int32, bool) { + if o == nil || isNil(o.ArtistId) { + return nil, false + } + return o.ArtistId, true +} + +// HasArtistId returns a boolean if a field has been set. +func (o *TrackResource) HasArtistId() bool { + if o != nil && !isNil(o.ArtistId) { + return true + } + + return false +} + +// SetArtistId gets a reference to the given int32 and assigns it to the ArtistId field. +func (o *TrackResource) SetArtistId(v int32) { + o.ArtistId = &v +} + +// GetForeignTrackId returns the ForeignTrackId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackResource) GetForeignTrackId() string { + if o == nil || isNil(o.ForeignTrackId.Get()) { + var ret string + return ret + } + return *o.ForeignTrackId.Get() +} + +// GetForeignTrackIdOk returns a tuple with the ForeignTrackId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackResource) GetForeignTrackIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignTrackId.Get(), o.ForeignTrackId.IsSet() +} + +// HasForeignTrackId returns a boolean if a field has been set. +func (o *TrackResource) HasForeignTrackId() bool { + if o != nil && o.ForeignTrackId.IsSet() { + return true + } + + return false +} + +// SetForeignTrackId gets a reference to the given NullableString and assigns it to the ForeignTrackId field. +func (o *TrackResource) SetForeignTrackId(v string) { + o.ForeignTrackId.Set(&v) +} +// SetForeignTrackIdNil sets the value for ForeignTrackId to be an explicit nil +func (o *TrackResource) SetForeignTrackIdNil() { + o.ForeignTrackId.Set(nil) +} + +// UnsetForeignTrackId ensures that no value is present for ForeignTrackId, not even an explicit nil +func (o *TrackResource) UnsetForeignTrackId() { + o.ForeignTrackId.Unset() +} + +// GetForeignRecordingId returns the ForeignRecordingId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackResource) GetForeignRecordingId() string { + if o == nil || isNil(o.ForeignRecordingId.Get()) { + var ret string + return ret + } + return *o.ForeignRecordingId.Get() +} + +// GetForeignRecordingIdOk returns a tuple with the ForeignRecordingId field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackResource) GetForeignRecordingIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForeignRecordingId.Get(), o.ForeignRecordingId.IsSet() +} + +// HasForeignRecordingId returns a boolean if a field has been set. +func (o *TrackResource) HasForeignRecordingId() bool { + if o != nil && o.ForeignRecordingId.IsSet() { + return true + } + + return false +} + +// SetForeignRecordingId gets a reference to the given NullableString and assigns it to the ForeignRecordingId field. +func (o *TrackResource) SetForeignRecordingId(v string) { + o.ForeignRecordingId.Set(&v) +} +// SetForeignRecordingIdNil sets the value for ForeignRecordingId to be an explicit nil +func (o *TrackResource) SetForeignRecordingIdNil() { + o.ForeignRecordingId.Set(nil) +} + +// UnsetForeignRecordingId ensures that no value is present for ForeignRecordingId, not even an explicit nil +func (o *TrackResource) UnsetForeignRecordingId() { + o.ForeignRecordingId.Unset() +} + +// GetTrackFileId returns the TrackFileId field value if set, zero value otherwise. +func (o *TrackResource) GetTrackFileId() int32 { + if o == nil || isNil(o.TrackFileId) { + var ret int32 + return ret + } + return *o.TrackFileId +} + +// GetTrackFileIdOk returns a tuple with the TrackFileId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetTrackFileIdOk() (*int32, bool) { + if o == nil || isNil(o.TrackFileId) { + return nil, false + } + return o.TrackFileId, true +} + +// HasTrackFileId returns a boolean if a field has been set. +func (o *TrackResource) HasTrackFileId() bool { + if o != nil && !isNil(o.TrackFileId) { + return true + } + + return false +} + +// SetTrackFileId gets a reference to the given int32 and assigns it to the TrackFileId field. +func (o *TrackResource) SetTrackFileId(v int32) { + o.TrackFileId = &v +} + +// GetAlbumId returns the AlbumId field value if set, zero value otherwise. +func (o *TrackResource) GetAlbumId() int32 { + if o == nil || isNil(o.AlbumId) { + var ret int32 + return ret + } + return *o.AlbumId +} + +// GetAlbumIdOk returns a tuple with the AlbumId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetAlbumIdOk() (*int32, bool) { + if o == nil || isNil(o.AlbumId) { + return nil, false + } + return o.AlbumId, true +} + +// HasAlbumId returns a boolean if a field has been set. +func (o *TrackResource) HasAlbumId() bool { + if o != nil && !isNil(o.AlbumId) { + return true + } + + return false +} + +// SetAlbumId gets a reference to the given int32 and assigns it to the AlbumId field. +func (o *TrackResource) SetAlbumId(v int32) { + o.AlbumId = &v +} + +// GetExplicit returns the Explicit field value if set, zero value otherwise. +func (o *TrackResource) GetExplicit() bool { + if o == nil || isNil(o.Explicit) { + var ret bool + return ret + } + return *o.Explicit +} + +// GetExplicitOk returns a tuple with the Explicit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetExplicitOk() (*bool, bool) { + if o == nil || isNil(o.Explicit) { + return nil, false + } + return o.Explicit, true +} + +// HasExplicit returns a boolean if a field has been set. +func (o *TrackResource) HasExplicit() bool { + if o != nil && !isNil(o.Explicit) { + return true + } + + return false +} + +// SetExplicit gets a reference to the given bool and assigns it to the Explicit field. +func (o *TrackResource) SetExplicit(v bool) { + o.Explicit = &v +} + +// GetAbsoluteTrackNumber returns the AbsoluteTrackNumber field value if set, zero value otherwise. +func (o *TrackResource) GetAbsoluteTrackNumber() int32 { + if o == nil || isNil(o.AbsoluteTrackNumber) { + var ret int32 + return ret + } + return *o.AbsoluteTrackNumber +} + +// GetAbsoluteTrackNumberOk returns a tuple with the AbsoluteTrackNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetAbsoluteTrackNumberOk() (*int32, bool) { + if o == nil || isNil(o.AbsoluteTrackNumber) { + return nil, false + } + return o.AbsoluteTrackNumber, true +} + +// HasAbsoluteTrackNumber returns a boolean if a field has been set. +func (o *TrackResource) HasAbsoluteTrackNumber() bool { + if o != nil && !isNil(o.AbsoluteTrackNumber) { + return true + } + + return false +} + +// SetAbsoluteTrackNumber gets a reference to the given int32 and assigns it to the AbsoluteTrackNumber field. +func (o *TrackResource) SetAbsoluteTrackNumber(v int32) { + o.AbsoluteTrackNumber = &v +} + +// GetTrackNumber returns the TrackNumber field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackResource) GetTrackNumber() string { + if o == nil || isNil(o.TrackNumber.Get()) { + var ret string + return ret + } + return *o.TrackNumber.Get() +} + +// GetTrackNumberOk returns a tuple with the TrackNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackResource) GetTrackNumberOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TrackNumber.Get(), o.TrackNumber.IsSet() +} + +// HasTrackNumber returns a boolean if a field has been set. +func (o *TrackResource) HasTrackNumber() bool { + if o != nil && o.TrackNumber.IsSet() { + return true + } + + return false +} + +// SetTrackNumber gets a reference to the given NullableString and assigns it to the TrackNumber field. +func (o *TrackResource) SetTrackNumber(v string) { + o.TrackNumber.Set(&v) +} +// SetTrackNumberNil sets the value for TrackNumber to be an explicit nil +func (o *TrackResource) SetTrackNumberNil() { + o.TrackNumber.Set(nil) +} + +// UnsetTrackNumber ensures that no value is present for TrackNumber, not even an explicit nil +func (o *TrackResource) UnsetTrackNumber() { + o.TrackNumber.Unset() +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackResource) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackResource) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *TrackResource) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *TrackResource) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *TrackResource) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *TrackResource) UnsetTitle() { + o.Title.Unset() +} + +// GetDuration returns the Duration field value if set, zero value otherwise. +func (o *TrackResource) GetDuration() int32 { + if o == nil || isNil(o.Duration) { + var ret int32 + return ret + } + return *o.Duration +} + +// GetDurationOk returns a tuple with the Duration field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetDurationOk() (*int32, bool) { + if o == nil || isNil(o.Duration) { + return nil, false + } + return o.Duration, true +} + +// HasDuration returns a boolean if a field has been set. +func (o *TrackResource) HasDuration() bool { + if o != nil && !isNil(o.Duration) { + return true + } + + return false +} + +// SetDuration gets a reference to the given int32 and assigns it to the Duration field. +func (o *TrackResource) SetDuration(v int32) { + o.Duration = &v +} + +// GetTrackFile returns the TrackFile field value if set, zero value otherwise. +func (o *TrackResource) GetTrackFile() TrackFileResource { + if o == nil || isNil(o.TrackFile) { + var ret TrackFileResource + return ret + } + return *o.TrackFile +} + +// GetTrackFileOk returns a tuple with the TrackFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetTrackFileOk() (*TrackFileResource, bool) { + if o == nil || isNil(o.TrackFile) { + return nil, false + } + return o.TrackFile, true +} + +// HasTrackFile returns a boolean if a field has been set. +func (o *TrackResource) HasTrackFile() bool { + if o != nil && !isNil(o.TrackFile) { + return true + } + + return false +} + +// SetTrackFile gets a reference to the given TrackFileResource and assigns it to the TrackFile field. +func (o *TrackResource) SetTrackFile(v TrackFileResource) { + o.TrackFile = &v +} + +// GetMediumNumber returns the MediumNumber field value if set, zero value otherwise. +func (o *TrackResource) GetMediumNumber() int32 { + if o == nil || isNil(o.MediumNumber) { + var ret int32 + return ret + } + return *o.MediumNumber +} + +// GetMediumNumberOk returns a tuple with the MediumNumber field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetMediumNumberOk() (*int32, bool) { + if o == nil || isNil(o.MediumNumber) { + return nil, false + } + return o.MediumNumber, true +} + +// HasMediumNumber returns a boolean if a field has been set. +func (o *TrackResource) HasMediumNumber() bool { + if o != nil && !isNil(o.MediumNumber) { + return true + } + + return false +} + +// SetMediumNumber gets a reference to the given int32 and assigns it to the MediumNumber field. +func (o *TrackResource) SetMediumNumber(v int32) { + o.MediumNumber = &v +} + +// GetHasFile returns the HasFile field value if set, zero value otherwise. +func (o *TrackResource) GetHasFile() bool { + if o == nil || isNil(o.HasFile) { + var ret bool + return ret + } + return *o.HasFile +} + +// GetHasFileOk returns a tuple with the HasFile field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetHasFileOk() (*bool, bool) { + if o == nil || isNil(o.HasFile) { + return nil, false + } + return o.HasFile, true +} + +// HasHasFile returns a boolean if a field has been set. +func (o *TrackResource) HasHasFile() bool { + if o != nil && !isNil(o.HasFile) { + return true + } + + return false +} + +// SetHasFile gets a reference to the given bool and assigns it to the HasFile field. +func (o *TrackResource) SetHasFile(v bool) { + o.HasFile = &v +} + +// GetArtist returns the Artist field value if set, zero value otherwise. +func (o *TrackResource) GetArtist() ArtistResource { + if o == nil || isNil(o.Artist) { + var ret ArtistResource + return ret + } + return *o.Artist +} + +// GetArtistOk returns a tuple with the Artist field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetArtistOk() (*ArtistResource, bool) { + if o == nil || isNil(o.Artist) { + return nil, false + } + return o.Artist, true +} + +// HasArtist returns a boolean if a field has been set. +func (o *TrackResource) HasArtist() bool { + if o != nil && !isNil(o.Artist) { + return true + } + + return false +} + +// SetArtist gets a reference to the given ArtistResource and assigns it to the Artist field. +func (o *TrackResource) SetArtist(v ArtistResource) { + o.Artist = &v +} + +// GetRatings returns the Ratings field value if set, zero value otherwise. +func (o *TrackResource) GetRatings() Ratings { + if o == nil || isNil(o.Ratings) { + var ret Ratings + return ret + } + return *o.Ratings +} + +// GetRatingsOk returns a tuple with the Ratings field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetRatingsOk() (*Ratings, bool) { + if o == nil || isNil(o.Ratings) { + return nil, false + } + return o.Ratings, true +} + +// HasRatings returns a boolean if a field has been set. +func (o *TrackResource) HasRatings() bool { + if o != nil && !isNil(o.Ratings) { + return true + } + + return false +} + +// SetRatings gets a reference to the given Ratings and assigns it to the Ratings field. +func (o *TrackResource) SetRatings(v Ratings) { + o.Ratings = &v +} + +// GetGrabbed returns the Grabbed field value if set, zero value otherwise. +func (o *TrackResource) GetGrabbed() bool { + if o == nil || isNil(o.Grabbed) { + var ret bool + return ret + } + return *o.Grabbed +} + +// GetGrabbedOk returns a tuple with the Grabbed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TrackResource) GetGrabbedOk() (*bool, bool) { + if o == nil || isNil(o.Grabbed) { + return nil, false + } + return o.Grabbed, true +} + +// HasGrabbed returns a boolean if a field has been set. +func (o *TrackResource) HasGrabbed() bool { + if o != nil && !isNil(o.Grabbed) { + return true + } + + return false +} + +// SetGrabbed gets a reference to the given bool and assigns it to the Grabbed field. +func (o *TrackResource) SetGrabbed(v bool) { + o.Grabbed = &v +} + +func (o TrackResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.ArtistId) { + toSerialize["artistId"] = o.ArtistId + } + if o.ForeignTrackId.IsSet() { + toSerialize["foreignTrackId"] = o.ForeignTrackId.Get() + } + if o.ForeignRecordingId.IsSet() { + toSerialize["foreignRecordingId"] = o.ForeignRecordingId.Get() + } + if !isNil(o.TrackFileId) { + toSerialize["trackFileId"] = o.TrackFileId + } + if !isNil(o.AlbumId) { + toSerialize["albumId"] = o.AlbumId + } + if !isNil(o.Explicit) { + toSerialize["explicit"] = o.Explicit + } + if !isNil(o.AbsoluteTrackNumber) { + toSerialize["absoluteTrackNumber"] = o.AbsoluteTrackNumber + } + if o.TrackNumber.IsSet() { + toSerialize["trackNumber"] = o.TrackNumber.Get() + } + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if !isNil(o.Duration) { + toSerialize["duration"] = o.Duration + } + if !isNil(o.TrackFile) { + toSerialize["trackFile"] = o.TrackFile + } + if !isNil(o.MediumNumber) { + toSerialize["mediumNumber"] = o.MediumNumber + } + if !isNil(o.HasFile) { + toSerialize["hasFile"] = o.HasFile + } + if !isNil(o.Artist) { + toSerialize["artist"] = o.Artist + } + if !isNil(o.Ratings) { + toSerialize["ratings"] = o.Ratings + } + if !isNil(o.Grabbed) { + toSerialize["grabbed"] = o.Grabbed + } + return json.Marshal(toSerialize) +} + +type NullableTrackResource struct { + value *TrackResource + isSet bool +} + +func (v NullableTrackResource) Get() *TrackResource { + return v.value +} + +func (v *NullableTrackResource) Set(val *TrackResource) { + v.value = val + v.isSet = true +} + +func (v NullableTrackResource) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackResource(val *TrackResource) *NullableTrackResource { + return &NullableTrackResource{value: val, isSet: true} +} + +func (v NullableTrackResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_tracked_download_state.go b/lidarr/model_tracked_download_state.go new file mode 100644 index 0000000..d9bedec --- /dev/null +++ b/lidarr/model_tracked_download_state.go @@ -0,0 +1,123 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// TrackedDownloadState the model 'TrackedDownloadState' +type TrackedDownloadState string + +// List of TrackedDownloadState +const ( + TRACKEDDOWNLOADSTATE_DOWNLOADING TrackedDownloadState = "downloading" + TRACKEDDOWNLOADSTATE_DOWNLOAD_FAILED TrackedDownloadState = "downloadFailed" + TRACKEDDOWNLOADSTATE_DOWNLOAD_FAILED_PENDING TrackedDownloadState = "downloadFailedPending" + TRACKEDDOWNLOADSTATE_IMPORT_PENDING TrackedDownloadState = "importPending" + TRACKEDDOWNLOADSTATE_IMPORTING TrackedDownloadState = "importing" + TRACKEDDOWNLOADSTATE_IMPORT_FAILED TrackedDownloadState = "importFailed" + TRACKEDDOWNLOADSTATE_IMPORTED TrackedDownloadState = "imported" + TRACKEDDOWNLOADSTATE_IGNORED TrackedDownloadState = "ignored" +) + +// All allowed values of TrackedDownloadState enum +var AllowedTrackedDownloadStateEnumValues = []TrackedDownloadState{ + "downloading", + "downloadFailed", + "downloadFailedPending", + "importPending", + "importing", + "importFailed", + "imported", + "ignored", +} + +func (v *TrackedDownloadState) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TrackedDownloadState(value) + for _, existing := range AllowedTrackedDownloadStateEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TrackedDownloadState", value) +} + +// NewTrackedDownloadStateFromValue returns a pointer to a valid TrackedDownloadState +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTrackedDownloadStateFromValue(v string) (*TrackedDownloadState, error) { + ev := TrackedDownloadState(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TrackedDownloadState: valid values are %v", v, AllowedTrackedDownloadStateEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TrackedDownloadState) IsValid() bool { + for _, existing := range AllowedTrackedDownloadStateEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to TrackedDownloadState value +func (v TrackedDownloadState) Ptr() *TrackedDownloadState { + return &v +} + +type NullableTrackedDownloadState struct { + value *TrackedDownloadState + isSet bool +} + +func (v NullableTrackedDownloadState) Get() *TrackedDownloadState { + return v.value +} + +func (v *NullableTrackedDownloadState) Set(val *TrackedDownloadState) { + v.value = val + v.isSet = true +} + +func (v NullableTrackedDownloadState) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackedDownloadState) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackedDownloadState(val *TrackedDownloadState) *NullableTrackedDownloadState { + return &NullableTrackedDownloadState{value: val, isSet: true} +} + +func (v NullableTrackedDownloadState) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackedDownloadState) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_tracked_download_status.go b/lidarr/model_tracked_download_status.go new file mode 100644 index 0000000..a0a201c --- /dev/null +++ b/lidarr/model_tracked_download_status.go @@ -0,0 +1,113 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// TrackedDownloadStatus the model 'TrackedDownloadStatus' +type TrackedDownloadStatus string + +// List of TrackedDownloadStatus +const ( + TRACKEDDOWNLOADSTATUS_OK TrackedDownloadStatus = "ok" + TRACKEDDOWNLOADSTATUS_WARNING TrackedDownloadStatus = "warning" + TRACKEDDOWNLOADSTATUS_ERROR TrackedDownloadStatus = "error" +) + +// All allowed values of TrackedDownloadStatus enum +var AllowedTrackedDownloadStatusEnumValues = []TrackedDownloadStatus{ + "ok", + "warning", + "error", +} + +func (v *TrackedDownloadStatus) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := TrackedDownloadStatus(value) + for _, existing := range AllowedTrackedDownloadStatusEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid TrackedDownloadStatus", value) +} + +// NewTrackedDownloadStatusFromValue returns a pointer to a valid TrackedDownloadStatus +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewTrackedDownloadStatusFromValue(v string) (*TrackedDownloadStatus, error) { + ev := TrackedDownloadStatus(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for TrackedDownloadStatus: valid values are %v", v, AllowedTrackedDownloadStatusEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v TrackedDownloadStatus) IsValid() bool { + for _, existing := range AllowedTrackedDownloadStatusEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to TrackedDownloadStatus value +func (v TrackedDownloadStatus) Ptr() *TrackedDownloadStatus { + return &v +} + +type NullableTrackedDownloadStatus struct { + value *TrackedDownloadStatus + isSet bool +} + +func (v NullableTrackedDownloadStatus) Get() *TrackedDownloadStatus { + return v.value +} + +func (v *NullableTrackedDownloadStatus) Set(val *TrackedDownloadStatus) { + v.value = val + v.isSet = true +} + +func (v NullableTrackedDownloadStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackedDownloadStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackedDownloadStatus(val *TrackedDownloadStatus) *NullableTrackedDownloadStatus { + return &NullableTrackedDownloadStatus{value: val, isSet: true} +} + +func (v NullableTrackedDownloadStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackedDownloadStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_tracked_download_status_message.go b/lidarr/model_tracked_download_status_message.go new file mode 100644 index 0000000..dfae5ef --- /dev/null +++ b/lidarr/model_tracked_download_status_message.go @@ -0,0 +1,162 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// TrackedDownloadStatusMessage struct for TrackedDownloadStatusMessage +type TrackedDownloadStatusMessage struct { + Title NullableString `json:"title,omitempty"` + Messages []*string `json:"messages,omitempty"` +} + +// NewTrackedDownloadStatusMessage instantiates a new TrackedDownloadStatusMessage object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewTrackedDownloadStatusMessage() *TrackedDownloadStatusMessage { + this := TrackedDownloadStatusMessage{} + return &this +} + +// NewTrackedDownloadStatusMessageWithDefaults instantiates a new TrackedDownloadStatusMessage object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTrackedDownloadStatusMessageWithDefaults() *TrackedDownloadStatusMessage { + this := TrackedDownloadStatusMessage{} + return &this +} + +// GetTitle returns the Title field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackedDownloadStatusMessage) GetTitle() string { + if o == nil || isNil(o.Title.Get()) { + var ret string + return ret + } + return *o.Title.Get() +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackedDownloadStatusMessage) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Title.Get(), o.Title.IsSet() +} + +// HasTitle returns a boolean if a field has been set. +func (o *TrackedDownloadStatusMessage) HasTitle() bool { + if o != nil && o.Title.IsSet() { + return true + } + + return false +} + +// SetTitle gets a reference to the given NullableString and assigns it to the Title field. +func (o *TrackedDownloadStatusMessage) SetTitle(v string) { + o.Title.Set(&v) +} +// SetTitleNil sets the value for Title to be an explicit nil +func (o *TrackedDownloadStatusMessage) SetTitleNil() { + o.Title.Set(nil) +} + +// UnsetTitle ensures that no value is present for Title, not even an explicit nil +func (o *TrackedDownloadStatusMessage) UnsetTitle() { + o.Title.Unset() +} + +// GetMessages returns the Messages field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TrackedDownloadStatusMessage) GetMessages() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Messages +} + +// GetMessagesOk returns a tuple with the Messages field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TrackedDownloadStatusMessage) GetMessagesOk() ([]*string, bool) { + if o == nil || isNil(o.Messages) { + return nil, false + } + return o.Messages, true +} + +// HasMessages returns a boolean if a field has been set. +func (o *TrackedDownloadStatusMessage) HasMessages() bool { + if o != nil && isNil(o.Messages) { + return true + } + + return false +} + +// SetMessages gets a reference to the given []string and assigns it to the Messages field. +func (o *TrackedDownloadStatusMessage) SetMessages(v []*string) { + o.Messages = v +} + +func (o TrackedDownloadStatusMessage) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Title.IsSet() { + toSerialize["title"] = o.Title.Get() + } + if o.Messages != nil { + toSerialize["messages"] = o.Messages + } + return json.Marshal(toSerialize) +} + +type NullableTrackedDownloadStatusMessage struct { + value *TrackedDownloadStatusMessage + isSet bool +} + +func (v NullableTrackedDownloadStatusMessage) Get() *TrackedDownloadStatusMessage { + return v.value +} + +func (v *NullableTrackedDownloadStatusMessage) Set(val *TrackedDownloadStatusMessage) { + v.value = val + v.isSet = true +} + +func (v NullableTrackedDownloadStatusMessage) IsSet() bool { + return v.isSet +} + +func (v *NullableTrackedDownloadStatusMessage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTrackedDownloadStatusMessage(val *TrackedDownloadStatusMessage) *NullableTrackedDownloadStatusMessage { + return &NullableTrackedDownloadStatusMessage{value: val, isSet: true} +} + +func (v NullableTrackedDownloadStatusMessage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTrackedDownloadStatusMessage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_ui_config_resource.go b/lidarr/model_ui_config_resource.go new file mode 100644 index 0000000..2b96bd7 --- /dev/null +++ b/lidarr/model_ui_config_resource.go @@ -0,0 +1,669 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// UiConfigResource struct for UiConfigResource +type UiConfigResource struct { + Id *int32 `json:"id,omitempty"` + FirstDayOfWeek *int32 `json:"firstDayOfWeek,omitempty"` + CalendarWeekColumnHeader NullableString `json:"calendarWeekColumnHeader,omitempty"` + ShortDateFormat NullableString `json:"shortDateFormat,omitempty"` + LongDateFormat NullableString `json:"longDateFormat,omitempty"` + TimeFormat NullableString `json:"timeFormat,omitempty"` + ShowRelativeDates *bool `json:"showRelativeDates,omitempty"` + EnableColorImpairedMode *bool `json:"enableColorImpairedMode,omitempty"` + UiLanguage *int32 `json:"uiLanguage,omitempty"` + ExpandAlbumByDefault *bool `json:"expandAlbumByDefault,omitempty"` + ExpandSingleByDefault *bool `json:"expandSingleByDefault,omitempty"` + ExpandEPByDefault *bool `json:"expandEPByDefault,omitempty"` + ExpandBroadcastByDefault *bool `json:"expandBroadcastByDefault,omitempty"` + ExpandOtherByDefault *bool `json:"expandOtherByDefault,omitempty"` + Theme NullableString `json:"theme,omitempty"` +} + +// NewUiConfigResource instantiates a new UiConfigResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewUiConfigResource() *UiConfigResource { + this := UiConfigResource{} + return &this +} + +// NewUiConfigResourceWithDefaults instantiates a new UiConfigResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUiConfigResourceWithDefaults() *UiConfigResource { + this := UiConfigResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *UiConfigResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *UiConfigResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *UiConfigResource) SetId(v int32) { + o.Id = &v +} + +// GetFirstDayOfWeek returns the FirstDayOfWeek field value if set, zero value otherwise. +func (o *UiConfigResource) GetFirstDayOfWeek() int32 { + if o == nil || isNil(o.FirstDayOfWeek) { + var ret int32 + return ret + } + return *o.FirstDayOfWeek +} + +// GetFirstDayOfWeekOk returns a tuple with the FirstDayOfWeek field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetFirstDayOfWeekOk() (*int32, bool) { + if o == nil || isNil(o.FirstDayOfWeek) { + return nil, false + } + return o.FirstDayOfWeek, true +} + +// HasFirstDayOfWeek returns a boolean if a field has been set. +func (o *UiConfigResource) HasFirstDayOfWeek() bool { + if o != nil && !isNil(o.FirstDayOfWeek) { + return true + } + + return false +} + +// SetFirstDayOfWeek gets a reference to the given int32 and assigns it to the FirstDayOfWeek field. +func (o *UiConfigResource) SetFirstDayOfWeek(v int32) { + o.FirstDayOfWeek = &v +} + +// GetCalendarWeekColumnHeader returns the CalendarWeekColumnHeader field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UiConfigResource) GetCalendarWeekColumnHeader() string { + if o == nil || isNil(o.CalendarWeekColumnHeader.Get()) { + var ret string + return ret + } + return *o.CalendarWeekColumnHeader.Get() +} + +// GetCalendarWeekColumnHeaderOk returns a tuple with the CalendarWeekColumnHeader field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UiConfigResource) GetCalendarWeekColumnHeaderOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CalendarWeekColumnHeader.Get(), o.CalendarWeekColumnHeader.IsSet() +} + +// HasCalendarWeekColumnHeader returns a boolean if a field has been set. +func (o *UiConfigResource) HasCalendarWeekColumnHeader() bool { + if o != nil && o.CalendarWeekColumnHeader.IsSet() { + return true + } + + return false +} + +// SetCalendarWeekColumnHeader gets a reference to the given NullableString and assigns it to the CalendarWeekColumnHeader field. +func (o *UiConfigResource) SetCalendarWeekColumnHeader(v string) { + o.CalendarWeekColumnHeader.Set(&v) +} +// SetCalendarWeekColumnHeaderNil sets the value for CalendarWeekColumnHeader to be an explicit nil +func (o *UiConfigResource) SetCalendarWeekColumnHeaderNil() { + o.CalendarWeekColumnHeader.Set(nil) +} + +// UnsetCalendarWeekColumnHeader ensures that no value is present for CalendarWeekColumnHeader, not even an explicit nil +func (o *UiConfigResource) UnsetCalendarWeekColumnHeader() { + o.CalendarWeekColumnHeader.Unset() +} + +// GetShortDateFormat returns the ShortDateFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UiConfigResource) GetShortDateFormat() string { + if o == nil || isNil(o.ShortDateFormat.Get()) { + var ret string + return ret + } + return *o.ShortDateFormat.Get() +} + +// GetShortDateFormatOk returns a tuple with the ShortDateFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UiConfigResource) GetShortDateFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ShortDateFormat.Get(), o.ShortDateFormat.IsSet() +} + +// HasShortDateFormat returns a boolean if a field has been set. +func (o *UiConfigResource) HasShortDateFormat() bool { + if o != nil && o.ShortDateFormat.IsSet() { + return true + } + + return false +} + +// SetShortDateFormat gets a reference to the given NullableString and assigns it to the ShortDateFormat field. +func (o *UiConfigResource) SetShortDateFormat(v string) { + o.ShortDateFormat.Set(&v) +} +// SetShortDateFormatNil sets the value for ShortDateFormat to be an explicit nil +func (o *UiConfigResource) SetShortDateFormatNil() { + o.ShortDateFormat.Set(nil) +} + +// UnsetShortDateFormat ensures that no value is present for ShortDateFormat, not even an explicit nil +func (o *UiConfigResource) UnsetShortDateFormat() { + o.ShortDateFormat.Unset() +} + +// GetLongDateFormat returns the LongDateFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UiConfigResource) GetLongDateFormat() string { + if o == nil || isNil(o.LongDateFormat.Get()) { + var ret string + return ret + } + return *o.LongDateFormat.Get() +} + +// GetLongDateFormatOk returns a tuple with the LongDateFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UiConfigResource) GetLongDateFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LongDateFormat.Get(), o.LongDateFormat.IsSet() +} + +// HasLongDateFormat returns a boolean if a field has been set. +func (o *UiConfigResource) HasLongDateFormat() bool { + if o != nil && o.LongDateFormat.IsSet() { + return true + } + + return false +} + +// SetLongDateFormat gets a reference to the given NullableString and assigns it to the LongDateFormat field. +func (o *UiConfigResource) SetLongDateFormat(v string) { + o.LongDateFormat.Set(&v) +} +// SetLongDateFormatNil sets the value for LongDateFormat to be an explicit nil +func (o *UiConfigResource) SetLongDateFormatNil() { + o.LongDateFormat.Set(nil) +} + +// UnsetLongDateFormat ensures that no value is present for LongDateFormat, not even an explicit nil +func (o *UiConfigResource) UnsetLongDateFormat() { + o.LongDateFormat.Unset() +} + +// GetTimeFormat returns the TimeFormat field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UiConfigResource) GetTimeFormat() string { + if o == nil || isNil(o.TimeFormat.Get()) { + var ret string + return ret + } + return *o.TimeFormat.Get() +} + +// GetTimeFormatOk returns a tuple with the TimeFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UiConfigResource) GetTimeFormatOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TimeFormat.Get(), o.TimeFormat.IsSet() +} + +// HasTimeFormat returns a boolean if a field has been set. +func (o *UiConfigResource) HasTimeFormat() bool { + if o != nil && o.TimeFormat.IsSet() { + return true + } + + return false +} + +// SetTimeFormat gets a reference to the given NullableString and assigns it to the TimeFormat field. +func (o *UiConfigResource) SetTimeFormat(v string) { + o.TimeFormat.Set(&v) +} +// SetTimeFormatNil sets the value for TimeFormat to be an explicit nil +func (o *UiConfigResource) SetTimeFormatNil() { + o.TimeFormat.Set(nil) +} + +// UnsetTimeFormat ensures that no value is present for TimeFormat, not even an explicit nil +func (o *UiConfigResource) UnsetTimeFormat() { + o.TimeFormat.Unset() +} + +// GetShowRelativeDates returns the ShowRelativeDates field value if set, zero value otherwise. +func (o *UiConfigResource) GetShowRelativeDates() bool { + if o == nil || isNil(o.ShowRelativeDates) { + var ret bool + return ret + } + return *o.ShowRelativeDates +} + +// GetShowRelativeDatesOk returns a tuple with the ShowRelativeDates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetShowRelativeDatesOk() (*bool, bool) { + if o == nil || isNil(o.ShowRelativeDates) { + return nil, false + } + return o.ShowRelativeDates, true +} + +// HasShowRelativeDates returns a boolean if a field has been set. +func (o *UiConfigResource) HasShowRelativeDates() bool { + if o != nil && !isNil(o.ShowRelativeDates) { + return true + } + + return false +} + +// SetShowRelativeDates gets a reference to the given bool and assigns it to the ShowRelativeDates field. +func (o *UiConfigResource) SetShowRelativeDates(v bool) { + o.ShowRelativeDates = &v +} + +// GetEnableColorImpairedMode returns the EnableColorImpairedMode field value if set, zero value otherwise. +func (o *UiConfigResource) GetEnableColorImpairedMode() bool { + if o == nil || isNil(o.EnableColorImpairedMode) { + var ret bool + return ret + } + return *o.EnableColorImpairedMode +} + +// GetEnableColorImpairedModeOk returns a tuple with the EnableColorImpairedMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetEnableColorImpairedModeOk() (*bool, bool) { + if o == nil || isNil(o.EnableColorImpairedMode) { + return nil, false + } + return o.EnableColorImpairedMode, true +} + +// HasEnableColorImpairedMode returns a boolean if a field has been set. +func (o *UiConfigResource) HasEnableColorImpairedMode() bool { + if o != nil && !isNil(o.EnableColorImpairedMode) { + return true + } + + return false +} + +// SetEnableColorImpairedMode gets a reference to the given bool and assigns it to the EnableColorImpairedMode field. +func (o *UiConfigResource) SetEnableColorImpairedMode(v bool) { + o.EnableColorImpairedMode = &v +} + +// GetUiLanguage returns the UiLanguage field value if set, zero value otherwise. +func (o *UiConfigResource) GetUiLanguage() int32 { + if o == nil || isNil(o.UiLanguage) { + var ret int32 + return ret + } + return *o.UiLanguage +} + +// GetUiLanguageOk returns a tuple with the UiLanguage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetUiLanguageOk() (*int32, bool) { + if o == nil || isNil(o.UiLanguage) { + return nil, false + } + return o.UiLanguage, true +} + +// HasUiLanguage returns a boolean if a field has been set. +func (o *UiConfigResource) HasUiLanguage() bool { + if o != nil && !isNil(o.UiLanguage) { + return true + } + + return false +} + +// SetUiLanguage gets a reference to the given int32 and assigns it to the UiLanguage field. +func (o *UiConfigResource) SetUiLanguage(v int32) { + o.UiLanguage = &v +} + +// GetExpandAlbumByDefault returns the ExpandAlbumByDefault field value if set, zero value otherwise. +func (o *UiConfigResource) GetExpandAlbumByDefault() bool { + if o == nil || isNil(o.ExpandAlbumByDefault) { + var ret bool + return ret + } + return *o.ExpandAlbumByDefault +} + +// GetExpandAlbumByDefaultOk returns a tuple with the ExpandAlbumByDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetExpandAlbumByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ExpandAlbumByDefault) { + return nil, false + } + return o.ExpandAlbumByDefault, true +} + +// HasExpandAlbumByDefault returns a boolean if a field has been set. +func (o *UiConfigResource) HasExpandAlbumByDefault() bool { + if o != nil && !isNil(o.ExpandAlbumByDefault) { + return true + } + + return false +} + +// SetExpandAlbumByDefault gets a reference to the given bool and assigns it to the ExpandAlbumByDefault field. +func (o *UiConfigResource) SetExpandAlbumByDefault(v bool) { + o.ExpandAlbumByDefault = &v +} + +// GetExpandSingleByDefault returns the ExpandSingleByDefault field value if set, zero value otherwise. +func (o *UiConfigResource) GetExpandSingleByDefault() bool { + if o == nil || isNil(o.ExpandSingleByDefault) { + var ret bool + return ret + } + return *o.ExpandSingleByDefault +} + +// GetExpandSingleByDefaultOk returns a tuple with the ExpandSingleByDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetExpandSingleByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ExpandSingleByDefault) { + return nil, false + } + return o.ExpandSingleByDefault, true +} + +// HasExpandSingleByDefault returns a boolean if a field has been set. +func (o *UiConfigResource) HasExpandSingleByDefault() bool { + if o != nil && !isNil(o.ExpandSingleByDefault) { + return true + } + + return false +} + +// SetExpandSingleByDefault gets a reference to the given bool and assigns it to the ExpandSingleByDefault field. +func (o *UiConfigResource) SetExpandSingleByDefault(v bool) { + o.ExpandSingleByDefault = &v +} + +// GetExpandEPByDefault returns the ExpandEPByDefault field value if set, zero value otherwise. +func (o *UiConfigResource) GetExpandEPByDefault() bool { + if o == nil || isNil(o.ExpandEPByDefault) { + var ret bool + return ret + } + return *o.ExpandEPByDefault +} + +// GetExpandEPByDefaultOk returns a tuple with the ExpandEPByDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetExpandEPByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ExpandEPByDefault) { + return nil, false + } + return o.ExpandEPByDefault, true +} + +// HasExpandEPByDefault returns a boolean if a field has been set. +func (o *UiConfigResource) HasExpandEPByDefault() bool { + if o != nil && !isNil(o.ExpandEPByDefault) { + return true + } + + return false +} + +// SetExpandEPByDefault gets a reference to the given bool and assigns it to the ExpandEPByDefault field. +func (o *UiConfigResource) SetExpandEPByDefault(v bool) { + o.ExpandEPByDefault = &v +} + +// GetExpandBroadcastByDefault returns the ExpandBroadcastByDefault field value if set, zero value otherwise. +func (o *UiConfigResource) GetExpandBroadcastByDefault() bool { + if o == nil || isNil(o.ExpandBroadcastByDefault) { + var ret bool + return ret + } + return *o.ExpandBroadcastByDefault +} + +// GetExpandBroadcastByDefaultOk returns a tuple with the ExpandBroadcastByDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetExpandBroadcastByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ExpandBroadcastByDefault) { + return nil, false + } + return o.ExpandBroadcastByDefault, true +} + +// HasExpandBroadcastByDefault returns a boolean if a field has been set. +func (o *UiConfigResource) HasExpandBroadcastByDefault() bool { + if o != nil && !isNil(o.ExpandBroadcastByDefault) { + return true + } + + return false +} + +// SetExpandBroadcastByDefault gets a reference to the given bool and assigns it to the ExpandBroadcastByDefault field. +func (o *UiConfigResource) SetExpandBroadcastByDefault(v bool) { + o.ExpandBroadcastByDefault = &v +} + +// GetExpandOtherByDefault returns the ExpandOtherByDefault field value if set, zero value otherwise. +func (o *UiConfigResource) GetExpandOtherByDefault() bool { + if o == nil || isNil(o.ExpandOtherByDefault) { + var ret bool + return ret + } + return *o.ExpandOtherByDefault +} + +// GetExpandOtherByDefaultOk returns a tuple with the ExpandOtherByDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UiConfigResource) GetExpandOtherByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ExpandOtherByDefault) { + return nil, false + } + return o.ExpandOtherByDefault, true +} + +// HasExpandOtherByDefault returns a boolean if a field has been set. +func (o *UiConfigResource) HasExpandOtherByDefault() bool { + if o != nil && !isNil(o.ExpandOtherByDefault) { + return true + } + + return false +} + +// SetExpandOtherByDefault gets a reference to the given bool and assigns it to the ExpandOtherByDefault field. +func (o *UiConfigResource) SetExpandOtherByDefault(v bool) { + o.ExpandOtherByDefault = &v +} + +// GetTheme returns the Theme field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UiConfigResource) GetTheme() string { + if o == nil || isNil(o.Theme.Get()) { + var ret string + return ret + } + return *o.Theme.Get() +} + +// GetThemeOk returns a tuple with the Theme field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UiConfigResource) GetThemeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Theme.Get(), o.Theme.IsSet() +} + +// HasTheme returns a boolean if a field has been set. +func (o *UiConfigResource) HasTheme() bool { + if o != nil && o.Theme.IsSet() { + return true + } + + return false +} + +// SetTheme gets a reference to the given NullableString and assigns it to the Theme field. +func (o *UiConfigResource) SetTheme(v string) { + o.Theme.Set(&v) +} +// SetThemeNil sets the value for Theme to be an explicit nil +func (o *UiConfigResource) SetThemeNil() { + o.Theme.Set(nil) +} + +// UnsetTheme ensures that no value is present for Theme, not even an explicit nil +func (o *UiConfigResource) UnsetTheme() { + o.Theme.Unset() +} + +func (o UiConfigResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.FirstDayOfWeek) { + toSerialize["firstDayOfWeek"] = o.FirstDayOfWeek + } + if o.CalendarWeekColumnHeader.IsSet() { + toSerialize["calendarWeekColumnHeader"] = o.CalendarWeekColumnHeader.Get() + } + if o.ShortDateFormat.IsSet() { + toSerialize["shortDateFormat"] = o.ShortDateFormat.Get() + } + if o.LongDateFormat.IsSet() { + toSerialize["longDateFormat"] = o.LongDateFormat.Get() + } + if o.TimeFormat.IsSet() { + toSerialize["timeFormat"] = o.TimeFormat.Get() + } + if !isNil(o.ShowRelativeDates) { + toSerialize["showRelativeDates"] = o.ShowRelativeDates + } + if !isNil(o.EnableColorImpairedMode) { + toSerialize["enableColorImpairedMode"] = o.EnableColorImpairedMode + } + if !isNil(o.UiLanguage) { + toSerialize["uiLanguage"] = o.UiLanguage + } + if !isNil(o.ExpandAlbumByDefault) { + toSerialize["expandAlbumByDefault"] = o.ExpandAlbumByDefault + } + if !isNil(o.ExpandSingleByDefault) { + toSerialize["expandSingleByDefault"] = o.ExpandSingleByDefault + } + if !isNil(o.ExpandEPByDefault) { + toSerialize["expandEPByDefault"] = o.ExpandEPByDefault + } + if !isNil(o.ExpandBroadcastByDefault) { + toSerialize["expandBroadcastByDefault"] = o.ExpandBroadcastByDefault + } + if !isNil(o.ExpandOtherByDefault) { + toSerialize["expandOtherByDefault"] = o.ExpandOtherByDefault + } + if o.Theme.IsSet() { + toSerialize["theme"] = o.Theme.Get() + } + return json.Marshal(toSerialize) +} + +type NullableUiConfigResource struct { + value *UiConfigResource + isSet bool +} + +func (v NullableUiConfigResource) Get() *UiConfigResource { + return v.value +} + +func (v *NullableUiConfigResource) Set(val *UiConfigResource) { + v.value = val + v.isSet = true +} + +func (v NullableUiConfigResource) IsSet() bool { + return v.isSet +} + +func (v *NullableUiConfigResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUiConfigResource(val *UiConfigResource) *NullableUiConfigResource { + return &NullableUiConfigResource{value: val, isSet: true} +} + +func (v NullableUiConfigResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUiConfigResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_update_changes.go b/lidarr/model_update_changes.go new file mode 100644 index 0000000..1d82119 --- /dev/null +++ b/lidarr/model_update_changes.go @@ -0,0 +1,153 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// UpdateChanges struct for UpdateChanges +type UpdateChanges struct { + New []*string `json:"new,omitempty"` + Fixed []*string `json:"fixed,omitempty"` +} + +// NewUpdateChanges instantiates a new UpdateChanges object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewUpdateChanges() *UpdateChanges { + this := UpdateChanges{} + return &this +} + +// NewUpdateChangesWithDefaults instantiates a new UpdateChanges object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUpdateChangesWithDefaults() *UpdateChanges { + this := UpdateChanges{} + return &this +} + +// GetNew returns the New field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateChanges) GetNew() []*string { + if o == nil { + var ret []*string + return ret + } + return o.New +} + +// GetNewOk returns a tuple with the New field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateChanges) GetNewOk() ([]*string, bool) { + if o == nil || isNil(o.New) { + return nil, false + } + return o.New, true +} + +// HasNew returns a boolean if a field has been set. +func (o *UpdateChanges) HasNew() bool { + if o != nil && isNil(o.New) { + return true + } + + return false +} + +// SetNew gets a reference to the given []string and assigns it to the New field. +func (o *UpdateChanges) SetNew(v []*string) { + o.New = v +} + +// GetFixed returns the Fixed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateChanges) GetFixed() []*string { + if o == nil { + var ret []*string + return ret + } + return o.Fixed +} + +// GetFixedOk returns a tuple with the Fixed field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateChanges) GetFixedOk() ([]*string, bool) { + if o == nil || isNil(o.Fixed) { + return nil, false + } + return o.Fixed, true +} + +// HasFixed returns a boolean if a field has been set. +func (o *UpdateChanges) HasFixed() bool { + if o != nil && isNil(o.Fixed) { + return true + } + + return false +} + +// SetFixed gets a reference to the given []string and assigns it to the Fixed field. +func (o *UpdateChanges) SetFixed(v []*string) { + o.Fixed = v +} + +func (o UpdateChanges) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.New != nil { + toSerialize["new"] = o.New + } + if o.Fixed != nil { + toSerialize["fixed"] = o.Fixed + } + return json.Marshal(toSerialize) +} + +type NullableUpdateChanges struct { + value *UpdateChanges + isSet bool +} + +func (v NullableUpdateChanges) Get() *UpdateChanges { + return v.value +} + +func (v *NullableUpdateChanges) Set(val *UpdateChanges) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateChanges) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateChanges) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateChanges(val *UpdateChanges) *NullableUpdateChanges { + return &NullableUpdateChanges{value: val, isSet: true} +} + +func (v NullableUpdateChanges) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateChanges) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_update_mechanism.go b/lidarr/model_update_mechanism.go new file mode 100644 index 0000000..3321559 --- /dev/null +++ b/lidarr/model_update_mechanism.go @@ -0,0 +1,117 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// UpdateMechanism the model 'UpdateMechanism' +type UpdateMechanism string + +// List of UpdateMechanism +const ( + UPDATEMECHANISM_BUILT_IN UpdateMechanism = "builtIn" + UPDATEMECHANISM_SCRIPT UpdateMechanism = "script" + UPDATEMECHANISM_EXTERNAL UpdateMechanism = "external" + UPDATEMECHANISM_APT UpdateMechanism = "apt" + UPDATEMECHANISM_DOCKER UpdateMechanism = "docker" +) + +// All allowed values of UpdateMechanism enum +var AllowedUpdateMechanismEnumValues = []UpdateMechanism{ + "builtIn", + "script", + "external", + "apt", + "docker", +} + +func (v *UpdateMechanism) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := UpdateMechanism(value) + for _, existing := range AllowedUpdateMechanismEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid UpdateMechanism", value) +} + +// NewUpdateMechanismFromValue returns a pointer to a valid UpdateMechanism +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewUpdateMechanismFromValue(v string) (*UpdateMechanism, error) { + ev := UpdateMechanism(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for UpdateMechanism: valid values are %v", v, AllowedUpdateMechanismEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v UpdateMechanism) IsValid() bool { + for _, existing := range AllowedUpdateMechanismEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to UpdateMechanism value +func (v UpdateMechanism) Ptr() *UpdateMechanism { + return &v +} + +type NullableUpdateMechanism struct { + value *UpdateMechanism + isSet bool +} + +func (v NullableUpdateMechanism) Get() *UpdateMechanism { + return v.value +} + +func (v *NullableUpdateMechanism) Set(val *UpdateMechanism) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateMechanism) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateMechanism) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateMechanism(val *UpdateMechanism) *NullableUpdateMechanism { + return &NullableUpdateMechanism{value: val, isSet: true} +} + +func (v NullableUpdateMechanism) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateMechanism) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/model_update_resource.go b/lidarr/model_update_resource.go new file mode 100644 index 0000000..2c3a9fe --- /dev/null +++ b/lidarr/model_update_resource.go @@ -0,0 +1,562 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "time" +) + +// UpdateResource struct for UpdateResource +type UpdateResource struct { + Id *int32 `json:"id,omitempty"` + Version *string `json:"version,omitempty"` + Branch NullableString `json:"branch,omitempty"` + ReleaseDate *time.Time `json:"releaseDate,omitempty"` + FileName NullableString `json:"fileName,omitempty"` + Url NullableString `json:"url,omitempty"` + Installed *bool `json:"installed,omitempty"` + InstalledOn NullableTime `json:"installedOn,omitempty"` + Installable *bool `json:"installable,omitempty"` + Latest *bool `json:"latest,omitempty"` + Changes *UpdateChanges `json:"changes,omitempty"` + Hash NullableString `json:"hash,omitempty"` +} + +// NewUpdateResource instantiates a new UpdateResource object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewUpdateResource() *UpdateResource { + this := UpdateResource{} + return &this +} + +// NewUpdateResourceWithDefaults instantiates a new UpdateResource object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUpdateResourceWithDefaults() *UpdateResource { + this := UpdateResource{} + return &this +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *UpdateResource) GetId() int32 { + if o == nil || isNil(o.Id) { + var ret int32 + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetIdOk() (*int32, bool) { + if o == nil || isNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *UpdateResource) HasId() bool { + if o != nil && !isNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given int32 and assigns it to the Id field. +func (o *UpdateResource) SetId(v int32) { + o.Id = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *UpdateResource) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *UpdateResource) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *UpdateResource) SetVersion(v string) { + o.Version = &v +} + +// GetBranch returns the Branch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateResource) GetBranch() string { + if o == nil || isNil(o.Branch.Get()) { + var ret string + return ret + } + return *o.Branch.Get() +} + +// GetBranchOk returns a tuple with the Branch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateResource) GetBranchOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Branch.Get(), o.Branch.IsSet() +} + +// HasBranch returns a boolean if a field has been set. +func (o *UpdateResource) HasBranch() bool { + if o != nil && o.Branch.IsSet() { + return true + } + + return false +} + +// SetBranch gets a reference to the given NullableString and assigns it to the Branch field. +func (o *UpdateResource) SetBranch(v string) { + o.Branch.Set(&v) +} +// SetBranchNil sets the value for Branch to be an explicit nil +func (o *UpdateResource) SetBranchNil() { + o.Branch.Set(nil) +} + +// UnsetBranch ensures that no value is present for Branch, not even an explicit nil +func (o *UpdateResource) UnsetBranch() { + o.Branch.Unset() +} + +// GetReleaseDate returns the ReleaseDate field value if set, zero value otherwise. +func (o *UpdateResource) GetReleaseDate() time.Time { + if o == nil || isNil(o.ReleaseDate) { + var ret time.Time + return ret + } + return *o.ReleaseDate +} + +// GetReleaseDateOk returns a tuple with the ReleaseDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetReleaseDateOk() (*time.Time, bool) { + if o == nil || isNil(o.ReleaseDate) { + return nil, false + } + return o.ReleaseDate, true +} + +// HasReleaseDate returns a boolean if a field has been set. +func (o *UpdateResource) HasReleaseDate() bool { + if o != nil && !isNil(o.ReleaseDate) { + return true + } + + return false +} + +// SetReleaseDate gets a reference to the given time.Time and assigns it to the ReleaseDate field. +func (o *UpdateResource) SetReleaseDate(v time.Time) { + o.ReleaseDate = &v +} + +// GetFileName returns the FileName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateResource) GetFileName() string { + if o == nil || isNil(o.FileName.Get()) { + var ret string + return ret + } + return *o.FileName.Get() +} + +// GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateResource) GetFileNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FileName.Get(), o.FileName.IsSet() +} + +// HasFileName returns a boolean if a field has been set. +func (o *UpdateResource) HasFileName() bool { + if o != nil && o.FileName.IsSet() { + return true + } + + return false +} + +// SetFileName gets a reference to the given NullableString and assigns it to the FileName field. +func (o *UpdateResource) SetFileName(v string) { + o.FileName.Set(&v) +} +// SetFileNameNil sets the value for FileName to be an explicit nil +func (o *UpdateResource) SetFileNameNil() { + o.FileName.Set(nil) +} + +// UnsetFileName ensures that no value is present for FileName, not even an explicit nil +func (o *UpdateResource) UnsetFileName() { + o.FileName.Unset() +} + +// GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateResource) GetUrl() string { + if o == nil || isNil(o.Url.Get()) { + var ret string + return ret + } + return *o.Url.Get() +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateResource) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Url.Get(), o.Url.IsSet() +} + +// HasUrl returns a boolean if a field has been set. +func (o *UpdateResource) HasUrl() bool { + if o != nil && o.Url.IsSet() { + return true + } + + return false +} + +// SetUrl gets a reference to the given NullableString and assigns it to the Url field. +func (o *UpdateResource) SetUrl(v string) { + o.Url.Set(&v) +} +// SetUrlNil sets the value for Url to be an explicit nil +func (o *UpdateResource) SetUrlNil() { + o.Url.Set(nil) +} + +// UnsetUrl ensures that no value is present for Url, not even an explicit nil +func (o *UpdateResource) UnsetUrl() { + o.Url.Unset() +} + +// GetInstalled returns the Installed field value if set, zero value otherwise. +func (o *UpdateResource) GetInstalled() bool { + if o == nil || isNil(o.Installed) { + var ret bool + return ret + } + return *o.Installed +} + +// GetInstalledOk returns a tuple with the Installed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetInstalledOk() (*bool, bool) { + if o == nil || isNil(o.Installed) { + return nil, false + } + return o.Installed, true +} + +// HasInstalled returns a boolean if a field has been set. +func (o *UpdateResource) HasInstalled() bool { + if o != nil && !isNil(o.Installed) { + return true + } + + return false +} + +// SetInstalled gets a reference to the given bool and assigns it to the Installed field. +func (o *UpdateResource) SetInstalled(v bool) { + o.Installed = &v +} + +// GetInstalledOn returns the InstalledOn field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateResource) GetInstalledOn() time.Time { + if o == nil || isNil(o.InstalledOn.Get()) { + var ret time.Time + return ret + } + return *o.InstalledOn.Get() +} + +// GetInstalledOnOk returns a tuple with the InstalledOn field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateResource) GetInstalledOnOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.InstalledOn.Get(), o.InstalledOn.IsSet() +} + +// HasInstalledOn returns a boolean if a field has been set. +func (o *UpdateResource) HasInstalledOn() bool { + if o != nil && o.InstalledOn.IsSet() { + return true + } + + return false +} + +// SetInstalledOn gets a reference to the given NullableTime and assigns it to the InstalledOn field. +func (o *UpdateResource) SetInstalledOn(v time.Time) { + o.InstalledOn.Set(&v) +} +// SetInstalledOnNil sets the value for InstalledOn to be an explicit nil +func (o *UpdateResource) SetInstalledOnNil() { + o.InstalledOn.Set(nil) +} + +// UnsetInstalledOn ensures that no value is present for InstalledOn, not even an explicit nil +func (o *UpdateResource) UnsetInstalledOn() { + o.InstalledOn.Unset() +} + +// GetInstallable returns the Installable field value if set, zero value otherwise. +func (o *UpdateResource) GetInstallable() bool { + if o == nil || isNil(o.Installable) { + var ret bool + return ret + } + return *o.Installable +} + +// GetInstallableOk returns a tuple with the Installable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetInstallableOk() (*bool, bool) { + if o == nil || isNil(o.Installable) { + return nil, false + } + return o.Installable, true +} + +// HasInstallable returns a boolean if a field has been set. +func (o *UpdateResource) HasInstallable() bool { + if o != nil && !isNil(o.Installable) { + return true + } + + return false +} + +// SetInstallable gets a reference to the given bool and assigns it to the Installable field. +func (o *UpdateResource) SetInstallable(v bool) { + o.Installable = &v +} + +// GetLatest returns the Latest field value if set, zero value otherwise. +func (o *UpdateResource) GetLatest() bool { + if o == nil || isNil(o.Latest) { + var ret bool + return ret + } + return *o.Latest +} + +// GetLatestOk returns a tuple with the Latest field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetLatestOk() (*bool, bool) { + if o == nil || isNil(o.Latest) { + return nil, false + } + return o.Latest, true +} + +// HasLatest returns a boolean if a field has been set. +func (o *UpdateResource) HasLatest() bool { + if o != nil && !isNil(o.Latest) { + return true + } + + return false +} + +// SetLatest gets a reference to the given bool and assigns it to the Latest field. +func (o *UpdateResource) SetLatest(v bool) { + o.Latest = &v +} + +// GetChanges returns the Changes field value if set, zero value otherwise. +func (o *UpdateResource) GetChanges() UpdateChanges { + if o == nil || isNil(o.Changes) { + var ret UpdateChanges + return ret + } + return *o.Changes +} + +// GetChangesOk returns a tuple with the Changes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UpdateResource) GetChangesOk() (*UpdateChanges, bool) { + if o == nil || isNil(o.Changes) { + return nil, false + } + return o.Changes, true +} + +// HasChanges returns a boolean if a field has been set. +func (o *UpdateResource) HasChanges() bool { + if o != nil && !isNil(o.Changes) { + return true + } + + return false +} + +// SetChanges gets a reference to the given UpdateChanges and assigns it to the Changes field. +func (o *UpdateResource) SetChanges(v UpdateChanges) { + o.Changes = &v +} + +// GetHash returns the Hash field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UpdateResource) GetHash() string { + if o == nil || isNil(o.Hash.Get()) { + var ret string + return ret + } + return *o.Hash.Get() +} + +// GetHashOk returns a tuple with the Hash field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UpdateResource) GetHashOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Hash.Get(), o.Hash.IsSet() +} + +// HasHash returns a boolean if a field has been set. +func (o *UpdateResource) HasHash() bool { + if o != nil && o.Hash.IsSet() { + return true + } + + return false +} + +// SetHash gets a reference to the given NullableString and assigns it to the Hash field. +func (o *UpdateResource) SetHash(v string) { + o.Hash.Set(&v) +} +// SetHashNil sets the value for Hash to be an explicit nil +func (o *UpdateResource) SetHashNil() { + o.Hash.Set(nil) +} + +// UnsetHash ensures that no value is present for Hash, not even an explicit nil +func (o *UpdateResource) UnsetHash() { + o.Hash.Unset() +} + +func (o UpdateResource) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Id) { + toSerialize["id"] = o.Id + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if o.Branch.IsSet() { + toSerialize["branch"] = o.Branch.Get() + } + if !isNil(o.ReleaseDate) { + toSerialize["releaseDate"] = o.ReleaseDate + } + if o.FileName.IsSet() { + toSerialize["fileName"] = o.FileName.Get() + } + if o.Url.IsSet() { + toSerialize["url"] = o.Url.Get() + } + if !isNil(o.Installed) { + toSerialize["installed"] = o.Installed + } + if o.InstalledOn.IsSet() { + toSerialize["installedOn"] = o.InstalledOn.Get() + } + if !isNil(o.Installable) { + toSerialize["installable"] = o.Installable + } + if !isNil(o.Latest) { + toSerialize["latest"] = o.Latest + } + if !isNil(o.Changes) { + toSerialize["changes"] = o.Changes + } + if o.Hash.IsSet() { + toSerialize["hash"] = o.Hash.Get() + } + return json.Marshal(toSerialize) +} + +type NullableUpdateResource struct { + value *UpdateResource + isSet bool +} + +func (v NullableUpdateResource) Get() *UpdateResource { + return v.value +} + +func (v *NullableUpdateResource) Set(val *UpdateResource) { + v.value = val + v.isSet = true +} + +func (v NullableUpdateResource) IsSet() bool { + return v.isSet +} + +func (v *NullableUpdateResource) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUpdateResource(val *UpdateResource) *NullableUpdateResource { + return &NullableUpdateResource{value: val, isSet: true} +} + +func (v NullableUpdateResource) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUpdateResource) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_version.go b/lidarr/model_version.go new file mode 100644 index 0000000..fd12646 --- /dev/null +++ b/lidarr/model_version.go @@ -0,0 +1,295 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" +) + +// Version struct for Version +type Version struct { + Major *int32 `json:"major,omitempty"` + Minor *int32 `json:"minor,omitempty"` + Build *int32 `json:"build,omitempty"` + Revision *int32 `json:"revision,omitempty"` + MajorRevision *int32 `json:"majorRevision,omitempty"` + MinorRevision *int32 `json:"minorRevision,omitempty"` +} + +// NewVersion instantiates a new Version object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewVersion() *Version { + this := Version{} + return &this +} + +// NewVersionWithDefaults instantiates a new Version object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVersionWithDefaults() *Version { + this := Version{} + return &this +} + +// GetMajor returns the Major field value if set, zero value otherwise. +func (o *Version) GetMajor() int32 { + if o == nil || isNil(o.Major) { + var ret int32 + return ret + } + return *o.Major +} + +// GetMajorOk returns a tuple with the Major field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetMajorOk() (*int32, bool) { + if o == nil || isNil(o.Major) { + return nil, false + } + return o.Major, true +} + +// HasMajor returns a boolean if a field has been set. +func (o *Version) HasMajor() bool { + if o != nil && !isNil(o.Major) { + return true + } + + return false +} + +// SetMajor gets a reference to the given int32 and assigns it to the Major field. +func (o *Version) SetMajor(v int32) { + o.Major = &v +} + +// GetMinor returns the Minor field value if set, zero value otherwise. +func (o *Version) GetMinor() int32 { + if o == nil || isNil(o.Minor) { + var ret int32 + return ret + } + return *o.Minor +} + +// GetMinorOk returns a tuple with the Minor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetMinorOk() (*int32, bool) { + if o == nil || isNil(o.Minor) { + return nil, false + } + return o.Minor, true +} + +// HasMinor returns a boolean if a field has been set. +func (o *Version) HasMinor() bool { + if o != nil && !isNil(o.Minor) { + return true + } + + return false +} + +// SetMinor gets a reference to the given int32 and assigns it to the Minor field. +func (o *Version) SetMinor(v int32) { + o.Minor = &v +} + +// GetBuild returns the Build field value if set, zero value otherwise. +func (o *Version) GetBuild() int32 { + if o == nil || isNil(o.Build) { + var ret int32 + return ret + } + return *o.Build +} + +// GetBuildOk returns a tuple with the Build field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetBuildOk() (*int32, bool) { + if o == nil || isNil(o.Build) { + return nil, false + } + return o.Build, true +} + +// HasBuild returns a boolean if a field has been set. +func (o *Version) HasBuild() bool { + if o != nil && !isNil(o.Build) { + return true + } + + return false +} + +// SetBuild gets a reference to the given int32 and assigns it to the Build field. +func (o *Version) SetBuild(v int32) { + o.Build = &v +} + +// GetRevision returns the Revision field value if set, zero value otherwise. +func (o *Version) GetRevision() int32 { + if o == nil || isNil(o.Revision) { + var ret int32 + return ret + } + return *o.Revision +} + +// GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetRevisionOk() (*int32, bool) { + if o == nil || isNil(o.Revision) { + return nil, false + } + return o.Revision, true +} + +// HasRevision returns a boolean if a field has been set. +func (o *Version) HasRevision() bool { + if o != nil && !isNil(o.Revision) { + return true + } + + return false +} + +// SetRevision gets a reference to the given int32 and assigns it to the Revision field. +func (o *Version) SetRevision(v int32) { + o.Revision = &v +} + +// GetMajorRevision returns the MajorRevision field value if set, zero value otherwise. +func (o *Version) GetMajorRevision() int32 { + if o == nil || isNil(o.MajorRevision) { + var ret int32 + return ret + } + return *o.MajorRevision +} + +// GetMajorRevisionOk returns a tuple with the MajorRevision field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetMajorRevisionOk() (*int32, bool) { + if o == nil || isNil(o.MajorRevision) { + return nil, false + } + return o.MajorRevision, true +} + +// HasMajorRevision returns a boolean if a field has been set. +func (o *Version) HasMajorRevision() bool { + if o != nil && !isNil(o.MajorRevision) { + return true + } + + return false +} + +// SetMajorRevision gets a reference to the given int32 and assigns it to the MajorRevision field. +func (o *Version) SetMajorRevision(v int32) { + o.MajorRevision = &v +} + +// GetMinorRevision returns the MinorRevision field value if set, zero value otherwise. +func (o *Version) GetMinorRevision() int32 { + if o == nil || isNil(o.MinorRevision) { + var ret int32 + return ret + } + return *o.MinorRevision +} + +// GetMinorRevisionOk returns a tuple with the MinorRevision field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Version) GetMinorRevisionOk() (*int32, bool) { + if o == nil || isNil(o.MinorRevision) { + return nil, false + } + return o.MinorRevision, true +} + +// HasMinorRevision returns a boolean if a field has been set. +func (o *Version) HasMinorRevision() bool { + if o != nil && !isNil(o.MinorRevision) { + return true + } + + return false +} + +// SetMinorRevision gets a reference to the given int32 and assigns it to the MinorRevision field. +func (o *Version) SetMinorRevision(v int32) { + o.MinorRevision = &v +} + +func (o Version) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Major) { + toSerialize["major"] = o.Major + } + if !isNil(o.Minor) { + toSerialize["minor"] = o.Minor + } + if !isNil(o.Build) { + toSerialize["build"] = o.Build + } + if !isNil(o.Revision) { + toSerialize["revision"] = o.Revision + } + if !isNil(o.MajorRevision) { + toSerialize["majorRevision"] = o.MajorRevision + } + if !isNil(o.MinorRevision) { + toSerialize["minorRevision"] = o.MinorRevision + } + return json.Marshal(toSerialize) +} + +type NullableVersion struct { + value *Version + isSet bool +} + +func (v NullableVersion) Get() *Version { + return v.value +} + +func (v *NullableVersion) Set(val *Version) { + v.value = val + v.isSet = true +} + +func (v NullableVersion) IsSet() bool { + return v.isSet +} + +func (v *NullableVersion) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVersion(val *Version) *NullableVersion { + return &NullableVersion{value: val, isSet: true} +} + +func (v NullableVersion) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVersion) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/lidarr/model_write_audio_tags_type.go b/lidarr/model_write_audio_tags_type.go new file mode 100644 index 0000000..c13d3ef --- /dev/null +++ b/lidarr/model_write_audio_tags_type.go @@ -0,0 +1,115 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "fmt" +) + +// WriteAudioTagsType the model 'WriteAudioTagsType' +type WriteAudioTagsType string + +// List of WriteAudioTagsType +const ( + WRITEAUDIOTAGSTYPE_NO WriteAudioTagsType = "no" + WRITEAUDIOTAGSTYPE_NEW_FILES WriteAudioTagsType = "newFiles" + WRITEAUDIOTAGSTYPE_ALL_FILES WriteAudioTagsType = "allFiles" + WRITEAUDIOTAGSTYPE_SYNC WriteAudioTagsType = "sync" +) + +// All allowed values of WriteAudioTagsType enum +var AllowedWriteAudioTagsTypeEnumValues = []WriteAudioTagsType{ + "no", + "newFiles", + "allFiles", + "sync", +} + +func (v *WriteAudioTagsType) UnmarshalJSON(src []byte) error { + var value string + err := json.Unmarshal(src, &value) + if err != nil { + return err + } + enumTypeValue := WriteAudioTagsType(value) + for _, existing := range AllowedWriteAudioTagsTypeEnumValues { + if existing == enumTypeValue { + *v = enumTypeValue + return nil + } + } + + return fmt.Errorf("%+v is not a valid WriteAudioTagsType", value) +} + +// NewWriteAudioTagsTypeFromValue returns a pointer to a valid WriteAudioTagsType +// for the value passed as argument, or an error if the value passed is not allowed by the enum +func NewWriteAudioTagsTypeFromValue(v string) (*WriteAudioTagsType, error) { + ev := WriteAudioTagsType(v) + if ev.IsValid() { + return &ev, nil + } else { + return nil, fmt.Errorf("invalid value '%v' for WriteAudioTagsType: valid values are %v", v, AllowedWriteAudioTagsTypeEnumValues) + } +} + +// IsValid return true if the value is valid for the enum, false otherwise +func (v WriteAudioTagsType) IsValid() bool { + for _, existing := range AllowedWriteAudioTagsTypeEnumValues { + if existing == v { + return true + } + } + return false +} + +// Ptr returns reference to WriteAudioTagsType value +func (v WriteAudioTagsType) Ptr() *WriteAudioTagsType { + return &v +} + +type NullableWriteAudioTagsType struct { + value *WriteAudioTagsType + isSet bool +} + +func (v NullableWriteAudioTagsType) Get() *WriteAudioTagsType { + return v.value +} + +func (v *NullableWriteAudioTagsType) Set(val *WriteAudioTagsType) { + v.value = val + v.isSet = true +} + +func (v NullableWriteAudioTagsType) IsSet() bool { + return v.isSet +} + +func (v *NullableWriteAudioTagsType) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWriteAudioTagsType(val *WriteAudioTagsType) *NullableWriteAudioTagsType { + return &NullableWriteAudioTagsType{value: val, isSet: true} +} + +func (v NullableWriteAudioTagsType) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWriteAudioTagsType) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + diff --git a/lidarr/response.go b/lidarr/response.go new file mode 100644 index 0000000..fd9e6ba --- /dev/null +++ b/lidarr/response.go @@ -0,0 +1,47 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "net/http" +) + +// APIResponse stores the API response returned by the server. +type APIResponse struct { + *http.Response `json:"-"` + Message string `json:"message,omitempty"` + // Operation is the name of the OpenAPI operation. + Operation string `json:"operation,omitempty"` + // RequestURL is the request URL. This value is always available, even if the + // embedded *http.Response is nil. + RequestURL string `json:"url,omitempty"` + // Method is the HTTP method used for the request. This value is always + // available, even if the embedded *http.Response is nil. + Method string `json:"method,omitempty"` + // Payload holds the contents of the response body (which may be nil or empty). + // This is provided here as the raw response.Body() reader will have already + // been drained. + Payload []byte `json:"-"` +} + +// NewAPIResponse returns a new APIResponse object. +func NewAPIResponse(r *http.Response) *APIResponse { + + response := &APIResponse{Response: r} + return response +} + +// NewAPIResponseWithError returns a new APIResponse object with the provided error message. +func NewAPIResponseWithError(errorMessage string) *APIResponse { + + response := &APIResponse{Message: errorMessage} + return response +} diff --git a/lidarr/utils.go b/lidarr/utils.go new file mode 100644 index 0000000..9ff68d0 --- /dev/null +++ b/lidarr/utils.go @@ -0,0 +1,343 @@ +/* +Lidarr + +Lidarr API docs + +API version: 1.0.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package lidarr + +import ( + "encoding/json" + "reflect" + "time" +) + +// PtrBool is a helper routine that returns a pointer to given boolean value. +func PtrBool(v bool) *bool { return &v } + +// PtrInt is a helper routine that returns a pointer to given integer value. +func PtrInt(v int) *int { return &v } + +// PtrInt32 is a helper routine that returns a pointer to given integer value. +func PtrInt32(v int32) *int32 { return &v } + +// PtrInt64 is a helper routine that returns a pointer to given integer value. +func PtrInt64(v int64) *int64 { return &v } + +// PtrFloat32 is a helper routine that returns a pointer to given float value. +func PtrFloat32(v float32) *float32 { return &v } + +// PtrFloat64 is a helper routine that returns a pointer to given float value. +func PtrFloat64(v float64) *float64 { return &v } + +// PtrString is a helper routine that returns a pointer to given string value. +func PtrString(v string) *string { return &v } + +// PtrTime is helper routine that returns a pointer to given Time value. +func PtrTime(v time.Time) *time.Time { return &v } + +type NullableBool struct { + value *bool + isSet bool +} + +func (v NullableBool) Get() *bool { + return v.value +} + +func (v *NullableBool) Set(val *bool) { + v.value = val + v.isSet = true +} + +func (v NullableBool) IsSet() bool { + return v.isSet +} + +func (v *NullableBool) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableBool(val *bool) *NullableBool { + return &NullableBool{value: val, isSet: true} +} + +func (v NullableBool) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableBool) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt struct { + value *int + isSet bool +} + +func (v NullableInt) Get() *int { + return v.value +} + +func (v *NullableInt) Set(val *int) { + v.value = val + v.isSet = true +} + +func (v NullableInt) IsSet() bool { + return v.isSet +} + +func (v *NullableInt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt(val *int) *NullableInt { + return &NullableInt{value: val, isSet: true} +} + +func (v NullableInt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt32 struct { + value *int32 + isSet bool +} + +func (v NullableInt32) Get() *int32 { + return v.value +} + +func (v *NullableInt32) Set(val *int32) { + v.value = val + v.isSet = true +} + +func (v NullableInt32) IsSet() bool { + return v.isSet +} + +func (v *NullableInt32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt32(val *int32) *NullableInt32 { + return &NullableInt32{value: val, isSet: true} +} + +func (v NullableInt32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableInt64 struct { + value *int64 + isSet bool +} + +func (v NullableInt64) Get() *int64 { + return v.value +} + +func (v *NullableInt64) Set(val *int64) { + v.value = val + v.isSet = true +} + +func (v NullableInt64) IsSet() bool { + return v.isSet +} + +func (v *NullableInt64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableInt64(val *int64) *NullableInt64 { + return &NullableInt64{value: val, isSet: true} +} + +func (v NullableInt64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableInt64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat32 struct { + value *float32 + isSet bool +} + +func (v NullableFloat32) Get() *float32 { + return v.value +} + +func (v *NullableFloat32) Set(val *float32) { + v.value = val + v.isSet = true +} + +func (v NullableFloat32) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat32) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat32(val *float32) *NullableFloat32 { + return &NullableFloat32{value: val, isSet: true} +} + +func (v NullableFloat32) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat32) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableFloat64 struct { + value *float64 + isSet bool +} + +func (v NullableFloat64) Get() *float64 { + return v.value +} + +func (v *NullableFloat64) Set(val *float64) { + v.value = val + v.isSet = true +} + +func (v NullableFloat64) IsSet() bool { + return v.isSet +} + +func (v *NullableFloat64) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFloat64(val *float64) *NullableFloat64 { + return &NullableFloat64{value: val, isSet: true} +} + +func (v NullableFloat64) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFloat64) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableString struct { + value *string + isSet bool +} + +func (v NullableString) Get() *string { + return v.value +} + +func (v *NullableString) Set(val *string) { + v.value = val + v.isSet = true +} + +func (v NullableString) IsSet() bool { + return v.isSet +} + +func (v *NullableString) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableString(val *string) *NullableString { + return &NullableString{value: val, isSet: true} +} + +func (v NullableString) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableString) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +type NullableTime struct { + value *time.Time + isSet bool +} + +func (v NullableTime) Get() *time.Time { + return v.value +} + +func (v *NullableTime) Set(val *time.Time) { + v.value = val + v.isSet = true +} + +func (v NullableTime) IsSet() bool { + return v.isSet +} + +func (v *NullableTime) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTime(val *time.Time) *NullableTime { + return &NullableTime{value: val, isSet: true} +} + +func (v NullableTime) MarshalJSON() ([]byte, error) { + return v.value.MarshalJSON() +} + +func (v *NullableTime) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + +// isNil checks if an input is nil +func isNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} \ No newline at end of file